Site.CreatePreviewSPSite 方法

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

命名空间:  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 CreatePreviewSPSite ( _
    upgrade As Boolean, _
    sendemail As Boolean _
)
用法
Dim instance As Site
Dim upgrade As Boolean
Dim sendemail As Boolean

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

参数

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

另请参阅

引用

Site 类

Site 成员

Microsoft.SharePoint.Client 命名空间