SPDatabase.GenerateConnectionStringForProvisioning method
NOTE: This API is now obsolete.
建立使用連線字串中佈建根據指定的連線字串。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Reserved for internal use only.")> _
Public Shared Function GenerateConnectionStringForProvisioning ( _
connectionString As SqlConnectionStringBuilder _
) As SqlConnectionStringBuilder
'用途
Dim connectionString As SqlConnectionStringBuilder
Dim returnValue As SqlConnectionStringBuilder
returnValue = SPDatabase.GenerateConnectionStringForProvisioning(connectionString)
[ObsoleteAttribute("Reserved for internal use only.")]
public static SqlConnectionStringBuilder GenerateConnectionStringForProvisioning(
SqlConnectionStringBuilder connectionString
)
參數
connectionString
Type: System.Data.SqlClient.SqlConnectionStringBuilderSqlConnectionStringBuilder物件,代表原始的連線字串。
傳回值
Type: System.Data.SqlClient.SqlConnectionStringBuilder
SqlConnectionStringBuilder 物件,代表新的連接字串。