Previous Topic: Sm_PolicyAPI_GetMessageConsumerPluginFromSAML1xScheme()

Next Topic: Sm_PolicyApi_GetODBCQuerySchemeByName()

Sm_PolicyApi_GetODBCQueryScheme()

Gets the contents of the ODBC Query Scheme object identified by pszODBCQuerySchemeOid.

The results of this function are returned in a structure referenced by pstructODBCQueryScheme. Free the memory allocated for this structure calling Sm_PolicyApi_FreeMemoryEx().

Type

ODBC query scheme function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_GetODBCQueryScheme (
   void*                             pSessionHandle,
   const char*                       pszODBCQuerySchemeOid,
   Sm_PolicyApi_ODBCQueryScheme_t**  pstructODBCQueryScheme
);

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.

pszODBCQuerySchemeOid

I

A null-terminated string containing the object identifier of an existing ODBC Query Scheme.

pstructODBCQueryScheme

O

The address of a pointer to a ODBC query scheme.

Returns


Copyright © 2010 CA. All rights reserved. Email CA about this topic