public int CommandStatus {get;}

This property gets the status of the command object execution. The status is one of the following:

Value Token Description
0 UniObjectsTokens.UVS_COMPLETE The command finished execution or was cancelled. A new command can be executed.
1 UniObjectsTokens.UVS_REPLY The server is waiting for input data. The reply can be sent using the Reply ( ) method.
2 UniObjectsTokens.UVS_MORE More data is waiting to be retrieved. This occurs only if the block size is set to a non-zero value in the CommandBlockSize property.

If you use the CommandBlockSize property to set the block size to a value other than 0, the Response property returns a data segment equivalent to the size that is set. If the command results are more than can fit in one block, call the NextBlock ( ) method until the CommandStatus property returns UVS_COMPLETE.

This property corresponds to the UniObjects CommandStatus property.