P4ServerSetConnectionData Method
|
The parameters used by the connection
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntax public void SetConnectionData(
string port,
string user,
string password,
string client
)
Public Sub SetConnectionData (
port As String,
user As String,
password As String,
client As String
)
public:
void SetConnectionData(
String^ port,
String^ user,
String^ password,
String^ client
)
member SetConnectionData :
port : string *
user : string *
password : string *
client : string -> unit
Parameters
- port
- Type: SystemString
- user
- Type: SystemString
- password
- Type: SystemString
- client
- Type: SystemString
Remarks
The properties, client, port, user, and password,
represent the criteria used to connect to a P4 server. If one or
more is changed, the bridge will drop the current connection if any
and attempt to connect to the (possibly different) P4 server when
the next command is executed. If it is desirable to validate the
connection, execute a command.
See Also