Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PSTransaction Class

Represents an active transaction. Windows PowerShell creates a PSTransaction object when the New-Transaction cmdlet is called the first time. (Windows PowerShell supports only one active transaction.) This object is returned by the Get-Transaction cmdlet. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As PSTransaction

public sealed class PSTransaction : IDisposable
public final class PSTransaction implements IDisposable
public final class PSTransaction implements IDisposable

System.Object
  System.Management.Automation.PSTransaction

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


Show:
© 2015 Microsoft