This topic has not yet been rated - Rate this topic

PSTransactionStatus Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines the status of a Windows PowerShell transaction, such as it is currently active or have the actions of the transaction been accepted or rejected. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
'Usage
Dim instance As PSTransactionStatus

public enum PSTransactionStatus
public enum PSTransactionStatus
public enum PSTransactionStatus
Member name Description
Active The transaction has been started but its actions have not been committed to or rejected. This field is introduced in Windows PowerShell 2.0.
Committed The actions performed by the transaction have been accepted and all changes are permanent This field is introduced in Windows PowerShell 2.0.
RolledBack The actions performed by the transaction have been rejected and no changes are made. This field is introduced in Windows PowerShell 2.0.

All changes made by a transaction are temporary until they are either accepted or rejected together. One of the main features of a transaction is that all of its actions either succeed or fail.


 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)