Condividi tramite


Classe ObjectRenamedEventArgs

The ObjectRenamedEventArgs object represents the arguments passed by the event raised when an object is renamed.

Gerarchia di ereditarietà

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.Smo.SmoEventArgs
      Microsoft.SqlServer.Management.Smo.ObjectRenamedEventArgs

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

Sintassi

'Dichiarazione
Public Class ObjectRenamedEventArgs _
    Inherits SmoEventArgs
'Utilizzo
Dim instance As ObjectRenamedEventArgs
public class ObjectRenamedEventArgs : SmoEventArgs
public ref class ObjectRenamedEventArgs : public SmoEventArgs
type ObjectRenamedEventArgs =  
    class 
        inherit SmoEventArgs 
    end
public class ObjectRenamedEventArgs extends SmoEventArgs

Nel tipo ObjectRenamedEventArgs sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ObjectRenamedEventArgs(Urn, Object, String, String) A ObjectRenamedEventArgs object
Metodo pubblico ObjectRenamedEventArgs(Urn, Object, String, String, String) A ObjectRenamedEventArgs object

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica NewName Gets the new name of the object.
Proprietà pubblica OldName Gets the old name of the object.
Proprietà pubblica OldUrn Property identifying the URN object before changing.
Proprietà pubblica SmoObject Gets the object that is being renamed.
Proprietà pubblica Urn Gets the Uniform Resource Name (URN) address of SMO event. Ereditato da SmoEventArgs.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Esempi

Gestione degli eventi SMO

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo