ServerMessageEventArgs.Errors Property
Gets the messages that were returned by the server.
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntax
'Declaration
Public ReadOnly Property Errors As SqlErrorCollection
Get
'Usage
Dim instance As ServerMessageEventArgs
Dim value As SqlErrorCollection
value = instance.Errors
public SqlErrorCollection Errors { get; }
public:
property SqlErrorCollection^ Errors {
SqlErrorCollection^ get ();
}
member Errors : SqlErrorCollection
function get Errors () : SqlErrorCollection
Property Value
Type: System.Data.SqlClient.SqlErrorCollection
A SqlErrorCollection object that contains the messages that were returned by the server.