共用方式為


BeforeObjectMoved 事件

Occurs before 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 BeforeObjectMoved As SfcApplication..::..SfcBeforeObjectMovedEventHandler
'用途
Dim instance As SfcApplicationEvents
Dim handler As SfcApplication..::..SfcBeforeObjectMovedEventHandler

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