Previous Topic: DoManagement Method—Requests Agent Commands from Policy Server

Next Topic: IncrementRefCount Method—Increment the Reference Count

GetResource Method—Retrieves the Specified Resource

The GetResource method retrieves the specified resource.

Syntax

The GetResource method has the following format:

Netegrity::AgentAPI‑>GetResource(resName[, action][, clientIP])

Parameters

The GetResource method accepts the following parameters:

resName (string)

Specifies the name of the resource to retrieve.

action (string)

(Optional) Specifies the HTTP action to perform (for example, GET, POST, or PUT).

clientIP (string)

(Optional) Specifies the client's IP address.

Return Value

The GetResource method returns the following value:


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