Share via


SPUsageProvider constructor (SPFarm)

Initializes a new instance of the [Microsoft.SharePoint.Administration.SPUsageProvider] class within the specified SharePoint farm.

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

Syntax

'Declaration
Protected Sub New ( _
    farm As SPFarm _
)
'Usage
Dim farm As SPFarm

Dim instance As New SPUsageProvider(farm)
protected SPUsageProvider(
    SPFarm farm
)

Parameters

See also

Reference

SPUsageProvider class

SPUsageProvider members

SPUsageProvider overload

Microsoft.SharePoint.Administration namespace