Aracılığıyla paylaş


ServerEventHandler Delegate

The ServerEventHandler class represents the event handler that is used to handle server errors.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Bildirim
Public Delegate Sub ServerEventHandler ( _
    sender As Object, _
    e As ServerEventArgs _
)
public delegate void ServerEventHandler (
    Object sender,
    ServerEventArgs e
)
public delegate void ServerEventHandler (
    Object^ sender, 
    ServerEventArgs^ e
)
/** @delegate */
public delegate void ServerEventHandler (
    Object sender, 
    ServerEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

  • sender
    An Object value that specifies the source of the event.

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.