Compartilhar via


ConnectionManager.ServerMessage Event

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

Syntax

'Declaration
Public Event ServerMessage As ServerMessageEventHandler
public event ServerMessageEventHandler ServerMessage
public:
event ServerMessageEventHandler^ ServerMessage {
    void add (ServerMessageEventHandler^ value);
    void remove (ServerMessageEventHandler^ value);
}
/** @event */
public void add_ServerMessage (ServerMessageEventHandler value)

/** @event */
public void remove_ServerMessage (ServerMessageEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

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

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