Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Disable diagnostic provider according to its type
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
The type of the provider
Parameters
farm
Type: Microsoft.SharePoint.Administration.SPFarmthe farm in which providers should be enabled