SPWebApplication.GetDeletedSites method
取得已刪除的網站使用預設查詢的清單。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetDeletedSites As SPDeletedSiteCollection
'用途
Dim instance As SPWebApplication
Dim returnValue As SPDeletedSiteCollection
returnValue = instance.GetDeletedSites()
public SPDeletedSiteCollection GetDeletedSites()
傳回值
Type: Microsoft.SharePoint.Administration.SPDeletedSiteCollection
已刪除的網站清單。
備註
此方法會取得已刪除的網站使用SPDeletedSiteQuery物件與屬性預設值的清單。