TCDVcsUpdateConnection
Return to Introduction  Previous page  Next page
Updates an existing repository connection in the connection list.

Delphi (TCDirectIntf.pas)

function VcsUpdateConnection( Name: String; Params: Stringvar Msg: String ): Boolean;  

Parameters

Name
Description
Name
The name of the connection to update.
Params
Any other parameters describing the connection. This parameter is in the form of Name/Value pairs separated by a semi-colon.
Msg (out)
Returns any error message that might have occurred if the result is False


Return Value

True if successful. If an error occurs, the string describing the error is returned in Msg.

Remarks

Params is a semi-colon delimited list of additional parameters defining the connection. This should be passed in the form
'Name1=Value1;Name2=Value2'... where the following names are valid:

Description - A description for the connection
Host - The host that the repository is running on. Hostname or IP address
Port - The port number that the repository server is listening on.
Key - If the server you are connecting to requires you to enter a key for encryption, use this parameter

DUNConnection - If Dial-up Networking is required, the name of the connection
DUNUsername - The username required to validate the Dial-up Networking connection
DUNPassword - The password required to validate the Dial-up Networking connection

SocksVersion - If connecting through a SOCKS compliant server, the version that is supported. Can be V4, V4A or V5
SocksHost - The hostname of the SOCKS server
SocksPort - The port number of the SOCKS server
SocksUsername - The username required to validate the connection on the SOCKS server
SocksPassword - The password required to validate the connection on the SOCKS server

UseWindowsUser - If the value is set to 1, login to this connection will use the current Windows username. If set to 0, Username and password is required.

Exported

function TCDVcsUpdateConnection( pName: PChar; pParams: PChar; const pMsg: PChar ): Boolean; stdcall;  


 


© 1995-2018 MCN Software