AceQLConnection Constructor (String, AceQLCredential)
Initializes a new instance of the AceQLConnection class when given a string that contains the connection string
and an AceQLCredential object that contains the username and password.
Namespace:
AceQL.Client.ApiAssembly: AceQL.Client (in AceQL.Client.dll)
Syntax
public AceQLConnection( string connectionString, AceQLCredential credential )
Parameters
- connectionString
- Type: String
A connection string that does not use any of the following connection string keywords: Username or Password.
- credential
- Type: AceQL.Client.Api..::..AceQLCredential
AceQLCredential object.
Exceptions
Exception | Condition |
---|---|
[System.ArgumentNullException] | If connectionString is null or AceQLCredential is null. |
[System.ArgumentException] | connectionString token does not contain a = separator: " + line |