SqlException::Server Property
.NET Framework (current version)
Gets the name of the computer that is running an instance of SQL Server that generated the error.
Assembly: System.Data (in System.Data.dll)
The following example displays each SqlError within the SqlErrorCollection collection.
.NET Framework
Available since 1.1
Available since 1.1
Show: