Knight Data Access Layer
GetDatabaseNameFromConnectionString Method (BaseDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class : GetDatabaseNameFromConnectionString Method
Get database name from the connection string.
Syntax
Public MustOverride Function GetDatabaseNameFromConnectionString() As String
Dim instance As BaseDatabaseProvider
Dim value As String
 
value = instance.GetDatabaseNameFromConnectionString()
public abstract string GetDatabaseNameFromConnectionString()
public: abstract string* GetDatabaseNameFromConnectionString(); 
public:
abstract String^ GetDatabaseNameFromConnectionString(); 

Return Value

The name of the database
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseDatabaseProvider Class
BaseDatabaseProvider Members