共用方式為


SPDiagnosticsProvider.DisableProvider<TProvider> Method

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

Syntax

'Declaration
Public Shared Sub DisableProvider(Of TProvider As SPDiagnosticsProvider) ( _
    farm As SPFarm _
)
'Usage
Dim farm As SPFarmSPDiagnosticsProvider.DisableProvider(farm)
public static void DisableProvider<TProvider>(
    SPFarm farm
)
where TProvider : SPDiagnosticsProvider

Type Parameters

  • TProvider

Parameters

See Also

Reference

SPDiagnosticsProvider Class

SPDiagnosticsProvider Members

Microsoft.SharePoint.Diagnostics Namespace