Previous Topic: Sm_PolicyApi_DeleteAffiliateDomain()Next Topic: Sm_PolicyApi_DeleteAgentConfig()


Sm_PolicyApi_DeleteAgent()

Deletes the agent identified by pszAgentOid.

Type

Agent function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_DeleteAgent (
   void*          pSessionHandle,
   const char*    pszAgentOid
);

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.

pszAgentOid

I

A null-terminated string containing the object identifier of an existing agent.

Returns