Show / Hide Table of Contents

    IAdoDbConnection.OpenAsync(CancellationToken cancellationToken) Method

    .NET Standard 2.x

    Asynchronously opens the database connection using the connection string.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

    Task<bool> OpenAsync(CancellationToken cancellationToken);
    

    Parameters

    cancellationToken CancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns

    Task<bool>

    Returns a task that represents the asynchronous operation.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon