mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
I replace all occurrences of http://go.microsoft.com with https://go.microsoft.com in text files.
27 lines
915 B
C#
27 lines
915 B
C#
/********************************************************************++
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
--********************************************************************/
|
|
|
|
using System.Management.Automation;
|
|
using Dbg = System.Management.Automation;
|
|
|
|
namespace Microsoft.PowerShell.Commands
|
|
{
|
|
/// <summary>
|
|
/// A command that gets the active transaction.
|
|
/// </summary>
|
|
[Cmdlet(VerbsCommon.Get, "Transaction", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=135220")]
|
|
[OutputType(typeof(PSTransaction))]
|
|
public class GetTransactionCommand : PSCmdlet
|
|
{
|
|
/// <summary>
|
|
/// Creates a new transaction.
|
|
/// </summary>
|
|
protected override void EndProcessing()
|
|
{
|
|
WriteObject(this.Context.TransactionManager.GetCurrent());
|
|
}
|
|
} // GetTransactionCommand
|
|
} // namespace Microsoft.PowerShell.Commands
|
|
|