Gets the name of the database.

Namespace: SchemaExplorer
Assembly: SchemaExplorer (in SchemaExplorer.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
string GetDatabaseName(
	string connectionString
)
Visual Basic
Function GetDatabaseName ( 
	connectionString As String
) As String

Parameters

connectionString
Type: System..::..String
The connection string used to connect to the target database.

Return Value

Type: String
The name of the database

See Also