Freigeben über


CollectionItem.Key-Klasse

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

Vererbungshierarchie

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

Syntax

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

Der CollectionItem.Key-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode CollectionItem.Key(String) Creates an instance of a key given the key name.
Öffentliche Methode CollectionItem.Key(CollectionItem.Key) Creates an instance of a [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key] object.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft InstanceType Gets the type of the instance class associated with this key class. (Geerbt von SfcKey.)
Öffentliche Eigenschaft Name Gets or sets the key name.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals(Object) Performs a boolean operation to determine if the object passed as a parameter is a key (Überschreibt SfcKey.Equals(Object).)
Öffentliche Methode Equals(SfcKey) Instantiates an instance of the [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations. (Überschreibt SfcKey.Equals(SfcKey).)
Öffentliche Methode Equals(Object, Object) Does a boolean comparison of two objects passed as parameters.
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode Gets the hash code for a key. (Überschreibt SfcKey.GetHashCode().)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode GetUrnFragment Gets a urn fragment. (Überschreibt SfcKey.GetUrnFragment().)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString Gets a string representation of the key for the purpose of a default comparison. (Überschreibt SfcKey.ToString().)

Zum Anfang

Operatoren

  Name Beschreibung
Öffentlicher OperatorStatisches Element Equality(Object, CollectionItem.Key) Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key.
Öffentlicher OperatorStatisches Element Equality(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.
Öffentlicher OperatorStatisches Element Equality(CollectionItem.Key, Object) Does a boolean equality comparision between the object sent as a parameter and the left hand side of the key.
Öffentlicher OperatorStatisches Element Inequality(Object, CollectionItem.Key) Does a boolean inequality comparision between the object sent as a parameter and the right hand side of the key.
Öffentlicher OperatorStatisches Element Inequality(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.
Öffentlicher OperatorStatisches Element Inequality(CollectionItem.Key, Object) Does a boolean inequality comparision between the object sent as a parameter and the left hand side of the key.

Zum Anfang

Felder

  Name Beschreibung
Öffentliches Feld name Declares the name variable.

Zum Anfang

Hinweise

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Collector-Namespace