GetCommand()
- Last UpdatedNov 25, 2015
- 1 minute read
Use the GetCommand() method to retrieve a reference to an aaDBCommand object created previously with the same or a different script. Do not create a new aaDBConnection object to access a previously created command object.
Syntax
aaDBCommand.GetCommand(
string CommandId)
Parameters
commandId
The Id is generated internally by the SQLData Script Library. For details, see GetId() on page 42.
Remarks
If CommandID does not represent a valid ID, GetCommand() returns a null reference.