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
siteSubscription
Type: Microsoft.SharePoint.SPSiteSubscriptionThe tenant’s site subscription.
previewMode
Type: System.BooleanThe tenant’s preview mode to be set.