Previous Topic: bool SetDescription(LPCTSTR szDesc)

Next Topic: void SetAgentPortNumber(LPCTSTR szPortNumber)


void SetRemoteMachineName(LPCTSTR szRemoteMachineName)

Sets the host name of the remote machine where the files are located.

Note: If a remote machine is set, then an agent port number, 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.

Owning Class

CaCheckin

Arguments

LPCTSTR szRemoteMachineName-the machine name

Return Value

None

Example

CaCheckin& rCheckin = rContext.GetCheckin();rCheckin.SetRemoteMachineName(“MyBuildMachine”);

More information:

HSDK Programming Fundamentals

CaContext

bool SetClientDir(LPCTSTR szCDir)

LPCTSTR GetRemoteMachineName(void)

bool SetViewPath(LPCTSTR szVPath)

bool SetPathOption(HINT32 iOption)

void SetRemoteUserName(LPCTSTR szRemoteUserName)

void SetRemotePassword(LPCTSTR szRemotePassword)

void SetAgentPortNumber(LPCTSTR szPortNumber)