Partager via


Classe Target.Key

A key class for identification of Target objects.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.XEvent.Target.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 Target.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 Target.Key expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique Target.Key() Initializes a new instance of the Target.Key class.
Méthode publique Target.Key(String) Initializes a new instance of the Target.Key class.
Méthode publique Target.Key(Target.Key) Initializes a new instance of the Target.Key class.

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 the name of a Target.Key object.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals(Object) Determines whether a Target.Key object is equal to another object. (remplace SfcKey.Equals(Object).)
Méthode publique Equals(SfcKey) Determines whether a Target.Key object is equal to an SfcKey object. (remplace SfcKey.Equals(SfcKey).)
Méthode publiqueMembre statique Equals(Object, Object) Determines whether two objects are equal.
Méthode publique GetHashCode Gets the hash code of a Target.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, Target.Key) Determines whether a Target.Key object is equal to another object.
Opérateur publicMembre statique Equality(Target.Key, Target.Key) Determines whether two Target.Key objects are equal.
Opérateur publicMembre statique Equality(Target.Key, Object) Determines whether a Target.Key object is equal to another object.
Opérateur publicMembre statique Inequality(Object, Target.Key) Determines whether a Target.Key object is not equal to another object.
Opérateur publicMembre statique Inequality(Target.Key, Target.Key) Determines whether two Target.Key objects are not equal.
Opérateur publicMembre statique Inequality(Target.Key, Object) Determines whether a Target.Key object is not equal to 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