Класс CollectionItem.Key
The CollectionItem.Key class inherits from SfcAbstractKey and is used for identification key operations.
Иерархия наследования
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Collector.CollectionItem.Key
Пространство имен: Microsoft.SqlServer.Management.Collector
Сборка: Microsoft.SqlServer.Management.Collector (в Microsoft.SqlServer.Management.Collector.dll)
Синтаксис
'Декларация
Public Class Key _
Inherits SfcKey
'Применение
Dim instance As CollectionItem.Key
public class Key : SfcKey
public ref class Key : public SfcKey
type Key =
class
inherit SfcKey
end
public class Key extends SfcKey
Тип CollectionItem.Key обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
CollectionItem.Key(String) | Creates an instance of a key given the key name. | |
CollectionItem.Key(CollectionItem.Key) | Creates an instance of a [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key] object. |
В начало
Свойства
Имя | Описание | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (Производный от SfcKey.) | |
Name | Gets or sets the key name. |
В начало
Методы
Имя | Описание | |
---|---|---|
Equals(Object) | Performs a boolean operation to determine if the object passed as a parameter is a key (Переопределяет SfcKey.Equals(Object).) | |
Equals(SfcKey) | Instantiates an instance of the [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations. (Переопределяет SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Does a boolean comparison of two objects passed as parameters. | |
Finalize | (Производный от Object.) | |
GetHashCode | Gets the hash code for a key. (Переопределяет SfcKey.GetHashCode().) | |
GetType | (Производный от Object.) | |
GetUrnFragment | Gets a urn fragment. (Переопределяет SfcKey.GetUrnFragment().) | |
MemberwiseClone | (Производный от Object.) | |
ToString | Gets a string representation of the key for the purpose of a default comparison. (Переопределяет SfcKey.ToString().) |
В начало
Операторы
Имя | Описание | |
---|---|---|
Equality(Object, CollectionItem.Key) | Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key. | |
Equality(CollectionItem.Key, CollectionItem.Key) | Does a boolean equality comparision between the left hand side of the key and the right hand side of the key. | |
Equality(CollectionItem.Key, Object) | Does a boolean equality comparision between the object sent as a parameter and the left hand side of the key. | |
Inequality(Object, CollectionItem.Key) | Does a boolean inequality comparision between the object sent as a parameter and the right hand side of the key. | |
Inequality(CollectionItem.Key, CollectionItem.Key) | Does a boolean inequality comparision between the left hand side of the key and the right hand side of the key. | |
Inequality(CollectionItem.Key, Object) | Does a boolean inequality comparision between the object sent as a parameter and the left hand side of the key. |
В начало
Поля
Имя | Описание | |
---|---|---|
name | Declares the name variable. |
В начало
Замечания
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.