Udostępnij za pośrednictwem


Zdarzenie AfterObjectMoved

Występuje po SFC obiekt został przeniesiony. Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Deklaracja
Public Event AfterObjectMoved As SfcApplication..::..SfcAfterObjectMovedEventHandler
'Użycie
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 supports the use of events, but not the declaration of new ones.