Edit

Share via


SchedulerTask.SetEnvironmentVariable(String, String) Method

Definition

Sets a task-specific environment variable.

public void SetEnvironmentVariable (string name, string value);
abstract member SetEnvironmentVariable : string * string -> unit
override this.SetEnvironmentVariable : string * string -> unit
Public Sub SetEnvironmentVariable (name As String, value As String)

Parameters

name
String

The name of the variable.

value
String

The string value of the variable. If null or an empty string, the variable is deleted.

Implements

Applies to