Previous Topic: Sm_PolicyApi_GetAgentConfig()

Next Topic: Sm_PolicyApi_GetAgentConfigAssociations()

Sm_PolicyApi_GetAgentConfigByName()

Retrieves an existing agent configuration object by pszAgentConfigName.

Type

Agent configuration function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_GetAgentConfigByName (
   void*                            pSessionHandle,
   const char*                      pszAgentConfigName,
   Sm_PolicyApi_AgentConfig_t**     ppstructAgentConfig
);

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.

pszAgentConfigName

I

Unique name of the agent configuration object to retrieve.

ppstructAgentConfig

O

Address of a pointer to a structure that defines the agent configuration object. The function allocates the structure.

Returns


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