Skip to content

Latest commit

 

History

History
37 lines (34 loc) · 1.42 KB

File metadata and controls

37 lines (34 loc) · 1.42 KB
title ObjectTypeEnum | Microsoft Docs
ms.prod sql
ms.prod_service connectivity
ms.technology connectivity
ms.custom
ms.date 01/19/2017
ms.reviewer
ms.topic conceptual
apitype COM
f1_keywords
ObjectTypeEnum
helpviewer_keywords
ObjectTypeEnum enumeration [ADOX]
ms.assetid 3fdecfca-aa91-4596-ad98-610f1b7f840b
author MightyPen
ms.author genemi
manager craigg

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.

Applies To

GetObjectOwner Method (ADOX) GetPermissions Method (ADOX)
SetObjectOwner Method SetPermissions Method (ADOX)