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
- databaseName
Type: System.String
The database name
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.