We recommend using Visual Studio 2017

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)

public class ServerMessageEventArgs : EventArgs

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.

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

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

Community Additions

ADD
Show: