Cmdlet.CurrentPSTransaction Cmdlet.CurrentPSTransaction Cmdlet.CurrentPSTransaction Property

Definition

Gets an object that surfaces the current PowerShell transaction. When this object is disposed, PowerShell resets the active transaction

public System.Management.Automation.PSTransactionContext CurrentPSTransaction { get; }
member this.CurrentPSTransaction : System.Management.Automation.PSTransactionContext
Public ReadOnly Property CurrentPSTransaction As PSTransactionContext
Property Value

Applies to