Condividi tramite


Classe CollectionItem.Key

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Sintassi

'Dichiarazione
Public Class Key _
    Inherits SfcKey
'Utilizzo
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

Nel tipo CollectionItem..::..Key sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico CollectionItem. . :: . .Key(String) Creates an instance of a key given the key name.
Metodo pubblico CollectionItem. . :: . .Key(CollectionItem. . :: . .Key) Creates an instance of a [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key] object.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Name Gets or sets the key name.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(SfcKey) Instantiates an instance of the [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations. Esegue l'override di SfcKey. . :: . .Equals(SfcKey).
Metodo pubblico Equals(Object) Performs a boolean operation to determine if the object passed as a parameter is a key Esegue l'override di SfcKey. . :: . .Equals(Object).
Metodo pubblico Equals(Object, Object) Does a boolean comparison of two objects passed as parameters.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Gets the hash code for a key. Esegue l'override di SfcKey. . :: . .GetHashCode() () () ().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Gets a urn fragment. Esegue l'override di SfcKey. . :: . .GetUrnFragment() () () ().
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Gets a string representation of the key for the purpose of a default comparison. Esegue l'override di SfcKey. . :: . .ToString() () () ().

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Equality(Object, CollectionItem. . :: . .Key) Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key.
Operatore pubblicoMembro statico 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.
Operatore pubblicoMembro statico Equality(CollectionItem. . :: . .Key, Object) Does a boolean equality comparision between the object sent as a parameter and the left hand side of the key.
Operatore pubblicoMembro statico Inequality(Object, CollectionItem. . :: . .Key) Does a boolean inequality comparision between the object sent as a parameter and the right hand side of the key.
Operatore pubblicoMembro statico 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.
Operatore pubblicoMembro statico Inequality(CollectionItem. . :: . .Key, Object) Does a boolean inequality comparision between the object sent as a parameter and the left hand side of the key.

In alto

Campi

  Nome Descrizione
Campo pubblico name Declares the name variable.

In alto

Osservazioni

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

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.