DbCommandBuilder.GetSchemaTable Method (DbCommand)


Returns the schema table for the DbCommandBuilder.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

Protected Overridable Function GetSchemaTable (
	sourceCommand As DbCommand
) As DataTable


Type: System.Data.Common.DbCommand

The DbCommand for which to retrieve the corresponding schema table.

Return Value

Type: System.Data.DataTable

A DataTable that represents the schema for the specific DbCommand.

This method is intended for use by provider writers building a custom command builder.

.NET Framework
Available since 2.0
Return to top