共用方式為


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 支援委託的使用,但不支援新委託的宣告。

參數

傳回值

型別:System. . :: . .Boolean