Web API Core | ComponentOne
C1.Web.Api.DataEngine.Data Namespace / FlexPivotEngineProviderManager Class / DisposeWorkspace Method
The path of the workspace to be disposed.

In This Topic
    DisposeWorkspace Method
    In This Topic
    Disposes the specified workspace and cancel all related tasks.
    Syntax
    'Declaration
     
    
    Public Sub DisposeWorkspace( _
       Optional ByVal path As String _
    ) 
    public void DisposeWorkspace( 
       string path
    )

    Parameters

    path
    The path of the workspace to be disposed.
    Remarks
    It only works when analyzing a DataEngine data. If the path is not set, the default workspace will be disposed. Please be careful and ensure you DO want to dispose the workspace when you will call this method. It will cancel all running tasks (if any exists) with the specified workspace and remove locks from files. So after calling this method, you will be able to delete them.
    See Also