SPContentDatabaseCollection Members
Include Protected Members
Include Inherited Members
A collection of references to content databases that are used by a single Web application.
The SPContentDatabaseCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SPContentDatabaseCollection() | Reserved for internal use only. |
![]() |
SPContentDatabaseCollection(SPVirtualServer) | Initializes a new instance of the SPContentDatabaseCollection class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets the number of content databases in the collection. (Overrides SPBaseCollection.Count.) |
![]() |
Item[Guid] | Gets the content database object with the specified GUID in the collection. |
![]() |
Item[Int32] | Gets the content database object at the specified index in the collection. |
![]() |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add(SPContentDatabase) | Adds a content database to the collection of databases that are used by the parent Web application. |
![]() |
Add(String, String, String, String, Int32, Int32, Int32) | Adds a content database to the collection of content databases that are used by the parent Web application and are based on specified database settings. |
![]() |
Add(String, String, String, String, Int32, Int32, Int32, Boolean) | |
![]() |
Add(String, String, String, String, Int32, Int32, Int32, Boolean, Boolean) | |
![]() |
Delete | Deletes the content database with the specified GUID. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetEnumerator | Returns an enumerator that iterates through the collection. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetObjectData | Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetTypedEnumerator<T> | (Inherited from SPBaseCollection.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDeserialization | Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
ICollection.CopyTo | (Inherited from SPBaseCollection.) |
![]() ![]() |
ICollection.IsSynchronized | (Inherited from SPBaseCollection.) |
![]() ![]() |
ICollection.SyncRoot | (Inherited from SPBaseCollection.) |
Top