VistaDB 5
Example 






VistaDBCommand Constructor()
Initializes a new instance of the VistaDBCommand class.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New VistaDBCommand()
public VistaDBCommand()
public VistaDBCommand(); 
public function VistaDBCommand();
public: VistaDBCommand();
public:
VistaDBCommand();
Example
The following example creates a new command object and associates it with a given VistaDBConnection object
public VistaDBCommand CreateCommand(VistaDBConnection connection)
{
	VistaDBCommand command = new VistaDBCommand();
	command.Connection = connection;
	command.CommandText = "select * from customers";
	return command;
}
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