Condividi tramite


Metodo TeamFoundationSqlResourceComponent.GetSqlErrorNumberAsString

L'helper che restituisce tutti i numeri errore in una stringa per scopi di tracciatura non è efficiente super ma deve essere chiamato solo nel caso SQL sia di problemi che il *should* è raro.

Spazio dei nomi:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Sintassi

'Dichiarazione
Protected Function GetSqlErrorNumberAsString ( _
    ex As SqlException _
) As String
protected string GetSqlErrorNumberAsString(
    SqlException ex
)

Parametri

Valore restituito

Tipo: System.String
Restituisca il valore String.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TeamFoundationSqlResourceComponent Classe

Spazio dei nomi Microsoft.TeamFoundation.Framework.Server