次の方法で共有


SPSiteAdministration.CreatePreviewSPSite method

Queues a request to create a preview site if there are none existing for the given site Throws InvalidOperationException if there is an request already or if there is an existing preview site for the given site

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

Syntax

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

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

Parameters

See also

Reference

SPSiteAdministration class

SPSiteAdministration members

Microsoft.SharePoint.Administration namespace