Share via


Source.Deactivate method

Deactivates the result source.

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

Syntax

'Declaration
Public Sub Deactivate
'Usage
Dim instance As Source

instance.Deactivate()
public void Deactivate()

Exceptions

Exception Condition
UnauthorizedAccessException

If the current user does not have rights to the level source that is being committed to.

See also

Reference

Source class

Source members

Microsoft.Office.Server.Search.Administration.Query namespace