Share via


Classe CollectionSet.Key

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

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public Class Key _
    Inherits SfcKey
'Uso
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

O tipo CollectionSet..::..Key expõe os membros a seguir.

Construtores

  Nome Descrição
Método público CollectionSet. . :: . .Key(String) Creates an instance of a key given the key name.
Método público CollectionSet. . :: . .Key(CollectionSet. . :: . .Key) Creates an instance of a CollectionSet..::..Key object.

Início

Propriedades

  Nome Descrição
Propriedade pública Name Gets or sets the key name.

Início

Métodos

  Nome Descrição
Método público Equals(SfcKey) Instantiates an instance of the Equals class that is used for Boolean operations. (Substitui SfcKey. . :: . .Equals(SfcKey).)
Método público Equals(Object) Performs a Boolean operation to determine if the object passed as a parameter is a key. (Substitui SfcKey. . :: . .Equals(Object).)
Método público Equals(Object, Object) Does a Boolean comparison of two objects passed as parameters.
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode Gets the hash code for a key. (Substitui SfcKey. . :: . .GetHashCode() () () ().)
Método público GetType (Herdado de Object.)
Método público GetUrnFragment Gets a urn fragment. (Substitui SfcKey. . :: . .GetUrnFragment() () () ().)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString Gets a string representation of the key for the purpose of a default comparison. (Substitui SfcKey. . :: . .ToString() () () ().)

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Equality(Object, CollectionSet. . :: . .Key) Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key.
Operador públicoMembro estático 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.
Operador públicoMembro estático Equality(CollectionSet. . :: . .Key, Object) Does a Boolean equality comparison between the object sent as a parameter and the left hand side of the key.
Operador públicoMembro estático Inequality(Object, CollectionSet. . :: . .Key) Does a Boolean inequality comparison between the object sent as a parameter and the right hand side of the key.
Operador públicoMembro estático 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.
Operador públicoMembro estático Inequality(CollectionSet. . :: . .Key, Object) Does a Boolean inequality comparison between the object sent as a parameter and the left hand side of the key.

Início

Campos

  Nome Descrição
Campo público name Configures the name property for the key.

Início

Comentários

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

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.