Export (0) Print
Expand All

CollectionItem.Key Class

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

Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Collector.CollectionItem.Key

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

public class Key : SfcKey

The CollectionItem.Key type exposes the following members.

  NameDescription
Public methodCollectionItem.Key(String)Creates an instance of a key given the key name.
Public methodCollectionItem.Key(CollectionItem.Key)Creates an instance of a [T:] [Microsoft.SqlServer.Management.Collector.CollectionItem.Key] object.
Top

  NameDescription
Public propertyInstanceTypeGets the type of the instance class associated with this key class. (Inherited from SfcKey.)
Public propertyNameGets or sets the key name.
Top

  NameDescription
Public methodEquals(Object)Performs a boolean operation to determine if the object passed as a parameter is a key (Overrides SfcKey.Equals(Object).)
Public methodEquals(SfcKey)Instantiates an instance of the [T:] [Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations. (Overrides SfcKey.Equals(SfcKey).)
Public methodEquals(Object, Object)Does a boolean comparison of two objects passed as parameters.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeGets the hash code for a key. (Overrides SfcKey.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodGetUrnFragmentGets a urn fragment. (Overrides SfcKey.GetUrnFragment().)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringGets a string representation of the key for the purpose of a default comparison. (Overrides SfcKey.ToString().)
Top

  NameDescription
Public operatorStatic memberEquality(Object, CollectionItem.Key)Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key.
Public operatorStatic memberEquality(CollectionItem.Key, CollectionItem.Key)Does a boolean equality comparision between the left hand side of the key and the right hand side of the key.
Public operatorStatic memberEquality(CollectionItem.Key, Object)Does a boolean equality comparision between the object sent as a parameter and the left hand side of the key.
Public operatorStatic memberInequality(Object, CollectionItem.Key)Does a boolean inequality comparision between the object sent as a parameter and the right hand side of the key.
Public operatorStatic memberInequality(CollectionItem.Key, CollectionItem.Key)Does a boolean inequality comparision between the left hand side of the key and the right hand side of the key.
Public operatorStatic memberInequality(CollectionItem.Key, Object)Does a boolean inequality comparision between the object sent as a parameter and the left hand side of the key.
Top

  NameDescription
Public fieldnameDeclares the name variable.
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft