Compartilhar via


Construtor ServerMessageEventArgs

Initializes a new instance of the ServerMessageEventArgs class.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (em Microsoft.SqlServer.Management.MultiServerConnection.dll)

Sintaxe

'Declaração
Public Sub New ( _
    sqlErrors As SqlErrorCollection, _
    sourceInfo As IResultInfo _
)
'Uso
Dim sqlErrors As SqlErrorCollection
Dim sourceInfo As IResultInfo

Dim instance As New ServerMessageEventArgs(sqlErrors, _
    sourceInfo)
public ServerMessageEventArgs(
    SqlErrorCollection sqlErrors,
    IResultInfo sourceInfo
)
public:
ServerMessageEventArgs(
    SqlErrorCollection^ sqlErrors, 
    IResultInfo^ sourceInfo
)
new : 
        sqlErrors:SqlErrorCollection * 
        sourceInfo:IResultInfo -> ServerMessageEventArgs
public function ServerMessageEventArgs(
    sqlErrors : SqlErrorCollection, 
    sourceInfo : IResultInfo
)

Parâmetros