Nevron Open Vision Documentation
Nevron.Nov.Data Namespace / NDbConnection Class / Test Method


In This Topic
    Test Method
    In This Topic
    Tests whether the specified connection can be opened.
    Syntax
    'Declaration
     
    
    Public Shared Function Test( _
       ByVal connectionType As ENDbConnectionType, _
       ByVal connectionString As System.String, _
       ByRef exception As System.String _
    ) As System.Boolean
    'Usage
     
    
    Dim connectionType As ENDbConnectionType
    Dim connectionString As System.String
    Dim exception As System.String
    Dim value As System.Boolean
     
    value = NDbConnection.Test(connectionType, connectionString, exception)
    public static System.bool Test( 
       ENDbConnectionType connectionType,
       System.string connectionString,
       out System.string exception
    )

    Parameters

    connectionType
    connectionString
    exception
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also