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.
Enable diagnostic provider according to its type
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub EnableProvider(Of TProvider As SPDiagnosticsProvider) ( _
farm As SPFarm _
)
'Usage
Dim farm As SPFarmSPDiagnosticsProvider.EnableProvider(farm)
public static void EnableProvider<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