Partager via


Site.CreatePreviewSPSite - Méthode

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

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Sub CreatePreviewSPSite ( _
    upgrade As Boolean, _
    sendemail As Boolean _
)
'Utilisation
Dim instance As Site
Dim upgrade As Boolean
Dim sendemail As Boolean

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

Paramètres

  • 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.

Voir aussi

Référence

Site classe

Site - Membres

Microsoft.SharePoint.Client - Espace de noms