共用方式為


SfcApplication.SfcBeforeObjectMovedEventHandler 委派

Represents the method that will handle the BeforeObjectMoved event. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Delegate Sub SfcBeforeObjectMovedEventHandler ( _
    sender As Object, _
    e As SfcBeforeObjectMovedEventArgs _
)
'用途
Dim instance As New SfcBeforeObjectMovedEventHandler(AddressOf HandlerMethod)
public delegate void SfcBeforeObjectMovedEventHandler(
    Object sender,
    SfcBeforeObjectMovedEventArgs e
)
public delegate void SfcBeforeObjectMovedEventHandler(
    Object^ sender, 
    SfcBeforeObjectMovedEventArgs^ e
)
type SfcBeforeObjectMovedEventHandler = 
    delegate of 
        sender:Object * 
        e:SfcBeforeObjectMovedEventArgs -> unit
JScript 支援委託的使用,但不支援新委託的宣告。

參數