InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / IConnectionSettingsCommon Interface / ConnectMacro Property


In This Topic
    ConnectMacro Property (IConnectionSettingsCommon)
    In This Topic
    Gets or specifies the name of a macro that runs automatically after a connection is established.
    Syntax
    'Declaration
     
    
    Property ConnectMacro As String
    'Usage
     
    
    Dim instance As IConnectionSettingsCommon
    Dim value As String
     
    instance.ConnectMacro = value
     
    value = instance.ConnectMacro
    string ConnectMacro {get; set;}

    Property Value

    The default value is "". This string can be up to 260 characters long. This value can be changed during an open connection.
    Exceptions
    ExceptionDescription
    This exception is thrown if the set parameter is longer than the maximum allowed.
    Remarks
    You can use the ConnectMacroData property to specify information to be passed to this macro. A connect macro runs after the terminal has successfully made a connection to the host and should not include session setup information.
    See Also