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