SPUsageDefinitionCollection Constructor
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)
Available in Sandboxed Solutions: No
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