DbCommandBuilder.RefreshSchema Method ()


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

Clears the commands associated with this DbCommandBuilder.

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

Public Overridable Sub RefreshSchema

Calling the RefreshSchema method effectively removes all the DbCommand objects referred to by the SelectCommand,


DeleteCommand, and

InsertCommand properties.

.NET Framework
Available since 2.0
Return to top