Previous Topic: Sm_PolicyApi_GetODBCQueryScheme()

Next Topic: Sm_PolicyApi_GetPasswordMsg()

Sm_PolicyApi_GetODBCQuerySchemeByName()

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

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_GetODBCQuerySchemeByName (
   void*                             pSessionHandle,
   const char*                       pszODBCQuerySchemeName,
   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.

pszODBCQuerySchemeName

I

A null-terminated string containing the name 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