Поделиться через


Класс EventField.Key

Represents the identity key for an EventField object.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.XEvent
Сборка:  Microsoft.SqlServer.Management.XEvent (в Microsoft.SqlServer.Management.XEvent.dll)

Синтаксис

'Декларация
Public NotInheritable Class Key _
    Inherits SfcKey
'Применение
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

Тип EventField.Key обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод EventField.Key() Default constructor for generic key generation that creates a new instance of the EventField.Key class.
Открытый метод EventField.Key(String) Creates a new instance of the EventField.Key class from the name parameter.
Открытый метод EventField.Key(EventField.Key) Creates a new instance of the EventField.Key class from another EventField.Key object.

В начало

Свойства

  Имя Описание
Открытое свойство InstanceType Gets the type of the instance class associated with this key class. (Производный от SfcKey.)
Открытое свойство Name Gets or sets the name of the EventField object

В начало

Методы

  Имя Описание
Открытый метод Equals(Object) Determines whether two objects are equal by performing an equality operation on an instance of the EventField.Key class and another object. (Переопределяет SfcKey.Equals(Object).)
Открытый метод Equals(SfcKey) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and an SfcKey object. (Переопределяет SfcKey.Equals(SfcKey).)
Открытый методСтатический элемент Equals(Object, Object) Determines whether two objects are equal by performing an equality operation on two instances of the System.Object class.
Открытый метод GetHashCode Gets the hash code for a EventField.Key object. (Переопределяет SfcKey.GetHashCode().)
Открытый метод GetType (Производный от Object.)
Открытый метод GetUrnFragment Gets an element of an Urn object. (Переопределяет SfcKey.GetUrnFragment().)
Открытый метод ToString Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Производный от SfcKey.)

В начало

Операторы

  Имя Описание
Открытый операторСтатический элемент Equality(Object, EventField.Key) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Открытый операторСтатический элемент Equality(EventField.Key, EventField.Key) Determines whether two objects are equal by performing an equality operation on two EventField.Key objects.
Открытый операторСтатический элемент Equality(EventField.Key, Object) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Открытый операторСтатический элемент 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.
Открытый операторСтатический элемент Inequality(EventField.Key, EventField.Key) Determines whether two objects are unequal by performing an inequality operation on two EventField.Key objects.
Открытый операторСтатический элемент Inequality(EventField.Key, Object) Determines whether two objects are unequal by performing an inequality operation on a EventField.Key object and another object.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.XEvent