ICommandRuntime.CurrentPSTransaction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an object that surfaces the current PowerShell transaction. When this object is disposed, PowerShell resets the active transaction.
public:
property System::Management::Automation::PSTransactionContext ^ CurrentPSTransaction { System::Management::Automation::PSTransactionContext ^ get(); };
public System.Management.Automation.PSTransactionContext CurrentPSTransaction { get; }
public System.Management.Automation.PSTransactionContext? CurrentPSTransaction { get; }
member this.CurrentPSTransaction : System.Management.Automation.PSTransactionContext
Public ReadOnly Property CurrentPSTransaction As PSTransactionContext