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.
返回值
类型:System.Boolean
A Boolean.