Sets the specified message property from a SQL TINYINT data type.
| Item | Description | Remarks |
|---|---|---|
| 1 | Message ID | VARCHAR(128). You can obtain the message ID from ml_qa_createmessage or ml_qa_getmessage. |
| 2 | Property name | VARCHAR(128) |
| 3 | Property value | TINYINT |
You cannot alter this property after the message has been sent.
In the following example, a message is created, the byte properties mybyteproperty1 and mybyteproperty2 are set, and the message is sent to the address clientid\queuename:
begin
declare @msgid varchar(128);
set @msgid = ml_qa_createmessage();
call ml_qa_setbyteproperty( @msgid, 'mybyteproperty1', 0 );
call ml_qa_setbyteproperty( @msgid, 'mybyteproperty2', 255 );
call ml_qa_putmessage( @msgid, 'clientid\queuename' );
commit;
end |
| Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |