UsageAnalyticsJobDefinition.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 Sub ClearAnalysis
'Usage
Dim instance As UsageAnalyticsJobDefinition

instance.ClearAnalysis()
public 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

UsageAnalyticsJobDefinition class

UsageAnalyticsJobDefinition members

Microsoft.Office.Server.Search.Analytics namespace