Classe Event.Key
An SfcKey class for identification of an Event.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.XEvent.Event.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 Event.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 Event.Key expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
Event.Key() | Initializes a new instance of Event.Key class. | |
Event.Key(String) | Initializes a new instance of Event.Key class from the name of the XEvent object. | |
Event.Key(Event.Key) | Initializes a new instance of Event.Key class from another Event.Key object. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (hérité de SfcKey.) | |
Name | Gets the name of the Event as string. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals(Object) | Determines whether a Event.Key object is equal to another System.Object. (remplace SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether an Key object is equal to an SfcKey object. (remplace SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether two objects are equal. | |
GetHashCode | Gets the hash code of a Event.Key. (remplace SfcKey.GetHashCode().) | |
GetType | (hérité de Object.) | |
GetUrnFragment | Gets an element of an Urn object. (remplace SfcKey.GetUrnFragment().) | |
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 | |
---|---|---|
Equality(Object, Event.Key) | Determines whether a Event.Key object is equal to another System.Object. | |
Equality(Event.Key, Event.Key) | Determines whether two Event.Key objects are equal. | |
Equality(Event.Key, Object) | Determines whether a Event.Key object is equal to another System.Object. | |
Inequality(Object, Event.Key) | Determines whether a Event.Key object is not equal to another System.Object. | |
Inequality(Event.Key, Event.Key) | Determines whether two Event.Key objects are not equal. | |
Inequality(Event.Key, Object) | Determines whether a Event.Key object is not equal to another System.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.