ServerMessageEventArgs Constructor

Initializes a new instance of the ServerMessageEventArgs class for the specified event and with the specified error.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

public ServerMessageEventArgs(
	SqlError sqlError
)

Parameters

sqlError
Type: SqlError
A SqlError system object value that specifies the error associated with the server message event.

Community Additions

Show: