Класс Computer.Key
The Computer.Key class represents the key that identifies the Computer class.
Иерархия наследования
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Utility.Computer.Key
Пространство имен: Microsoft.SqlServer.Management.Utility
Сборка: Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)
Синтаксис
'Декларация
Public NotInheritable Class Key _
Inherits SfcKey
'Применение
Dim instance As Computer.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
Тип Computer.Key обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
![]() |
Computer.Key() | Initializes a new instance of the Computer.Key class that has the specified name. |
![]() |
Computer.Key(String) | Initializes a new instance of the Computer.Key class that has the specified name. |
![]() |
Computer.Key(Computer.Key) | Initializes a new instance of the Computer.Key class based on the specified key. |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
InstanceType | Gets the type of the instance class associated with this key class. (Производный от SfcKey.) |
![]() |
Name | Gets the name of the Computer key. |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals(Object) | Determines whether the specified object key is equal to the referenced string value. (Переопределяет SfcKey.Equals(Object).) |
![]() |
Equals(SfcKey) | Determines whether the two specified objects are equal. (Переопределяет SfcKey.Equals(SfcKey).) |
![]() ![]() |
Equals(Object, Object) | Determines whether the two specified objects are equal. |
![]() |
GetHashCode | Gets the hash code for the object. (Переопределяет SfcKey.GetHashCode().) |
![]() |
GetType | (Производный от Object.) |
![]() |
GetUrnFragment | Gets the URN path partial string that represents the computer. (Переопределяет 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, Computer.Key) | Determines whether the specified object is equal to the object key. |
![]() ![]() |
Equality(Computer.Key, Computer.Key) | Determines whether the specified object key is equal to the second object key. |
![]() ![]() |
Equality(Computer.Key, Object) | Determines whether the specified object key is equal to the object. |
![]() ![]() |
Inequality(Object, Computer.Key) | Determines whether the specified object is not equal to the object key. |
![]() ![]() |
Inequality(Computer.Key, Computer.Key) | Determines whether the specified object key is not equal to the second object key. |
![]() ![]() |
Inequality(Computer.Key, Object) | Determines whether the specified object key is not equal to the object. |
В начало
Замечания
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.