Share via


Deployment.OnBuildConnectionString Method

Returns a partial connection string.

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

Syntax

'Declaration
Protected Overridable 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 virtual string OnBuildConnectionString(
    string partialConnectionString,
    string databaseName
)
protected:
virtual String^ OnBuildConnectionString(
    String^ partialConnectionString, 
    String^ databaseName
)
protected 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

Deployment Class

Deployment Members

Microsoft.Data.Schema.Build Namespace