Creates a new ODBC Query Scheme. An ODBC query scheme is used to create an ODBC directory. The attributes of the user directory are contained in the pstructODBCQueryScheme structure.
If the user ODBC query scheme object exists and the bUpdate flag is true, the item is updated.
Type
ODBC query scheme function, global scope.
Syntax
int SM_EXTERN Sm_PolicyApi_CreateODBCQueryScheme ( void* pSessionHandle, Sm_PolicyApi_ODBCQueryScheme_t* pstructODBCQueryScheme, const bool bUpdate );
Parameter |
I/O |
Description |
---|---|---|
pSessionHandle |
I |
A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session. |
pstructODBCQueryScheme |
I |
A pointer to a completely filled-in ODBC query scheme. |
bUpdate |
I |
A flag to indicate that if an existing object is found, it should be updated. |
Returns
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |