Делегат Policy.ConnectionProcessingStartedEventHandler
The Policy..::..ConnectionProcessingStartedEventHandler class represents the event handler that handles the event that occurs when the processing of a connection has started.
Пространство имен: Microsoft.SqlServer.Management.Dmf
Сборка: Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)
Синтаксис
'Декларация
Public Delegate Sub ConnectionProcessingStartedEventHandler ( _
sender As Object, _
e As Policy..::..ConnectionProcessingStartedEventArgs _
)
'Применение
Dim instance As New ConnectionProcessingStartedEventHandler(AddressOf HandlerMethod)
public delegate void ConnectionProcessingStartedEventHandler(
Object sender,
Policy..::..ConnectionProcessingStartedEventArgs e
)
public delegate void ConnectionProcessingStartedEventHandler(
Object^ sender,
Policy..::..ConnectionProcessingStartedEventArgs^ e
)
type ConnectionProcessingStartedEventHandler =
delegate of
sender:Object *
e:Policy..::..ConnectionProcessingStartedEventArgs -> unit
JScript поддерживает использование делегатов, но не объявление новых.
Параметры
- sender
Тип: System. . :: . .Object
An Object value that specifies the source of the event.
- e
Тип: Microsoft.SqlServer.Management.Dmf. . :: . .Policy. . :: . .ConnectionProcessingStartedEventArgs
A Policy..::..ConnectionProcessingStartedEventHandler object that contains the event data.
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.