GetSchemaTable Method

DbCommandBuilder.GetSchemaTable Method (DbCommand)

 

Returns the schema table for the DbCommandBuilder.

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

protected virtual DataTable GetSchemaTable(
	DbCommand sourceCommand
)

Parameters

sourceCommand
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
Show:
© 2016 Microsoft