PowerShell Logo Small

New-DtcDiagnosticTransaction



This is the built-in help made by Microsoft for the command 'New-DtcDiagnosticTransaction', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates a new transaction in a Transaction Manager on the local computer.

SYNTAX


New-DtcDiagnosticTransaction [[-Timeout] <Int32>] [[-IsolationLevel] <IsolationLevel>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The New-DtcDiagnosticTransaction cmdlet creates a new transaction in a Transaction Manager (TM) on the local computer. By default it creates a transaction on the default
transaction manager on the local computer. This cmdlet returns a transaction object that you can pass to other cmdlets.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=317167
Complete-DtcDiagnosticTransaction
Receive-DtcDiagnosticTransaction
Send-DtcDiagnosticTransaction
Undo-DtcDiagnosticTransaction

REMARKS

<

Examples


Example 1: Create a diagnostic transaction

PS C:\>New-DtcDiagnosticTransaction –Timeout 60 –IsolationLevel Serializable
Id
--
4625a5a3-af35-465d-a331-f224d79e4c85



This command creates a new serializable diagnostic transaction with a timeout of 60 seconds.