ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender.SchemaExtender Namespace / DataSetConnectionCollection Class / IndexOfConnectionString Method
The value corresponding to DataSetConnectionExtender.RepresentsDataSetConnection.

In This Topic
    IndexOfConnectionString Method
    In This Topic
    Syntax
    'Declaration
     
    Public Function IndexOfConnectionString( _
       ByVal dbConnectionString As System.String _
    ) As System.Integer
    public System.int IndexOfConnectionString( 
       System.string dbConnectionString
    )

    Parameters

    dbConnectionString
    The value corresponding to DataSetConnectionExtender.RepresentsDataSetConnection.

    Return Value

    If the object with the specified DataSetConnectionExtender.RepresentsDataSetConnection exists then returns its index; otherwise, -1.
    See Also