SPUsageDefinition constructor (SPFarm)
This constructor initializes the object instance to be used with a specific SPFarm object containing the global settings for the servers, services, and solutions that are installed in a server farm. This constructor is intended for use only by the SPFarm object and should not be used by any other object.
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 SPUsageDefinition(farm)
protected SPUsageDefinition(
SPFarm farm
)
Parameters
farm
Type: Microsoft.SharePoint.Administration.SPFarmThe SPFarm object that represents the global settings on a server farm.