共用方式為


CmdletProvider.CurrentPSTransaction Property

Definition

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; }
member this.CurrentPSTransaction : System.Management.Automation.PSTransactionContext
Public ReadOnly Property CurrentPSTransaction As PSTransactionContext

Property Value

Applies to