TeamFoundationSqlResourceComponent.GetSqlErrorNumbers Method

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

Return Value

Type: System.Collections.Generic.List<Int32>
Returns List<T>.

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace