共用方式為


SPTenantAdmin.GetAdminCompatibilityRange method

傳回 tenancy 適用管理相容性範圍。此方法需要伺服陣列管理存取權。

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

Syntax

'宣告
Public Shared Function GetAdminCompatibilityRange ( _
    webapp As SPWebApplication, _
    siteSubscription As SPSiteSubscription _
) As SPCompatibilityRange
'用途
Dim webapp As SPWebApplication
Dim siteSubscription As SPSiteSubscription
Dim returnValue As SPCompatibilityRange

returnValue = SPTenantAdmin.GetAdminCompatibilityRange(webapp, _
    siteSubscription)
public static SPCompatibilityRange GetAdminCompatibilityRange(
    SPWebApplication webapp,
    SPSiteSubscription siteSubscription
)

參數

傳回值

Type: Microsoft.SharePoint.SPCompatibilityRange
管理相容性的範圍。如果未設定管理相容性範圍,這個方法傳回的 web 應用程式相容性範圍改為 (不會傳回a null reference (Nothing in Visual Basic))。

請參閱

參照

SPTenantAdmin class

SPTenantAdmin members

Microsoft.SharePoint namespace