ModifyConnectionAsync Method
Overloads
| ModifyConnectionAsync(String, Connection, Boolean) |
Updates a connection. |
|
| ModifyConnectionAsync(AsyncHandle, String, Connection, Boolean) |
Updates a connection. |
ModifyConnectionAsync(String, Connection, Boolean)
Updates a connection.
Declaration
public Task ModifyConnectionAsync([QixName("qConnectionId")] string connectionId, [QixName("qConnection")] Connection connection, [QixName("qOverrideCredentials")] bool overrideCredentials = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | connectionId |
Identifier of the connection. |
| Connection | connection |
Information about the connection. Properties that can be updated. |
| System.Boolean | overrideCredentials |
Set this parameter to true to override the user name and password. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
Remarks
The identifier of a connection cannot be updated. qType cannot be modified with the ModifyConnection method.
ModifyConnectionAsync(AsyncHandle, String, Connection, Boolean)
Updates a connection.
Declaration
public Task ModifyConnectionAsync(AsyncHandle asyncHandle, [QixName("qConnectionId")] string connectionId, [QixName("qConnection")] Connection connection, [QixName("qOverrideCredentials")] bool overrideCredentials = false)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.String | connectionId |
Identifier of the connection. |
| Connection | connection |
Information about the connection. Properties that can be updated. |
| System.Boolean | overrideCredentials |
Set this parameter to true to override the user name and password. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
Remarks
The identifier of a connection cannot be updated. qType cannot be modified with the ModifyConnection method.