SPDatabase.GenerateConnectionStringForProvisioning method
NOTE: This API is now obsolete.
Creates a connection string that is used in provisioning based on a specified connection string.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Reserved for internal use only.")> _
Public Shared Function GenerateConnectionStringForProvisioning ( _
connectionString As SqlConnectionStringBuilder _
) As SqlConnectionStringBuilder
'Usage
Dim connectionString As SqlConnectionStringBuilder
Dim returnValue As SqlConnectionStringBuilder
returnValue = SPDatabase.GenerateConnectionStringForProvisioning(connectionString)
[ObsoleteAttribute("Reserved for internal use only.")]
public static SqlConnectionStringBuilder GenerateConnectionStringForProvisioning(
SqlConnectionStringBuilder connectionString
)
Parameters
connectionString
Type: System.Data.SqlClient.SqlConnectionStringBuilderA SqlConnectionStringBuilder object that represents the original connection string.
Return value
Type: System.Data.SqlClient.SqlConnectionStringBuilder
A SqlConnectionStringBuilder object that represents the new connection string.