Rocket® InfoConnect Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
ConnectMacroData Property (ConnectionSettingsVTMgr)
In This Topic
Gets or specifies a string that passes information to a connect macro. When your connect
macro runs, the value of MacroData is set equal to the value of ConnectMacroData.
Syntax
expression.ConnectMacroData As String
where expression is a variable that represents a ConnectionSettingsVTMgr Object
Exceptions
| Exception | Description |
|---|---|
| ArgumentException | This exception is thrown if the set parameter is longer than the maximum allowed. |
Remarks
The value of the MacroData property changes whenever you pass macro data to a macro.
(If you run a macro using the Macros dialog box, macro data is specified in the Macro
data box. If you run a macro using the RunMacro method, macro data is specified with
the second argument.) The ConnectMacroData property stores a fixed value that sets
the value of MacroData whenever your connect macro runs. The default value is "".
This string can be up to 260 characters long. Value can be changed with an open connection.
See Also