Share via


SPDiagnosticsConditions.Disable method

Prevents requests from matching the conditions specified in this object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function Disable As Boolean
'Usage
Dim instance As SPDiagnosticsConditions
Dim returnValue As Boolean

returnValue = instance.Disable()
public bool Disable()

Return value

Type: System.Boolean
The previous enabled state.

See also

Reference

SPDiagnosticsConditions class

SPDiagnosticsConditions members

Microsoft.SharePoint.Administration namespace