The SourceType property allows you to return and set the identification number for the MsgObject or Event objects.

Syntax for property invocation:

 SourceId : String

See the example in The SourceType property.