Previous Topic: bool SetRefactorMode(HINT32 iRefactorMode)

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, 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.

Owning Class

CaRenameItem

Arguments

LPCTSTR szRemoteMachineName-the machine name

Return Value

None

Example

CaRenameItem& rRenameItem = rContext.GetRenameItem();
rRenameItem.SetRemoteMachineName(“MyBuildMachine”);

More information: