Partager via


ServerMessageEventArgs Class

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

Espace de noms: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntaxe

'Déclaration
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

Notes

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ServerMessageEventArgs Members
Microsoft.SqlServer.Management.Common Namespace