Create a P4BridgeServer used to connect to the specified P4Server

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)

Syntax

C#
public P4Server(
	string server,
	string user,
	string pass,
	string ws_client
)
Visual Basic
Public Sub New ( _
	server As String, _
	user As String, _
	pass As String, _
	ws_client As String _
)
Visual C++
public:
P4Server(
	String^ server, 
	String^ user, 
	String^ pass, 
	String^ ws_client
)

Parameters

server
Type: System..::..String
Host:port for the P4 server.
user
Type: System..::..String
User name for the login. Can be null/blank if only running commands that do not require a login.
pass
Type: System..::..String
Password for the login. Can be null/blank if only running commands that do not require a login.
ws_client
Type: System..::..String
Workspace (client) to be used by the connection. Can be null/blank if only running commands that do not require a login.

See Also