Knight Data Access Layer
BuildDatabaseSpecificConnectionString Method (OleDbProvider)




KellermanSoftware.NetDataAccessLayer.Providers Namespace > OleDbProvider Class : BuildDatabaseSpecificConnectionString Method
The name of the database
Build a connection string based on the passed in database (Always returns just the ConnectionString for OleDbProvider)
Syntax
Public Overrides Function BuildDatabaseSpecificConnectionString( _
   ByVal databaseName As String _
) As String
Dim instance As OleDbProvider
Dim databaseName As String
Dim value As String
 
value = instance.BuildDatabaseSpecificConnectionString(databaseName)
public override string BuildDatabaseSpecificConnectionString( 
   string databaseName
)
public: string* BuildDatabaseSpecificConnectionString( 
   string* databaseName
) override 
public:
String^ BuildDatabaseSpecificConnectionString( 
   String^ databaseName
) override 

Parameters

databaseName
The name of the database

Return Value

Connection String
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

OleDbProvider Class
OleDbProvider Members