共用方式為


SPContentDatabaseCollection members

Include protected members
Include inherited members

參照至單一 Web 應用程式所使用的內容資料庫的集合。

The SPContentDatabaseCollection type exposes the following members.

Constructors

  Name Description
Public method SPContentDatabaseCollection() 保留僅供內部使用。
Public method SPContentDatabaseCollection(SPVirtualServer) 初始化SPContentDatabaseCollection類別的新執行個體。

Top

Properties

  Name Description
Public property Count 取得集合中的內容資料庫數目。 (Overrides SPBaseCollection.Count.)
Public property Item[Guid] 取得集合中的內容資料庫物件與指定的 GUID。
Public property Item[Int32] 取得集合中的指定索引處的內容資料庫物件。
Public property UpgradedPersistedProperties 取得已刪除或變更的欄位的欄位名稱和值集合。 (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Add(SPContentDatabase) 將內容資料庫新增至集合的上層 Web 應用程式所使用的資料庫。
Public method Add(String, String, String, String, Int32, Int32, Int32) 將內容資料庫新增至內容資料庫的上層 Web 應用程式所使用,並根據指定的資料庫設定的集合。
Public method Add(String, String, String, String, Int32, Int32, Int32, Boolean) 將內容資料庫新增至父根據指定的資料庫設定的 Web 應用程式所使用的內容資料庫的集合。
Public method Add(String, String, String, String, Int32, Int32, Int32, Boolean, Boolean) 將內容資料庫新增至父根據指定的資料庫設定的 Web 應用程式所使用的內容資料庫的集合。
Public method Delete 會刪除指定的 GUID 的內容資料庫。
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator 會傳回集合中逐一查看的列舉值。
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData 取得序列的物件的狀態。 (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization 物件已經從檔案系統快取或資料庫還原序列化之後呼叫。 (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent 會包含SPPersistedObject,若有的話,來更新其狀態。 (Inherited from SPAutoSerializingObject.)

Top

請參閱

參照

SPContentDatabaseCollection class

Microsoft.SharePoint.Administration namespace