Previous Topic: AddServerConfig Method—Adds Policy Server Configurations to Agent API Object

Next Topic: CreateBootstrapFile Method—Generates Bootstrap File for Connecting to Agent

Connect Method—Establishes Connection between Agent API and Policy Server

The Connect method establishes a connection between the Agent API and the Policy Server.

Syntax

The Connect method has the following format:

Netegrity::AgentAPI‑>Connect([bootFile])

Parameters

The Connect method accepts the following parameter:

bootFile (string)

(Optional) Specifies the name of the configuration file to be used for connecting to a v5.x agent.

Note: You can use an existing file such as SmHost.conf or create a new file. For more information, see the method AgentAPI‑>CreateBootstrapFile.

Return Value

The Connect method returns one of the following values:


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