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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft