VistaDB 6
VistaDB.Provider Namespace / VistaDBConnection Class / OpenAsync Method / OpenAsync() Method


In This Topic
    OpenAsync() Method
    In This Topic
    An asynchronous version of System.Data.Common.DbConnection.Open, which opens a database connection with the settings specified by the System.Data.Common.DbConnection.ConnectionString. This method invokes the virtual method System.Data.Common.DbConnection.OpenAsync(System.Threading.CancellationToken) with CancellationToken.None.
    Syntax
    'Declaration
     
    
    Public Overloads Function OpenAsync() As System.Threading.Tasks.Task
    'Usage
     
    
    Dim instance As VistaDBConnection
    Dim value As System.Threading.Tasks.Task
     
    value = instance.OpenAsync()
    public System.Threading.Tasks.Task OpenAsync()

    Return Value

    A task representing the asynchronous operation.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also