Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
触发与 MobiLink 服务器之间的消息同步。
消息同步通常由 QAnywhere 代理处理。但如果同步策略是 [要求时],则由应用程序负责触发消息同步。可使用此存储过程完成该任务。在提交当前事务之前,该触发器不生效。
在下面的示例中,发送一条消息,随后立即启动对该消息的传输:
begin declare @msgid varchar(128); set @msgid = ml_qa_createmessage(); call ml_qa_settextcontent( @msgid, 'my simple message' ); call ml_qa_putmessage( @msgid, 'clientid\queuename' ); call ml_qa_triggersendreceive(); commit; end