Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPContentDatabase.CreateUnattachedContentDatabase Method

Creates a content database object without registering it in the configuration database of the farm.

  Name Description
Public method Static member CreateUnattachedContentDatabase(SqlConnectionStringBuilder) Creates a content database object, from the database with the specified connection string, without registering it in the configuration database of the farm.
Public method Static member CreateUnattachedContentDatabase(String, String, String, String) Creates a content database object, by using the specified connection information, without registering it in the configuration database of the farm.
Top

Typically, unattached content databases are used for data recovery scenarios and to get orphaned site collections and sites.

Show:
© 2015 Microsoft