SPContentDatabase.CreateFromPreconfiguredDatabase method
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub CreateFromPreconfiguredDatabase ( _
connBuilder As SqlConnectionStringBuilder, _
strDatabaseName As String _
)
'Usage
Dim connBuilder As SqlConnectionStringBuilder
Dim strDatabaseName As StringSPContentDatabase.CreateFromPreconfiguredDatabase(connBuilder, _
strDatabaseName)
public static void CreateFromPreconfiguredDatabase(
SqlConnectionStringBuilder connBuilder,
string strDatabaseName
)
Parameters
- connBuilder
Type: System.Data.SqlClient.SqlConnectionStringBuilder
- strDatabaseName
Type: System.String