Compartilhar via


SPDiagnosticsProvider.EnableProvider<TProvider> Method

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

Parameters

See Also

Reference

SPDiagnosticsProvider Class

SPDiagnosticsProvider Members

Microsoft.SharePoint.Diagnostics Namespace