GetSchema Method (String, String[])

MySQL Connector/Net

Returns schema information for the data source of this DbConnection using the specified string for the schema name and the specified string array for the restriction values.

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 6.2.2.0

Syntax

C#
public override DataTable GetSchema(
	string collectionName,
	string[] restrictionValues
)
Visual Basic (Declaration)
Public Overrides Function GetSchema ( _
	collectionName As String, _
	restrictionValues As String() _
) As DataTable
Visual C++
public:
virtual DataTable^ GetSchema(
	String^ collectionName, 
	array<String^>^ restrictionValues
) override

Parameters

collectionName
Type: System..::.String
Specifies the name of the schema to return.
restrictionValues
Type: array< System..::.String >[]()[]
Specifies a set of restriction values for the requested schema.

Return Value

A DataTable that contains schema information.

See Also