共用方式為


ISPSiteLookupProviderRecycleBin.RestoreSite method

此成員是保留給內部使用,而不是用來直接從您的程式碼使用

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

Syntax

'宣告
Function RestoreSite ( _
    siteId As Guid, _
    databaseId As Guid _
) As Boolean
'用途
Dim instance As ISPSiteLookupProviderRecycleBin
Dim siteId As Guid
Dim databaseId As Guid
Dim returnValue As Boolean

returnValue = instance.RestoreSite(siteId, _
    databaseId)
bool RestoreSite(
    Guid siteId,
    Guid databaseId
)

參數

傳回值

Type: System.Boolean

請參閱

參照

ISPSiteLookupProviderRecycleBin interface

ISPSiteLookupProviderRecycleBin members

Microsoft.SharePoint.Administration namespace