Класс ServerGroup.Key
Represents the property that is associated with the object that is used to uniquely identify the object.
Иерархия наследования
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
Microsoft.SqlServer.Management.RegisteredServers..::..ServerGroup..::..Key
Пространство имен: Microsoft.SqlServer.Management.RegisteredServers
Сборка: Microsoft.SqlServer.Management.RegisteredServers (в Microsoft.SqlServer.Management.RegisteredServers.dll)
Синтаксис
'Декларация
Public NotInheritable Class Key _
Inherits SfcKey
'Применение
Dim instance As ServerGroup.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
Тип ServerGroup..::..Key обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
ServerGroup. . :: . .Key() () () () | Initializes a new instance of the ServerGroup..::..Key class. |
![]() |
ServerGroup. . :: . .Key(String) | Initializes a new instance of the ServerGroup..::..Key class that has the specified name. |
![]() |
ServerGroup. . :: . .Key(ServerGroup. . :: . .Key) | Initializes a new instance of the ServerGroup..::..Key class that is based on the referenced key object. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
Name | Gets a String value that specifies the name of the server group key. |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Equals(Object) | Determines whether the specified Object is equal to the server group represented by the ServerGroup..::..Key object. (Переопределяет SfcKey. . :: . .Equals(Object).) |
![]() |
Equals(SfcKey) | Determines whether the object identified by the specified Key is equal to the server group represented by the ServerGroup..::..Key object. (Переопределяет SfcKey. . :: . .Equals(SfcKey).) |
![]() ![]() |
Equals(Object, Object) | Determines whether the two specified objects are the same. |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | Gets the hash code for the server group. (Переопределяет SfcKey. . :: . .GetHashCode() () () ().) |
![]() |
GetType | (Производный от Object.) |
![]() |
GetUrnFragment | Gets the partial unique resource name (URN) path string that represents the server group. (Переопределяет SfcKey. . :: . .GetUrnFragment() () () ().) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
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, ServerGroup. . :: . .Key) | Determines whether the object identified by a Object is the same as the object identified by a ServerGroup..::..Key. |
![]() ![]() |
Equality(ServerGroup. . :: . .Key, ServerGroup. . :: . .Key) | Determines whether the objects identified by two ServerGroup..::..Key objects are the same. |
![]() ![]() |
Equality(ServerGroup. . :: . .Key, Object) | Determines whether the object identified by a Object is the same as the object identified by a ServerGroup..::..Key. |
![]() ![]() |
Inequality(Object, ServerGroup. . :: . .Key) | Determines whether the object identified by a Object is different than the object identified by a RegisteredServersStore..::..Key. |
![]() ![]() |
Inequality(ServerGroup. . :: . .Key, ServerGroup. . :: . .Key) | Determines whether the objects identified by two ServerGroup..::..Key objects are different. |
![]() ![]() |
Inequality(ServerGroup. . :: . .Key, Object) | Determines whether the object identified by a Object is different than the object identified by a RegisteredServersStore..::..Key. |
В начало
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)
.gif)
.gif)