CollectionSet.Key 类

The CollectionSet.Key class inherits from SfcAbstractKey and is used for identification key operations

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Collector.CollectionSet.Key

命名空间:  Microsoft.SqlServer.Management.Collector
程序集:  Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)

语法

声明
Public Class Key _
    Inherits SfcKey
用法
Dim instance As CollectionSet.Key
public class Key : SfcKey
public ref class Key : public SfcKey
type Key =  
    class 
        inherit SfcKey 
    end
public class Key extends SfcKey

CollectionSet.Key 类型公开以下成员。

构造函数

  名称 说明
公共方法 CollectionSet.Key(String) Creates an instance of a key given the key name.
公共方法 CollectionSet.Key(CollectionSet.Key) Creates an instance of a CollectionSet.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 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, CollectionSet.Key) Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key.
公共运算符静态成员 Equality(CollectionSet.Key, CollectionSet.Key) Does a Boolean equality comparison between the left hand side of the key and the right hand side of the key.
公共运算符静态成员 Equality(CollectionSet.Key, Object) Does a Boolean equality comparison between the object sent as a parameter and the left hand side of the key.
公共运算符静态成员 Inequality(Object, CollectionSet.Key) Does a Boolean inequality comparison between the object sent as a parameter and the right hand side of the key.
公共运算符静态成员 Inequality(CollectionSet.Key, CollectionSet.Key) Does a boolean inequality comparison between the left hand side of the key and the right hand side of the key.
公共运算符静态成员 Inequality(CollectionSet.Key, Object) Does a Boolean inequality comparison between the object sent as a parameter and the left hand side of the key.

页首

字段

  名称 说明
公共字段 name Configures the name property for the key.

页首

注释

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

线程安全

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

请参阅

参考

Microsoft.SqlServer.Management.Collector 命名空间