Share via


AnalyticsJobBase.ClearAnalysis method

Clears the analysis cache, which must be in the stopped or failed state before its cache can be cleared.

Namespace:  Microsoft.Office.Server.Search.Analytics
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Overridable Sub ClearAnalysis
'Usage
Dim instance As AnalyticsJobBase

instance.ClearAnalysis()
public virtual void ClearAnalysis()

Exceptions

Exception Condition
InvalidOperationException

The exception that is thrown when an instance of SystemClient cannot be resolved, or if the analysis is in a state that does not allow this operation.

ServiceNotFoundException

The exception that is thrown when an instance of IAnalysisEngineAgent cannot be resolved.

See also

Reference

AnalyticsJobBase class

AnalyticsJobBase members

Microsoft.Office.Server.Search.Analytics namespace