共用方式為


SPWebApplication.GetDeletedSites method (Guid)

取得與指定的網站集合識別碼 (ID) 的已刪除網站的清單。

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

Syntax

'宣告
Public Function GetDeletedSites ( _
    siteId As Guid _
) As SPDeletedSiteCollection
'用途
Dim instance As SPWebApplication
Dim siteId As Guid
Dim returnValue As SPDeletedSiteCollection

returnValue = instance.GetDeletedSites(siteId)
public SPDeletedSiteCollection GetDeletedSites(
    Guid siteId
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SPDeletedSiteCollection
已刪除的網站清單。

備註

此方法與siteId參數所指定的網站集合識別碼取得已刪除的網站清單。

請參閱

參照

SPWebApplication class

SPWebApplication members

GetDeletedSites overload

Microsoft.SharePoint.Administration namespace