DataAdapter::MissingSchemaAction Property

 
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.

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)

public:
property MissingSchemaAction MissingSchemaAction {
	virtual MissingSchemaAction get() sealed;
	virtual void set(MissingSchemaAction value) sealed;
}

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: