VistaDB 5






CreateConnection Method (VistaDBProviderFactory)
Returns a strongly typed DbConnection instance.
Syntax
'Declaration
 
Public Overrides NotOverridable Function CreateConnection() As System.Data.Common.DbConnection
'Usage
 
Dim instance As VistaDBProviderFactory
Dim value As System.Data.Common.DbConnection
 
value = instance.CreateConnection()
public override System.Data.Common.DbConnection CreateConnection()
public function CreateConnection(): System.Data.Common.DbConnection; override; 
public override function CreateConnection() : System.Data.Common.DbConnection;
public: System.Data.Common.DbConnection* CreateConnection(); override 
public:
System.Data.Common.DbConnection^ CreateConnection(); override 

Return Value

A new strongly typed instance of DbConnection.
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