ConnectMacroData Property (IConnectionSettingsCommon)
Gets or specifies a string that passes information to a connect macro. When the connect macro runs, the value of MacroData is set equal to the value of ConnectMacroData.
string ConnectMacroData {get; set;}
'Declaration
Property ConnectMacroData As String
'Usage
Dim instance As IConnectionSettingsCommon
Dim value As String
instance.ConnectMacroData = value
value = instance.ConnectMacroData
Property Value
The default value is "". This string can be up to 260 characters long. This value can be changed during an open connection.
Exception | Description |
System.ArgumentException |
This exception is thrown if the set parameter is longer than the maximum allowed.
|