CollectionSet.Key Class
SQL Server 2012
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.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Collector.CollectionSet.Key
Namespace: Microsoft.SqlServer.Management.Collector
Assembly: Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)
The CollectionSet.Key type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | InstanceType | Gets the type of the instance class associated with this key class. (Inherited from SfcKey.) |
![]() | Name | Gets or sets the key name. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Performs a Boolean operation to determine if the object passed as a parameter is a key. (Overrides SfcKey.Equals(Object).) |
![]() | Equals(SfcKey) | Instantiates an instance of the Equals class that is used for Boolean operations. (Overrides SfcKey.Equals(SfcKey).) |
![]() | Equals(Object, Object) | Does a Boolean comparison of two objects passed as parameters. |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | Gets the hash code for a key. (Overrides SfcKey.GetHashCode().) |
![]() | GetType | (Inherited from Object.) |
![]() | GetUrnFragment | Gets a urn fragment. (Overrides SfcKey.GetUrnFragment().) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Gets a string representation of the key for the purpose of a default comparison. (Overrides SfcKey.ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | 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. |

