共用方式為


SfcApplicationEvents.AfterObjectMoved 事件

Occurs after an SFC object has moved. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Public Event AfterObjectMoved As SfcApplication.SfcAfterObjectMovedEventHandler
'用途
Dim instance As SfcApplicationEvents 
Dim handler As SfcApplication.SfcAfterObjectMovedEventHandler 

AddHandler instance.AfterObjectMoved, handler
public event SfcApplication.SfcAfterObjectMovedEventHandler AfterObjectMoved
public:
 event SfcApplication.SfcAfterObjectMovedEventHandler^ AfterObjectMoved {
    void add (SfcApplication.SfcAfterObjectMovedEventHandler^ value);
    void remove (SfcApplication.SfcAfterObjectMovedEventHandler^ value);
}
member AfterObjectMoved : IEvent<SfcApplication.SfcAfterObjectMovedEventHandler,
    SfcAfterObjectMovedEventArgs>
JScript 支援事件的使用,但不支援新事件的宣告。

請參閱

參考

SfcApplicationEvents 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間