Share via


Type Property (ADO)

Indicates the operational type or data type of a Parameter, Field, or Property object.

Settings and Return Values

Sets or returns a DataTypeEnum value.

Remarks

For Parameter objects, the Type property is read/write. For new Field objects that have been appended to the Fields collection of a Record, Type is read/write only after the Value property for the Field has been specified and the data provider has successfully added the new Field by calling the Update method of the Fields collection.

For all other objects, the Type property is read-only.

See Also

Visual Basic Example | Visual C++ Example | Visual J++ Example

RecordType Property | Type Property (ADO Stream)

Applies To: Field Object | Parameter Object | Property Object