DbCommandBuilder.RefreshSchema Method ()

 
System_CAPS_noteNote

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 virtual void RefreshSchema()

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

UpdateCommand,

DeleteCommand, and

InsertCommand properties.

.NET Framework
Available since 2.0
Return to top
Show: