共用方式為


SPTenantAdmin.CheckAutoDisablePreviewFeatures method

檢查是否已設定AutoDisablePreviewFeatures屬性。

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

Syntax

'宣告
Public Shared Function CheckAutoDisablePreviewFeatures ( _
    siteSubscription As SPSiteSubscription _
) As Boolean
'用途
Dim siteSubscription As SPSiteSubscription
Dim returnValue As Boolean

returnValue = SPTenantAdmin.CheckAutoDisablePreviewFeatures(siteSubscription)
public static bool CheckAutoDisablePreviewFeatures(
    SPSiteSubscription siteSubscription
)

參數

傳回值

Type: System.Boolean
true如果屬性設定,否則false。

請參閱

參照

SPTenantAdmin class

SPTenantAdmin members

Microsoft.SharePoint namespace