Partilhar via


ServerMessageEventArgs Class

The ServerMessageEventArgs class represents the arguments used when a server message event is raised.

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

Syntax

'Declaration
Public Class ServerMessageEventArgs
    Inherits EventArgs
public class ServerMessageEventArgs : EventArgs
public ref class ServerMessageEventArgs : public EventArgs
public class ServerMessageEventArgs extends EventArgs
public class ServerMessageEventArgs extends EventArgs

Remarks

The ServerMessageEventArgs class is used by the ServerMessageEventHandler when a server message event occurs.

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

Inheritance Hierarchy

System.Object
   System.EventArgs
    Microsoft.SqlServer.Management.Common.ServerMessageEventArgs
       Microsoft.SqlServer.Management.Smo.PercentCompleteEventArgs

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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 Members
Microsoft.SqlServer.Management.Common Namespace