共用方式為


SPDiagnosticsProvider.EnableAll Method

Enable all the providers in a specific farm.

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

Syntax

'Declaration
Public Shared Sub EnableAll ( _
    farm As SPFarm _
)
'Usage
Dim farm As SPFarmSPDiagnosticsProvider.EnableAll(farm)
public static void EnableAll(
    SPFarm farm
)

Parameters

See Also

Reference

SPDiagnosticsProvider Class

SPDiagnosticsProvider Members

Microsoft.SharePoint.Diagnostics Namespace