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)

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

value = instance.PSPersist

instance.PSPersist = value

[BehaviorCategoryAttribute] 
[DefaultValueAttribute(null)] 
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)

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

CompilerGeneratedAttribute 
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.
Show:
© 2014 Microsoft