مشاركة عبر


CollectionSet.Key Class

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

Inheritance Hierarchy

System.Object
  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)

Syntax

'Declaration
Public Class Key _
    Inherits SfcKey
'Usage
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

The CollectionSet.Key type exposes the following members.

Constructors

  Name Description
Public method CollectionSet.Key(String) Creates an instance of a key given the key name.
Public method CollectionSet.Key(CollectionSet.Key) Creates an instance of a CollectionSet.Key object.

Top

Properties

  Name Description
Public property InstanceType Gets the type of the instance class associated with this key class. (Inherited from SfcKey.)
Public property Name Gets or sets the key name.

Top

Methods

  Name Description
Public method Equals(Object) Performs a Boolean operation to determine if the object passed as a parameter is a key. (Overrides SfcKey.Equals(Object).)
Public method Equals(SfcKey) Instantiates an instance of the Equals class that is used for Boolean operations. (Overrides SfcKey.Equals(SfcKey).)
Public method Equals(Object, Object) Does a Boolean comparison of two objects passed as parameters.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets the hash code for a key. (Overrides SfcKey.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method GetUrnFragment Gets a urn fragment. (Overrides SfcKey.GetUrnFragment().)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Gets a string representation of the key for the purpose of a default comparison. (Overrides SfcKey.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality(Object, CollectionSet.Key) Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key.
Public operatorStatic member 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.
Public operatorStatic member Equality(CollectionSet.Key, Object) Does a Boolean equality comparison between the object sent as a parameter and the left hand side of the key.
Public operatorStatic member Inequality(Object, CollectionSet.Key) Does a Boolean inequality comparison between the object sent as a parameter and the right hand side of the key.
Public operatorStatic member 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.
Public operatorStatic member Inequality(CollectionSet.Key, Object) Does a Boolean inequality comparison between the object sent as a parameter and the left hand side of the key.

Top

Fields

  Name Description
Public field name Configures the name property for the key.

Top

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Collector Namespace