Reflection
ConnectMacro Property (IConnectionSettingsCommon)


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
System.ArgumentException 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