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