Condividi tramite


Classe EventInfo.Key

SQL Foundation Class key class that identifies an EventInfo object.

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.XEvent.EventInfo.Key

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

Sintassi

'Dichiarazione
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilizzo
Dim instance As EventInfo.Key
public sealed class Key : SfcKey
public ref class Key sealed : public SfcKey
[<SealedAttribute>]
type Key =  
    class 
        inherit SfcKey 
    end
public final class Key extends SfcKey

Nel tipo EventInfo.Key sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico EventInfo.Key() Initializes a new instance of the EventInfo.Key class.
Metodo pubblico EventInfo.Key(String) Initializes a new instance of the EventInfo.Key class from the name parameter.
Metodo pubblico EventInfo.Key(EventInfo.Key) Initializes a new instance of the EventInfo.Key class from another EventInfo.Key object.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica InstanceType Gets the type of the instance class associated with this key class. Ereditato da SfcKey.
Proprietà pubblica Name Gets the name of a EventInfo.Key object.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether a EventInfo.Key object is equal to another object. Esegue l'override di SfcKey.Equals(Object).
Metodo pubblico Equals(SfcKey) Determines whether a EventInfo.Key object is equal to an SfcKey object. Esegue l'override di SfcKey.Equals(SfcKey).
Metodo pubblicoMembro statico Equals(Object, Object) Determines whether a EventInfo.Key object is equal to another object.
Metodo pubblico GetHashCode Gets the hash code of a EventInfo.Key. Esegue l'override di SfcKey.GetHashCode().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Gets an element of an Urn object. Esegue l'override di SfcKey.GetUrnFragment().
Metodo pubblico ToString Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. Ereditato da SfcKey.

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Equality(Object, EventInfo.Key) Determines whether a EventInfo.Key object is equal to another object.
Operatore pubblicoMembro statico Equality(EventInfo.Key, EventInfo.Key) Determines whether two instances of EventInfo.Key are equal.
Operatore pubblicoMembro statico Equality(EventInfo.Key, Object) Determines whether a EventInfo.Key object is equal to another object.
Operatore pubblicoMembro statico Inequality(Object, EventInfo.Key) Determines whether a EventInfo.Key object is not equal to another object.
Operatore pubblicoMembro statico Inequality(EventInfo.Key, EventInfo.Key) Determines whether two instances of EventInfo.Key are not equal.
Operatore pubblicoMembro statico Inequality(EventInfo.Key, Object) Determines whether a EventInfo.Key object is not equal to another object.

In alto

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.XEvent