Freigeben über


EventField.Key-Klasse

Represents the identity key for an EventField object.

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
Public NotInheritable Class Key _
    Inherits SfcKey
'Usage
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

Der EventField.Key-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode EventField.Key() Default constructor for generic key generation that creates a new instance of the EventField.Key class.
Öffentliche Methode EventField.Key(String) Creates a new instance of the EventField.Key class from the name parameter.
Öffentliche Methode EventField.Key(EventField.Key) Creates a new instance of the EventField.Key class from another EventField.Key object.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft InstanceType Gets the type of the instance class associated with this key class. (Geerbt von SfcKey.)
Öffentliche Eigenschaft Name Gets or sets the name of the EventField object

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals(Object) Determines whether two objects are equal by performing an equality operation on an instance of the EventField.Key class and another object. (Überschreibt SfcKey.Equals(Object).)
Öffentliche Methode Equals(SfcKey) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and an SfcKey object. (Überschreibt SfcKey.Equals(SfcKey).)
Öffentliche MethodeStatisches Element Equals(Object, Object) Determines whether two objects are equal by performing an equality operation on two instances of the System.Object class.
Öffentliche Methode GetHashCode Gets the hash code for a EventField.Key object. (Überschreibt SfcKey.GetHashCode().)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode GetUrnFragment Gets an element of an Urn object. (Überschreibt SfcKey.GetUrnFragment().)
Öffentliche Methode ToString Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Geerbt von SfcKey.)

Zum Anfang

Operatoren

  Name Beschreibung
Öffentlicher OperatorStatisches Element Equality(Object, EventField.Key) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Öffentlicher OperatorStatisches Element Equality(EventField.Key, EventField.Key) Determines whether two objects are equal by performing an equality operation on two EventField.Key objects.
Öffentlicher OperatorStatisches Element Equality(EventField.Key, Object) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Öffentlicher OperatorStatisches Element 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.
Öffentlicher OperatorStatisches Element Inequality(EventField.Key, EventField.Key) Determines whether two objects are unequal by performing an inequality operation on two EventField.Key objects.
Öffentlicher OperatorStatisches Element Inequality(EventField.Key, Object) Determines whether two objects are unequal by performing an inequality operation on a EventField.Key object and another object.

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.XEvent-Namespace