Condividi tramite


Site.CreatePreviewSPSite method

Creates a temporary evaluation Site object for this Site object, for the purposes of determining whether upgrade is likely to be successful.

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

Syntax

'Declaration
Public Sub CreatePreviewSPSite ( _
    upgrade As Boolean, _
    sendemail As Boolean _
)
'Usage
Dim instance As Site
Dim upgrade As Boolean
Dim sendemail As Boolean

instance.CreatePreviewSPSite(upgrade, _
    sendemail)
public void CreatePreviewSPSite(
    bool upgrade,
    bool sendemail
)

Parameters

  • upgrade
    Type: System.Boolean

    If true, the evaluation site collection must be upgraded when it is created. If false, the evaluation site collection must not be upgraded when it is created.

  • sendemail
    Type: System.Boolean

    If true, a notification email must be sent to the requestor and the site collection administrators at the completion of the creation of the evaluation site collection. If false, such notification must not be sent.

See also

Reference

Site class

Site members

Microsoft.SharePoint.Client namespace