共用方式為


SPSite.Exists method

Include protected members
Include inherited members

Overload list

  Name Description
Public methodStatic member Exists(Uri) Returns a Boolean value that indicates whether the specified site collection exists.
Public methodStatic member Exists(Uri, Boolean) 判斷具有指定之 uri 的網站是否存在。檢查設定 db 快取,此外,檢查內容資料庫,如果checkContentDb是,則為 true。

Top

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace