[]
        
(Showing Draft Content)

C1.Web.Api.DataEngine.Data.FlexPivotEngineProviderManager.DisposeWorkspace

DisposeWorkspace Method

DisposeWorkspace(string)

Disposes the specified workspace and cancel all related tasks.

Declaration
public void DisposeWorkspace(string path = null)
Parameters
Type Name Description
string 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.