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:
Specifies that the connection was successful.
Specifies that the Agent API could not reach the Policy Server.
Specifies that the method timed out.
Specifies that initialization failed.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |