skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getFirstGrantedObject
 

dam_getFirstGrantedObject

This method is used to navigate the granted object list in the GRANT and REVOKE commands of the ipDCL method. The object can be a table, view, or procedure.
int dam_getFirstGrantedObject(
int64 hstmt,
StringBuilder szQualifier,
StringBuilder szOwner,
StringBuilder szName)
 
Table 138: Parameters for dam_getFirstGrantedObject 
Parameter
Type
Description
IN
 
 
hstmt
int64
The statement handle
OUT
 
 
szQualifier
StringBuilder
The qualifier of the object
szOwner
StringBuilder
The owner of the object
szName
StringBuilder
The name of the object
RETURN
 
 
 
int
DAM_SUCCESS – on success
DAM_FAILURE – on failure
DAM_NO_DATA_FOUND – on end of list