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
farm
Type: Microsoft.SharePoint.Administration.SPFarmThe target SharePoint farm for the creation of the usage definition collection.
See also
Reference
SPUsageDefinitionCollection class
SPUsageDefinitionCollection members