Delen via


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

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

ConnectionStringUtility Class

Microsoft.VisualStudio.Services.Common Namespace