ObjectTypeEnum

Microsoft ActiveX Data Objects (ADO)

ADOX 2.5 API Reference

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.

See Also

Applies To: GetObjectOwner Method | GetPermissions Method | SetObjectOwner Method | SetPermissions Method

© 1998-2003 Microsoft Corporation. All rights reserved.