dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2DataSourceEnumerator Class / GetDataSources Method / GetDataSources(String,String,String) Method

In This Topic
    GetDataSources(String,String,String) Method
    In This Topic
    Returns a DataTable with information about all the visible database server instances and databases on those instances.
    Syntax
    'Declaration
     
    Public Overloads Function GetDataSources( _
       ByVal strHost As String, _
       ByVal strPort As String, _
       ByVal strPWD As String _
    ) As DataTable
    public DataTable GetDataSources( 
       string strHost,
       string strPort,
       string strPWD
    )

    Parameters

    strHost
    strPort
    strPWD

    Return Value

    A DataTable with information about all the visible database server instances and databases on those instances.
    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