Share via


SPDiagnosticsConditions.Enable method

Allows requests to match the conditions specified in this object.

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

Syntax

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

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

Return value

Type: System.Boolean
The previous enabled state.

See also

Reference

SPDiagnosticsConditions class

SPDiagnosticsConditions members

Microsoft.SharePoint.Administration namespace