SPContentDatabaseCollection Methods

Include Protected Members
Include Inherited Members

The SPContentDatabaseCollection type exposes the following members.

Methods

  Name Description
Public method Add(SPContentDatabase) Adds a content database to the collection of databases that are used by the parent Web application.
Public method 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.
Public method Add(String, String, String, String, Int32, Int32, Int32, Boolean)
Public method Add(String, String, String, String, Int32, Int32, Int32, Boolean, Boolean)
Public method Delete Deletes the content database with the specified GUID.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPContentDatabaseCollection Class

Microsoft.SharePoint.Administration Namespace