SPUsageDefinition 构造函数 (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.
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Protected Sub New ( _
farm As SPFarm _
)
用法
Dim farm As SPFarm
Dim instance As New SPUsageDefinition(farm)
protected SPUsageDefinition(
SPFarm farm
)
参数
farm
类型:Microsoft.SharePoint.Administration.SPFarmThe SPFarm object that represents the global settings on a server farm.