Command Property

 

Description

 

Specifies an ADO Command object that can be used to create or execute the procedure. Sets or returns a valid ADO Command object.

 

PowerBASIC Syntax

 

PROPERTY GET Command () AS VARIANT

PROPERTY SET Command (BYVAL newVal AS VARIANT)

PROPERTY SET putref_Command (BYVAL pComm AS ADOCommand)

 

Parameter (SET Command only)

 

newVal

VARIANT. A valid ADO Command object.

 

Parameter (SET putref_Command only)

 

pComm

IDispatch. A valid ADO Command object.

 

Return Value (GET Command only)

 

An ADO Command object reference.

 

Remarks

 

An error will occur when getting and setting this property if the provider does not support persisting commands.

 

Valid XHTML 1.0 Transitional