Previous Topic: RemoteMachineName Property

Next Topic: RemoteUserName Property


AgentPortNumber Property

Gets or sets the port number of the remote machine where the files are located.

Syntax

object.AgentPortNumber = [value]

Owning Class

CaWCheckin

Arguments

value - A string that represents the machine name.

Notes

If a remote machine is set, then an agent port number, and a remote username and password must also be supplied. The Client Directory must exist on the remote machine.

A remote CA Harvest SCM File Agent must be running on the specified machine.

Example

Dim objCheckin
Set objCheckin = objContext.GetCheckin
objCheckin.AgentPortNumber = “7001”
 strAgentPortNumber = objCheckin.AgentPortNumber

More information:

CHSDK Programming Fundamentals

CaWContext

SetClientDir Method

SetViewPath Method

SetPathOption MethodCaCheckin

RemoteMachineName Property

RemoteUserName Property

RemotePassword Property