Share via


CollectorConfigStore.Key Class

The CollectorConfigStore.Key class inherits from DomainRootKey and is used for identification key operations.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Sdk.Sfc.DomainRootKey
      Microsoft.SqlServer.Management.Collector.CollectorConfigStore.Key

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

Syntax

'Declaration
Public Class Key _
    Inherits DomainRootKey
'Usage
Dim instance As CollectorConfigStore.Key
public class Key : DomainRootKey
public ref class Key : public DomainRootKey
type Key =  
    class 
        inherit DomainRootKey 
    end
public class Key extends DomainRootKey

The CollectorConfigStore.Key type exposes the following members.

Constructors

  Name Description
Public method CollectorConfigStore.Key Instantiates an instance of the CollectorConfigStore.Key class.

Top

Properties

  Name Description
Public property Domain Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from DomainRootKey.)
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 [T:][Microsoft.SqlServer.Management.Collector.CollectorConfigStore.Key.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 Do not reference this member directly in your code. It supports the SQL Server infrastructure. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Inherited from SfcKey.)

Top

Operators

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