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; }
Property Value