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.


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.

Applies To

See Also

Type Property Example (Field) (VB)
Type Property Example (Property) (VC++)
RecordType Property (ADO)
Type Property (ADO Stream)