Skip to main content Skip to complementary content

IsValidConnectionStringAsync Method

Overloads

IsValidConnectionStringAsync(Connection)

Checks if a connection string is valid.

IsValidConnectionStringAsync(AsyncHandle, Connection)

Checks if a connection string is valid.

IsValidConnectionStringAsync<T>(AsyncHandle, Func<Response, T>, Connection)

Checks if a connection string is valid.

IsValidConnectionStringAsync(Connection)

Checks if a connection string is valid.

Declaration

      public Task<bool> IsValidConnectionStringAsync([QixName("qConnection")] Connection connection)
    

Parameters

Type Name Description
Connection connection

Information about the connection.

Returns

Type Description
System.Threading.Tasks.Task<System.Boolean>

Implements

IsValidConnectionStringAsync(AsyncHandle, Connection)

Checks if a connection string is valid.

Declaration

      public Task<bool> IsValidConnectionStringAsync(AsyncHandle asyncHandle, [QixName("qConnection")] Connection connection)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

Connection connection

Information about the connection.

Returns

Type Description
System.Threading.Tasks.Task<System.Boolean>

Implements

IsValidConnectionStringAsync<T>(AsyncHandle, Func<Response, T>, Connection)

Checks if a connection string is valid.

Declaration

      public Task<T> IsValidConnectionStringAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qConnection")] Connection connection)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

Connection connection

Information about the connection.

Returns

Type Description
System.Threading.Tasks.Task<T>

Type Parameters

Name Description
T

Implements

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!