Partager via


Site.RunUpgradeSiteSession - Méthode

Either runs a site collection upgrade, or schedules it to be run in the future, depending on available system resources and the value of the queueOnly parameter.The user executing this method MUST be a farm administrator or a site collection administrator.

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 RunUpgradeSiteSession ( _
    versionUpgrade As Boolean, _
    queueOnly As Boolean, _
    sendEmail As Boolean _
)
'Utilisation
Dim instance As Site
Dim versionUpgrade As Boolean
Dim queueOnly As Boolean
Dim sendEmail As Boolean

instance.RunUpgradeSiteSession(versionUpgrade, _
    queueOnly, sendEmail)
public void RunUpgradeSiteSession(
    bool versionUpgrade,
    bool queueOnly,
    bool sendEmail
)

Paramètres

  • versionUpgrade
    Type : System.Boolean

    If true, specifies that a version-to-version upgrade will be performed. If false, specifies that a build-to-build upgrade will be performed.

  • queueOnly
    Type : System.Boolean

    If true, specifies that the upgrade will not be run immediately; it will be queued for a later run.

  • sendEmail
    Type : System.Boolean

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

Voir aussi

Référence

Site classe

Site - Membres

Microsoft.SharePoint.Client - Espace de noms