SPDatabase.Provision 方法 (SqlConnectionStringBuilder, TextReader, Dictionary<SPDatabase.DatabaseOptions, Boolean>)
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.Data.SqlClient.SqlConnectionStringBuilder
- provisioningScriptStream
类型:System.IO.TextReader