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. |
Applies To: GetObjectOwner Method | GetPermissions Method | SetObjectOwner Method | SetPermissions Method