Condividi tramite


Evento BeforeObjectRenamed

Occurs before an SFC object has been renamed. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Event BeforeObjectRenamed As SfcApplication..::..SfcBeforeObjectRenamedEventHandler
'Utilizzo
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 supporta l'utilizzo di eventi, ma non la dichiarazione di nuovi eventi.