ConnectionStringUtility.ReplaceInitialCatalog Method
Namespace: Microsoft.VisualStudio.Services.Common
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Public Shared Function ReplaceInitialCatalog ( _
connectionString As String, _
databaseName As String _
) As String
public static string ReplaceInitialCatalog(
string connectionString,
string databaseName
)
public:
static String^ ReplaceInitialCatalog(
String^ connectionString,
String^ databaseName
)
static member ReplaceInitialCatalog :
connectionString:string *
databaseName:string -> string
public static function ReplaceInitialCatalog(
connectionString : String,
databaseName : String
) : String
Parameters
- connectionString
Type: System.String
- databaseName
Type: System.String
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.