Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
设置消息的二进制内容。
消息发送后就不能再更改此内容。
在下面的示例中,创建并发送一条含有加密内容的消息:
begin declare @msgid varchar(128); set @msgid = ml_qa_createmessage(); call ml_qa_setbinarycontent( @msgid, encrypt( 'my secret message', 'mykey' ) ); call ml_qa_putmessage( @msgid, 'clientid\queuename' ); commit; end