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
'Usage
Dim instance As ServerMessageEventArgs
public class ServerMessageEventArgs : EventArgs
public ref class ServerMessageEventArgs : public EventArgs
type ServerMessageEventArgs =
class
inherit EventArgs
end
public class ServerMessageEventArgs extends EventArgs
Remarks
The ServerMessageEventArgs class is used by the ServerMessageEventHandler when a server message event occurs.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Inheritance Hierarchy
System.Object
System.EventArgs
Microsoft.SqlServer.Management.Common.ServerMessageEventArgs
Microsoft.SqlServer.Management.Smo.PercentCompleteEventArgs
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.