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

Return value

Type: System.Data.SqlClient.SqlConnectionStringBuilder
A SqlConnectionStringBuilder object that represents the new connection string.

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace