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