Share via


SPDiagnosticsProvider.DisableProvider<TProvider> method

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

See also

Reference

SPDiagnosticsProvider class

SPDiagnosticsProvider members

Microsoft.SharePoint.Diagnostics namespace