AdgConnection Constructors
Definition
Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll
Initializes a new instance of the AdgConnection class.
Overloads
Name | Description |
---|---|
AdgConnection(SourceProfile) | Initializes a new instance of the AdgConnection class with the specified SourceProfile. |
AdgConnection(SourceProfile, IExchange5250) | Initializes a new instance of the AdgConnection class with the specified SourceProfile and IExchange5250. |
AdgConnection(SourceProfile)
Initializes a new instance of the AdgConnection class with the specified SourceProfile.
AdgConnection(SourceProfile)
Parameters
Type | Parameter name | Description |
---|---|---|
SourceProfile | sp | The SourceProfile to be used for the connection. |
Remarks
An AdgConnection object is constructed by specifying an initial value for the SourceProfile
property, which is subsequently used by the Open
method to connect to a particular database server. The properties of SourceProfile specify the database connection parameters.
AdgConnection(SourceProfile, IExchange5250)
Initializes a new instance of the AdgConnection class with the specified SourceProfile and IExchange5250.
AdgConnection(SourceProfile, IExchange5250)
Parameters
Type | Parameter name | Description |
---|---|---|
SourceProfile | sp | The SourceProfile to be used for the connection. |
IExchange5250 | exchange5250 | The IExchange5250 to be used for the connection. |