Requests agent commands from the Policy Server. Agent commands indicate work to be performed by agents.
Syntax
int SM_EXTERN Sm_AgentApi_DoManagement ( const void* pHandle, Sm_AgentApi_ManagementContext_t* pManagementContext, long* pNumAttributes, Sm_AgentApi_Attribute_t** ppAttributes );
Parameter |
I/O |
Description |
---|---|---|
pHandle |
I |
Agent API session handle returned in parameter ppHandle of Sm_AgentApi_Init(). |
pMananagement |
I |
A management definition structure. The agent uses this structure to define a management command. |
pNumAttributes |
I |
The number of attributes in ppAttributes. |
ppAttributes |
O |
A pointer to an array of requested attribute definition structures. One or more of the following attributes may be returned:
|
Return Values
Example
See the function SmAgentExample::Sm_DoManagement() in the example application smagentexample.cpp.
Copyright © 2014 CA.
All rights reserved.
|
|