ServerGroup.Key 类

The ServerGroup..::..Key class represents the property that is associated with the object that is used to uniquely identify the object.

继承层次结构

System. . :: . .Object
  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() () () ()
公共方法 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

页首

方法

  名称 说明
公共方法 Equals(SfcKey) (覆盖 SfcKeyEquals(SfcKey)。)
公共方法 Equals(Object) (覆盖 SfcKeyEquals(Object)。)
公共方法静态成员 Equals(Object, Object)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (覆盖 SfcKeyGetHashCode()()()()。)
公共方法 GetType (从 Object 继承。)
公共方法 GetUrnFragment (覆盖 SfcKeyGetUrnFragment()()()()。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcKey 继承。)

页首

运算符

  名称 说明
公共运算符静态成员 Equality(Object, ServerGroup. . :: . .Key) Determines whether two objects are equal by performing an equality operation on them.
公共运算符静态成员 Equality(ServerGroup. . :: . .Key, ServerGroup. . :: . .Key) Determines whether two objects are equal by performing an equality operation on them.
公共运算符静态成员 Equality(ServerGroup. . :: . .Key, Object)
公共运算符静态成员 Inequality(Object, ServerGroup. . :: . .Key) Determines whether two objects are equal by performing an inequality operation on them.
公共运算符静态成员 Inequality(ServerGroup. . :: . .Key, ServerGroup. . :: . .Key) Determines whether two objects are equal by performing an inequality operation on them.
公共运算符静态成员 Inequality(ServerGroup. . :: . .Key, Object) Determines whether two objects are equal by performing an inequality operation on them.

页首

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

Thread Safety

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。