InfoConnect for Unisys
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmTerminal Interface / ConnectMacro Property


In This Topic
    ConnectMacro Property (IIbmTerminal)
    In This Topic

    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.

    Syntax
    'Declaration
     
    
    <ObsoleteAttribute("ConnectMacro is deprecated, please use the ConnectAction property instead.")>
    Property ConnectMacro As String
    'Usage
     
    
    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;}
    Exceptions
    ExceptionDescription
    This exception is thrown if the set parameter is longer than the maximum allowed.
    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.
    Remarks
    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