Udostępnij za pośrednictwem


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

'Deklaracja
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.

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.

Target Platforms

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