Classe EventField.Key

Represents the identity key for an EventField object.

Hiérarchie d'héritage

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

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

Syntaxe

'Déclaration
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilisation
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

Le type EventField.Key expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique EventField.Key() Default constructor for generic key generation that creates a new instance of the EventField.Key class.
Méthode publique EventField.Key(String) Creates a new instance of the EventField.Key class from the name parameter.
Méthode publique EventField.Key(EventField.Key) Creates a new instance of the EventField.Key class from another EventField.Key object.

Haut de la page

Propriétés

  Nom Description
Propriété publique InstanceType Gets the type of the instance class associated with this key class. (hérité de SfcKey.)
Propriété publique Name Gets or sets the name of the EventField object

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals(Object) Determines whether two objects are equal by performing an equality operation on an instance of the EventField.Key class and another object. (remplace SfcKey.Equals(Object).)
Méthode publique Equals(SfcKey) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and an SfcKey object. (remplace SfcKey.Equals(SfcKey).)
Méthode publiqueMembre statique Equals(Object, Object) Determines whether two objects are equal by performing an equality operation on two instances of the System.Object class.
Méthode publique GetHashCode Gets the hash code for a EventField.Key object. (remplace SfcKey.GetHashCode().)
Méthode publique GetType (hérité de Object.)
Méthode publique GetUrnFragment Gets an element of an Urn object. (remplace SfcKey.GetUrnFragment().)
Méthode publique ToString Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (hérité de SfcKey.)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality(Object, EventField.Key) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Opérateur publicMembre statique Equality(EventField.Key, EventField.Key) Determines whether two objects are equal by performing an equality operation on two EventField.Key objects.
Opérateur publicMembre statique Equality(EventField.Key, Object) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Opérateur publicMembre statique 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.
Opérateur publicMembre statique Inequality(EventField.Key, EventField.Key) Determines whether two objects are unequal by performing an inequality operation on two EventField.Key objects.
Opérateur publicMembre statique Inequality(EventField.Key, Object) Determines whether two objects are unequal by performing an inequality operation on a EventField.Key object and another object.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.XEvent