AnalyticsJobBase.StopAnalysis method
Stops the analysis, which must be in the running or paused state.
Namespace: Microsoft.Office.Server.Search.Analytics
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Overridable Sub StopAnalysis
'Usage
Dim instance As AnalyticsJobBase
instance.StopAnalysis()
public virtual void StopAnalysis()
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. |