Skip to main content

IResultSet.TryGetTable(String, out ITable) Method

Returns a table with the specified name using the table parameter.

Namespace: DevExpress.DataAccess.Sql.DataApi

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

bool TryGetTable(
    string name,
    out ITable table
)

Parameters

Name Type Description
name String

A String value that specifies the table name.

table ITable

An object implementing the ITable interface that is the table with the specified name.

Returns

Type Description
Boolean

true, if the table with the specified name exists; otherwise, false.

See Also