Update an environment setting used by the server, such as user, client, ..
Makes a local only change which overrides registry, environment etc...
And does not get written into the registry or the environment
use "null" value to remove an existing Update setting.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntax public static void Update(
string var,
string val
)
Public Shared Sub Update (
var As String,
val As String
)
public:
static void Update(
String^ var,
String^ val
)
static member Update :
var : string *
val : string -> unit
Parameters
- var
- Type: SystemString
The name of the environment variable - val
- Type: SystemString
The new value for the environment variable
See Also