SPTenantAdmin.SetTenantPreviewFeaturesEnabled method

Sets the tenant preview mode property.

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

Syntax

'Declaration
Public Shared Sub SetTenantPreviewFeaturesEnabled ( _
    siteSubscription As SPSiteSubscription, _
    previewMode As Boolean _
)
'Usage
Dim siteSubscription As SPSiteSubscription
Dim previewMode As BooleanSPTenantAdmin.SetTenantPreviewFeaturesEnabled(siteSubscription, _
    previewMode)
public static void SetTenantPreviewFeaturesEnabled(
    SPSiteSubscription siteSubscription,
    bool previewMode
)

Parameters

  • previewMode
    Type: System.Boolean

    The tenant’s preview mode to be set.

See also

Reference

SPTenantAdmin class

SPTenantAdmin members

Microsoft.SharePoint namespace