DbCommandBuilder.GetSchemaTable Method (DbCommand)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the schema table for the DbCommandBuilder.

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

abstract GetSchemaTable : 
        sourceCommand:DbCommand -> DataTable
override GetSchemaTable : 
        sourceCommand:DbCommand -> 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