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

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

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