Share via


SPUsageDefinitionCollection constructor (SPFarm)

Initializes a new instance of the [Microsoft.SharePoint.Administration.SPUsageDefinitionCollection] class within the given SharePoint farm.

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

Syntax

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

Dim instance As New SPUsageDefinitionCollection(farm)
public SPUsageDefinitionCollection(
    SPFarm farm
)

Parameters

See also

Reference

SPUsageDefinitionCollection class

SPUsageDefinitionCollection members

SPUsageDefinitionCollection overload

Microsoft.SharePoint.Administration namespace