Freigeben über


BeforeObjectRenamed-Ereignis

Occurs before an SFC object has been renamed. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Event BeforeObjectRenamed As SfcApplication..::..SfcBeforeObjectRenamedEventHandler
'Usage
Dim instance As SfcApplicationEvents
Dim handler As SfcApplication..::..SfcBeforeObjectRenamedEventHandler

AddHandler instance.BeforeObjectRenamed, handler
public event SfcApplication..::..SfcBeforeObjectRenamedEventHandler BeforeObjectRenamed
public:
 event SfcApplication..::..SfcBeforeObjectRenamedEventHandler^ BeforeObjectRenamed {
    void add (SfcApplication..::..SfcBeforeObjectRenamedEventHandler^ value);
    void remove (SfcApplication..::..SfcBeforeObjectRenamedEventHandler^ value);
}
member BeforeObjectRenamed : IEvent<SfcApplication..::..SfcBeforeObjectRenamedEventHandler,
    SfcBeforeObjectRenamedEventArgs>
JScript unterstützt die Verwendung von Ereignissen, aber nicht die Deklaration neuer Ereignisse.