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


Класс Action.Key

Represents the SQL Foundation Class key class used for identification of an Action object.

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

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

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

Синтаксис

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

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

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

  Имя Описание
Открытый метод Action.Key() Initializes a new instance of the Action.Key class.
Открытый метод Action.Key(String) Initializes a new instance of the Action.Key class.
Открытый метод Action.Key(Action.Key) Initializes a new instance of the Action.Key class from an Action.Key object.

В начало

Свойства

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

В начало

Методы

  Имя Описание
Открытый метод Equals(Object) Determines whether a Action.Key object is equal to the Object object supplied by the obj parameter. (Переопределяет SfcKey.Equals(Object).)
Открытый метод Equals(SfcKey) Determines whether an Action.Key object is equal to an SfcKey object supplied by the key parameter. (Переопределяет SfcKey.Equals(SfcKey).)
Открытый методСтатический элемент Equals(Object, Object) Determines whether two instances of the Object class are equal.
Открытый метод GetHashCode Gets the hash code of an Action.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, Action.Key) Determines whether two Action.Key objects are equal.
Открытый операторСтатический элемент Equality(Action.Key, Action.Key) Determines whether two Action.Key objects are equal.
Открытый операторСтатический элемент Equality(Action.Key, Object) Determines whether two Action.Key objects are equal.
Открытый операторСтатический элемент Inequality(Object, Action.Key) Determines whether two Action.Key objects are not equal.
Открытый операторСтатический элемент Inequality(Action.Key, Action.Key) Determines whether two Action.Key objects are not equal.
Открытый операторСтатический элемент Inequality(Action.Key, Object) Determines whether two Action.Key objects are not equal.

В начало

Замечания

The Microsoft.SqlServer.Management.Sdk.Sfc.dll contains the assemblies for SQL Foundation Classes. The library is located at the directory: %ProgramFiles%\Microsoft SQL Server\100\SDK\Assemblies.

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

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

См. также

Справочник

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