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. |
页首
方法
名称 | 说明 | |
---|---|---|
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
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。不保证所有实例成员都是线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。