Partager via


WorkflowPreferenceVariables Class

Definition

Special variables that can be defined in a workflow to control the behaviour of PowerShell activities.

public ref class WorkflowPreferenceVariables abstract sealed
public ref class WorkflowPreferenceVariables abstract sealed
class WorkflowPreferenceVariables abstract sealed
public static class WorkflowPreferenceVariables
type WorkflowPreferenceVariables = class
Public Class WorkflowPreferenceVariables
Inheritance
WorkflowPreferenceVariables

Fields

PSParentActivityId

The parent activity ID to be used for all progress records that are written in the enclosing scope

PSPersistPreference

Workflow variable that is used to determine if a PowerShell activity should persist when it's done. if true, then all PSActivities in that scope will not persist at the end of their execution.

PSRunInProcessPreference

Workflow variable that controls when activities are run in process. If true, all activities in the enclosing scope will be run in process

Applies to