SPDatabase.Provision Method

Include Protected Members
Include Inherited Members

Creates a Microsoft SQL Server database with a user schema, creating the schema if necessary.

Overload List

  Name Description
Public method Provision() Makes the changes to the local server that are needed before the object can be used. (Inherited from SPPersistedObject.)
Protected methodStatic member Provision(SqlConnectionStringBuilder, TextReader, Dictionary<String, Boolean>) Creates a Microsoft SQL Server database with a user schema, creating the schema if it is necessary
Protected methodStatic member Provision(SqlConnectionStringBuilder, String, Dictionary<String, Boolean>) Prepares a Microsoft SQL Server database for use with Microsoft SharePoint Foundation. If the database does not exist it will be created. If the database exists prior to calling the method, it will be provisioned with the SharePoint schema.
Protected methodStatic member Provision(String, String, Dictionary<String, Boolean>) Creates a Microsoft SQL Server database with a user schema, creating the schema if necessary.

Top

See Also

Reference

SPDatabase Class

SPDatabase Members

Microsoft.SharePoint.Administration Namespace