VistaDB 5






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

Return Value

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