Post (-POST) command for COM
Use the Post adapter command (-POST) to specify execution of one or more methods after the methods in the type tree are executed.
-POST [dispid:vartype:data]
- Option
- Description
- [ ]
- The brackets surrounding the parameter are required.
- :
- Required separator.
- dispid
- Specify a valid dispatch ID (DISPID) property.
- vartype
- Specify a valid data type. See Supported Data Types for more information.
- data
- Data type as represented by the text. A string is a sequence of characters; an integer is a sequence of digits, and so on.
For example, to specify a dispatch ID of 3, a data type of BSTR, and text data:
-POST [3:VT_BSTR:data]
Note: If
any properties exist on the command line, the properties are set before
executing any other call on the component. If an error is received
setting any of the properties, the process is aborted with errors.
See Determining the Dispatch ID for a Method/Property for information on how to determine the dispatch ID for a property.