SPTenantAdmin.SetPreferredCompatibilityRange method (SPSiteSubscription, SPCompatibilityRange)
設定慣用的相容性範圍適用的 tenancy。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Sub SetPreferredCompatibilityRange ( _
siteSubscription As SPSiteSubscription, _
compatibilityRange As SPCompatibilityRange _
)
'用途
Dim siteSubscription As SPSiteSubscription
Dim compatibilityRange As SPCompatibilityRangeSPTenantAdmin.SetPreferredCompatibilityRange(siteSubscription, _
compatibilityRange)
public static void SetPreferredCompatibilityRange(
SPSiteSubscription siteSubscription,
SPCompatibilityRange compatibilityRange
)
參數
siteSubscription
Type: Microsoft.SharePoint.SPSiteSubscription房客的站台訂閱。
compatibilityRange
Type: Microsoft.SharePoint.SPCompatibilityRange要設定的慣用的相容性範圍。
備註
只可以由伺服陣列管理員呼叫這個方法。