ConnectorEventHandler Delegate
Represents the method that will handle an event of a connection.
Namespace: Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly: ConnectionDlg (in ConnectionDlg.dll)
Syntax
'Declaration
Public Delegate Sub ConnectorEventHandler ( _
sender As Object, _
args As ConnectorEventArgs _
)
'Usage
Dim instance As New ConnectorEventHandler(AddressOf HandlerMethod)
public delegate void ConnectorEventHandler(
Object sender,
ConnectorEventArgs args
)
public delegate void ConnectorEventHandler(
Object^ sender,
ConnectorEventArgs^ args
)
type ConnectorEventHandler =
delegate of
sender:Object *
args:ConnectorEventArgs -> unit
JScript supports the use of delegates, but not the declaration of new ones.
Parameters
- sender
Type: System.Object
A Object representing the source of the event.
- args
Type: Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectorEventArgs
A ConnectorEventArgs that contains the event data.