Share via


AnalyticsJobBase.SuspendAnalysis method

Suspends the analysis, which must be in the running state.

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

Syntax

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

instance.SuspendAnalysis()
public virtual void SuspendAnalysis()

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