Partager via


Événement BeforeObjectRenamed

Occurs before an SFC object has been renamed. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Event BeforeObjectRenamed As SfcApplication..::..SfcBeforeObjectRenamedEventHandler
'Utilisation
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 prend en charge l'utilisation d'événements, mais pas la déclaration de nouveaux événements.