共用方式為


SPContentDatabaseCollection.Add Method

Include Protected Members
Include Inherited Members

Adds a content database to the collection of content databases that are used by the parent Web application.

Overload List

  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)

Top

See Also

Reference

SPContentDatabaseCollection Class

SPContentDatabaseCollection Members

Microsoft.SharePoint.Administration Namespace