ObjectTypeEnum

Microsoft ActiveX Data Objects (ADO)

ObjectTypeEnum

   

Specifies the type of database object for which to set permissions or ownership.

Constant Value Description
adPermObjColumn 2 The object is a column.
adPermObjDatabase 3 The object is a database.
adPermObjProcedure 4 The object is a procedure.
adPermObjProviderSpecific -1 The object is a type defined by the provider. An error will occur if the ObjectType parameter is adPermObjProviderSpecific and an ObjectTypeId is not supplied.
adPermObjTable 1 The object is a table.
adPermObjView 5 The object is a view.