Classe EventField.Key

Represents the identity key for an EventField object.

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.XEvent.EventField.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 EventField.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 EventField.Key sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico EventField.Key() Default constructor for generic key generation that creates a new instance of the EventField.Key class.
Metodo pubblico EventField.Key(String) Creates a new instance of the EventField.Key class from the name parameter.
Metodo pubblico EventField.Key(EventField.Key) Creates a new instance of the EventField.Key class from another EventField.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 or sets the name of the EventField object

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether two objects are equal by performing an equality operation on an instance of the EventField.Key class and another object. Esegue l'override di SfcKey.Equals(Object).
Metodo pubblico Equals(SfcKey) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and an SfcKey object. Esegue l'override di SfcKey.Equals(SfcKey).
Metodo pubblicoMembro statico Equals(Object, Object) Determines whether two objects are equal by performing an equality operation on two instances of the System.Object class.
Metodo pubblico GetHashCode Gets the hash code for a EventField.Key object. 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, EventField.Key) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Operatore pubblicoMembro statico Equality(EventField.Key, EventField.Key) Determines whether two objects are equal by performing an equality operation on two EventField.Key objects.
Operatore pubblicoMembro statico Equality(EventField.Key, Object) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Operatore pubblicoMembro statico Inequality(Object, EventField.Key) Determines whether two objects are unequal by performing an inequality operation on an instance of the EventField.Key class and another object.
Operatore pubblicoMembro statico Inequality(EventField.Key, EventField.Key) Determines whether two objects are unequal by performing an inequality operation on two EventField.Key objects.
Operatore pubblicoMembro statico Inequality(EventField.Key, Object) Determines whether two objects are unequal by performing an inequality operation on a EventField.Key object and 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