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)

Syntax

'Declaration
Public Sub New ( _
    sqlError As SqlError _
)
public ServerMessageEventArgs (
    SqlError sqlError
)
public:
ServerMessageEventArgs (
    SqlError^ sqlError
)
public ServerMessageEventArgs (
    SqlError sqlError
)
public function ServerMessageEventArgs (
    sqlError : SqlError
)

Parameters

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ServerMessageEventArgs Class
ServerMessageEventArgs Members
Microsoft.SqlServer.Management.Common Namespace