skip to main content
Interface Provider class : IP methods reference : ipSetInfo
 

ipSetInfo

This method modifies the IP settings. ipSetInfo is used by the OpenAccess SDK SQL Engine to pass configuration changes to the IP.
See Table 31 for the types of information that the IP can provide.
int ipSetInfo(
int iInfoType,
string pInfoValue)
 
Table 30: Parameters for SetInfo  
Parameter
Type
Description
IN
 
 
iInfoType
int
The type of information
pInfoValue
string
A string buffer containing the information value
RETURN
 
 
 
int
DAM_SUCCESS – on success
DAM_NOT_AVAILABLE – value not supported by the IP
 
Table 31: Information Type for ipSetInfo 
Information Type
Description
IP_INFO_QUALIFIER_NAMEW
The value of the current qualifier for the connection. The IP should return schema information based on current qualifier. The value is specified as a string.
IP_INFO_TXN_ISOLATION
The transaction isolation level that is being requested by the client. The IP can use this information to control how it locks the data it accesses. The value is an integer.
SQL_TXN_READ_UNCOMMITTED
SQL_TXN_READ_COMMITTED
SQL_TXN_REPEATABLE_READ
SQL_TXN_SERIALIZABLE