Share via


SqlDeployment.OnBuildConnectionString Method

Used to configure a connection string.

Namespace:  Microsoft.Data.Schema.Sql.Build
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Protected Overrides Function OnBuildConnectionString ( _
    partialConnectionString As String, _
    databaseName As String _
) As String
'Usage
Dim partialConnectionString As String
Dim databaseName As String
Dim returnValue As String

returnValue = Me.OnBuildConnectionString(partialConnectionString, _
    databaseName)
protected override string OnBuildConnectionString(
    string partialConnectionString,
    string databaseName
)
protected:
virtual String^ OnBuildConnectionString(
    String^ partialConnectionString, 
    String^ databaseName
) override
protected override function OnBuildConnectionString(
    partialConnectionString : String, 
    databaseName : String
) : String
abstract OnBuildConnectionString : 
        partialConnectionString:string * 
        databaseName:string -> string 
override OnBuildConnectionString : 
        partialConnectionString:string * 
        databaseName:string -> string 

Parameters

  • partialConnectionString
    Type: System.String
    The partial connection string

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

SqlDeployment Class

SqlDeployment Members

Microsoft.Data.Schema.Sql.Build Namespace