Делегат DataTransferProgressEventHandler
Represents the method that handles events raised by the data transfer progress reporting process.
Пространство имен: Microsoft.SqlServer.Management.Common
Сборка: Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)
Синтаксис
'Декларация
Public Delegate Function DataTransferProgressEventHandler ( _
sender As Object, _
e As DataTransferProgressEventArgs _
) As Boolean
'Применение
Dim instance As New DataTransferProgressEventHandler(AddressOf HandlerMethod)
public delegate bool DataTransferProgressEventHandler(
Object sender,
DataTransferProgressEventArgs e
)
public delegate bool DataTransferProgressEventHandler(
Object^ sender,
DataTransferProgressEventArgs^ e
)
type DataTransferProgressEventHandler =
delegate of
sender:Object *
e:DataTransferProgressEventArgs -> bool
JScript поддерживает использование делегатов, но не объявление новых.
Параметры
- sender
Тип System. . :: . .Object
The Object object that raised the event.
- e
Тип Microsoft.SqlServer.Management.Common. . :: . .DataTransferProgressEventArgs
An DataTransferProgressEventArgs value that specifies the arguments passed to the event handler.