Previous Topic: RemoteMachineName PropertyNext 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:

CaWContext

CHSDK Programming Fundamentals

RemoteMachineName Property

RemotePassword Property

RemoteUserName Property

SetClientDir Method

SetPathOption MethodCaCheckin

SetViewPath Method