GetSchema(string) Method

Syntax:

public DataTable GetSchema(string collectionName)

Description:

Returns metadata schema information for this connection using the specified string for the schema (collection) name. The method operates identically to calling GetSchema(collectionName, null).

See GetSchema(string, string[]) for details on which collection names are available.

Parameters:

collectionName

Type: System.String

Specifies the name of the collection to return.

Return Value:

System.Data.DataTable

Exceptions:

Exception Condition
RdmException The SQL engine could not access the meta data. This may occur if a transaction is active for the connection.

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbConnection.GetSchema