ÿþ<html> <head> <title>Get-SqlTransaction</title> </head> <body> <h1>Get-SqlTransaction</h1> <div>Returns the current open transactions for a database.</div> <h2> Syntax </h2> <code>Get-SqlTransaction [[-sqlserver] &lt;Object&gt;] [-dbname] &lt;Object&gt; [&lt;CommonParameters&gt;]</code> <h2> Detailed Description </h2> <div> The Get-SqlTransaction function returns returns the current open transactions for a database. </div> <h2> Related Commands </h2> <div> * <a href='Get-SqlTransaction.htm'>Get-SqlTransaction</a><br/> </div> <h2> Parameters </h2> <table border='1'> <tr> <th>Name</th> <th>Description</th> <th>Required?</th> <th>Pipeline Input</th> <th>Default Value</th> </tr> <tr valign='top'> <td>sqlserver&nbsp;</td> <td>&nbsp;</td> <td>false&nbsp;</td> <td>false&nbsp;</td> <td>&nbsp;</td> </tr> <tr valign='top'> <td>dbname&nbsp;</td> <td>&nbsp;</td> <td>true&nbsp;</td> <td>false&nbsp;</td> <td>&nbsp;</td> </tr> </table> <h2> Input Type </h2> <div>None You cannot pipe objects to Get-SqlTransaction</div> <h2> Return Values </h2> <div>System.Data.DataRow Get-SqlTransaction returns an array of System.Data.DataRow.</div> <h2> Examples </h2> <h3> EXAMPLE 1</h3> <pre>Get-SqlTransaction "Z002\sql2k8" "pubs"</pre> <div>This command returns the current open transactoin in the pubs database.</div> </body> </html>