Share via


SfcApplicationEvents.BeforeObjectRenamed Event

Occurs before an SFC object has been renamed. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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 supports the use of events, but not the declaration of new ones.