Set an environment setting used by the server, such as user, client, ..

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

Syntax

C#
public static void Set(
	string var,
	string val
)
Visual Basic
Public Shared Sub Set ( _
	var As String, _
	val As String _
)
Visual C++
public:
static void Set(
	String^ var, 
	String^ val
)

Parameters

var
Type: System..::..String
The name of the environment variable
val
Type: System..::..String
The new value for the environment variable

Return Value

See Also