ConnectMacro Property (IIbmTerminal)

Gets or sets the name of a macro that is run automatically after a connection is established.

Note: This property is deprecated. Please use the ConnectAction Property instead.

<ObsoleteAttribute("ConnectMacro is deprecated, please use the ConnectAction property instead.")>
Property ConnectMacro As String
Dim instance As IIbmTerminal
Dim value As String
instance.ConnectMacro = value
value = instance.ConnectMacro
[Obsolete("ConnectMacro is deprecated, please use the ConnectAction property instead.")]
string ConnectMacro {get; set;}
System.ArgumentException This exception is thrown if the set parameter is longer than the maximum allowed.
Attachmate.Reflection.SecuredSettingException This exception is thrown when you modify a property that was secured via the Permissions Manager or that can only be modified by an Administrator.
You can use the ConnectMacroData property to specify information to be passed to this macro. The default value is "". The string can be up to 260 characters in length. Connect macros run after the terminal has successfully made a connection to the host. They should not include session setup information.
See Also