SPDiagnosticsProvider.DisableAll method
Ensures that the default set of providers exists and enables all providers contained in the farm.
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub DisableAll ( _
farm As SPFarm _
)
'Usage
Dim farm As SPFarmSPDiagnosticsProvider.DisableAll(farm)
public static void DisableAll(
SPFarm farm
)
Parameters
farm
Type: Microsoft.SharePoint.Administration.SPFarmSpecifies the farm containing the diagnostics providers.