共用方式為


SPUsageDefinition constructor (SPFarm)

這個建構函式會初始化物件執行個體,以配合特定的SPFarm物件,包含伺服器、 服務和解決方案,安裝在伺服器陣列中的全域設定值。這個建構函式只能由SPFarm物件供使用,而且並未由任何其他物件。

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

Syntax

'宣告
Protected Sub New ( _
    farm As SPFarm _
)
'用途
Dim farm As SPFarm

Dim instance As New SPUsageDefinition(farm)
protected SPUsageDefinition(
    SPFarm farm
)

參數

請參閱

參照

SPUsageDefinition class

SPUsageDefinition members

SPUsageDefinition overload

Microsoft.SharePoint.Administration namespace