次の方法で共有


Site.RunUpgradeSiteSession メソッド

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.

名前空間:  Microsoft.SharePoint.Client
アセンブリ:   Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内);  Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内)  Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)

構文

'宣言
Public Sub RunUpgradeSiteSession ( _
    versionUpgrade As Boolean, _
    queueOnly As Boolean, _
    sendEmail As Boolean _
)
'使用
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
)

パラメーター

  • versionUpgrade
    型: 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
    型: System.Boolean

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

  • sendEmail
    型: 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.

関連項目

参照先

Site クラス

Site メンバー

Microsoft.SharePoint.Client 名前空間