Share via


SetVariableActivity Class

Definition

Set value for a Variable.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.SetVariableActivity+SetVariableActivityConverter))]
public class SetVariableActivity : Azure.Analytics.Synapse.Artifacts.Models.ControlActivity
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.SetVariableActivity+SetVariableActivityConverter))>]
type SetVariableActivity = class
    inherit ControlActivity
Public Class SetVariableActivity
Inherits ControlActivity
Inheritance
SetVariableActivity
Attributes

Constructors

SetVariableActivity(String)

Initializes a new instance of SetVariableActivity.

Properties

AdditionalProperties

Additional Properties.

(Inherited from Activity)
DependsOn

Activity depends on condition.

(Inherited from Activity)
Description

Activity description.

(Inherited from Activity)
Name

Activity name.

(Inherited from Activity)
OnInactiveMarkAs

Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.

(Inherited from Activity)
Policy

Activity policy.

SetSystemVariable

If set to true, it sets the pipeline run return value.

State

Activity state. This is an optional property and if not provided, the state will be Active by default.

(Inherited from Activity)
UserProperties

Activity user properties.

(Inherited from Activity)
Value

Value to be set. Could be a static value or Expression.

VariableName

Name of the variable whose value needs to be set.

Applies to