Класс Session.Key
Internal identity key class for Session class.
Иерархия наследования
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.XEvent.Session.Key
Пространство имен: Microsoft.SqlServer.Management.XEvent
Сборка: Microsoft.SqlServer.Management.XEvent (в Microsoft.SqlServer.Management.XEvent.dll)
Синтаксис
'Декларация
Public NotInheritable Class Key _
Inherits SfcKey
'Применение
Dim instance As Session.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
Тип Session.Key обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
![]() |
Session.Key() | Initializes a new instance of the Session.Key class. |
![]() |
Session.Key(String) | Initializes a new instance of the Session.Key class. |
![]() |
Session.Key(Session.Key) | Initializes a new instance of the Session.Key class. |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
InstanceType | Gets the type of the instance class associated with this key class. (Производный от SfcKey.) |
![]() |
Name | Gets the name of the Session.Key. |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals(Object) | Determines whether a Session.Key object is equal to another object. (Переопределяет SfcKey.Equals(Object).) |
![]() |
Equals(SfcKey) | Determines whether a Session.Key object is equal to an SfcKey object. (Переопределяет SfcKey.Equals(SfcKey).) |
![]() ![]() |
Equals(Object, Object) | Determines whether two objects are is equal. |
![]() |
GetHashCode | Gets the hash code of a Session.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, Session.Key) | Determines whether a Session.Key object is equal to another object. |
![]() ![]() |
Equality(Session.Key, Session.Key) | Determines whether two Session.Key objects are equal. |
![]() ![]() |
Equality(Session.Key, Object) | Determines whether a Session.Key object is equal to another object. |
![]() ![]() |
Inequality(Object, Session.Key) | Determines whether a Session.Key object is not equal to another object. |
![]() ![]() |
Inequality(Session.Key, Session.Key) | Determines whether two Session.Key objects are not equal. |
![]() ![]() |
Inequality(Session.Key, Object) | Determines whether a Session.Key object is not equal to another object. |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.