DataAdapter.MissingSchemaAction Property

 

Determines the action to take when existing DataSet schema does not match incoming data.

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

abstract MissingSchemaAction : MissingSchemaAction with get, set
override MissingSchemaAction : MissingSchemaAction with get, set

Property Value

Type: System.Data.MissingSchemaAction

One of the MissingSchemaAction values. The default is Add.

Exception Condition
ArgumentException

The value set is not one of the MissingSchemaAction values.

The following example creates a derived class, OleDbDataAdapter and sets some of its properties.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: