Helper that returns all the error numbers contained in a sql exception object
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Function GetSqlErrorNumbers ( _
    ex As SqlException _
) As List(Of Integer)
protected List<int> GetSqlErrorNumbers(
    SqlException ex
)
protected:
List<int>^ GetSqlErrorNumbers(
    SqlException^ ex
)
member GetSqlErrorNumbers : 
        ex:SqlException -> List<int> 
protected function GetSqlErrorNumbers(
    ex : SqlException
) : List<int>
Parameters
- ex
 Type: System.Data.SqlClient.SqlException
Return Value
Type: System.Collections.Generic.List<Int32>
Returns List<T>.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.