SPDatabase.Provision method (SqlConnectionStringBuilder, String, Dictionary<SPDatabase.DatabaseOptions, Boolean>)
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Shared Sub Provision ( _
connectionString As SqlConnectionStringBuilder, _
provisioningScriptPath As String, _
options As Dictionary(Of SPDatabase.DatabaseOptions, Boolean) _
)
'用途
Dim connectionString As SqlConnectionStringBuilder
Dim provisioningScriptPath As String
Dim options As Dictionary(Of SPDatabase.DatabaseOptions, Boolean)
SPDatabase.Provision(connectionString, _
provisioningScriptPath, options)
protected static void Provision(
SqlConnectionStringBuilder connectionString,
string provisioningScriptPath,
Dictionary<SPDatabase.DatabaseOptions, bool> options
)
參數
- connectionString
Type: System.Data.SqlClient.SqlConnectionStringBuilder
- provisioningScriptPath
Type: System.String
- options
Type: System.Collections.Generic.Dictionary<SPDatabase.DatabaseOptions, Boolean>