共用方式為


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

See Also

Reference

SPDiagnosticsProvider Class

SPDiagnosticsProvider Members

Microsoft.SharePoint.Diagnostics Namespace