Export (0) Print
Expand All

PSActivity.PSPersist Property

Gets or sets a value that indicates whether to force the activity to persist the workflow state onto the disk. This SDK programming element is introduced in Windows PowerShell 3.0.

Namespace: Microsoft.PowerShell.Activities
Assembly: Microsoft.PowerShell.Workflow.ServiceCore (in Microsoft.PowerShell.Workflow.ServiceCore.dll)

Dim instance As PSActivity
Dim value As InArgument(Of Nullable(Of Boolean))

value = instance.PSPersist

instance.PSPersist = value

public InArgument<Nullable<bool>> PSPersist { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public InArgument<Nullable<boolean>> get_PSPersist ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_PSPersist (InArgument<Nullable<boolean>> value)

public function get PSPersist () : InArgument<Nullable<boolean>>

public function set PSPersist (value : InArgument<Nullable<boolean>>)

Property Value

Returns an InArgument of nullable type Boolean: true if the activity is persisted; otherwise, false.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft