DataTransferEventHandler 委托
The DataTransferEventHandler class represents the method that handles the event raised by the data transfer process.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Delegate Sub DataTransferEventHandler ( _
sender As Object, _
e As DataTransferEventArgs _
)
用法
Dim instance As New DataTransferEventHandler(AddressOf HandlerMethod)
public delegate void DataTransferEventHandler(
Object sender,
DataTransferEventArgs e
)
public delegate void DataTransferEventHandler(
Object^ sender,
DataTransferEventArgs^ e
)
type DataTransferEventHandler =
delegate of
sender:Object *
e:DataTransferEventArgs -> unit
JScript 支持使用委托,但不支持声明新委托。
参数
- sender
类型:System. . :: . .Object
An Object system object value that specifies the object that raised the event.
- e
类型:Microsoft.SqlServer.Management.Common. . :: . .DataTransferEventArgs
A DataTransferEventArgs object value that specifies the arguments passed to the event handler.