GetMsgSchema method: IntBroker class
Syntax
GetMsgSchema(MsgName, MsgVersion)
Description
Use the GetMsgSchema method to access the saved schema for the specified message.
If you specify a message that does not have a saved schema, you receive a null value.
Parameters
| Parameter | Description |
|---|---|
|
MsgName |
Specify the name of the message for which you want to access a schema. You can either specify the name of the message as a string, or preface the message name with the keyword Message. |
|
MsgVersion |
Specify the message version. |
Returns
A string containing the message schema. If you try to get a schema for a message that does not have a saved schema, returns null.