Show / Hide Table of Contents

    IAdoDbConnection.Close() Method

    .NET Standard 2.x

    Closes the connection to the database.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

      bool Close();
    

    Returns

    System.Boolean

    Returns false if the current state of the connection is ConnectionState.Closed or this connection was not opened in the current IAdoDbConnection object; otherwise, returns true if a database connection is closed successfully.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon