共用方式為


SPTenantAdmin.SetTenantPreviewFeaturesEnabled method

將房客預覽模式屬性的設定。

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

Syntax

'宣告
Public Shared Sub SetTenantPreviewFeaturesEnabled ( _
    siteSubscription As SPSiteSubscription, _
    previewMode As Boolean _
)
'用途
Dim siteSubscription As SPSiteSubscription
Dim previewMode As BooleanSPTenantAdmin.SetTenantPreviewFeaturesEnabled(siteSubscription, _
    previewMode)
public static void SetTenantPreviewFeaturesEnabled(
    SPSiteSubscription siteSubscription,
    bool previewMode
)

參數

  • previewMode
    Type: System.Boolean

    若要設定的房客的預覽模式。

請參閱

參照

SPTenantAdmin class

SPTenantAdmin members

Microsoft.SharePoint namespace