Clase CollectionItem.Key

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Collector
Ensamblado:  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Sintaxis

'Declaración
Public Class Key _
    Inherits SfcKey
'Uso
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

El tipo CollectionItem..::..Key expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público CollectionItem. . :: . .Key(String) Creates an instance of a key given the key name.
Método público CollectionItem. . :: . .Key(CollectionItem. . :: . .Key) Creates an instance of a [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key] object.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Name Gets or sets the key name.

Arriba

Métodos

  Nombre Descripción
Método público Equals(SfcKey) Instantiates an instance of the [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations. (Invalida 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 (Invalida SfcKey. . :: . .Equals(Object).)
Método público Equals(Object, Object) Does a boolean comparison of two objects passed as parameters.
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode Gets the hash code for a key. (Invalida SfcKey. . :: . .GetHashCode() () () ().)
Método público GetType (Se hereda de Object.)
Método público GetUrnFragment Gets a urn fragment. (Invalida SfcKey. . :: . .GetUrnFragment() () () ().)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString Gets a string representation of the key for the purpose of a default comparison. (Invalida SfcKey. . :: . .ToString() () () ().)

Arriba

Operadores

  Nombre Descripción
Operador públicoMiembro estático Equality(Object, CollectionItem. . :: . .Key) Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key.
Operador públicoMiembro estático 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.
Operador públicoMiembro estático Equality(CollectionItem. . :: . .Key, Object) Does a boolean equality comparision between the object sent as a parameter and the left hand side of the key.
Operador públicoMiembro estático Inequality(Object, CollectionItem. . :: . .Key) Does a boolean inequality comparision between the object sent as a parameter and the right hand side of the key.
Operador públicoMiembro estático 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.
Operador públicoMiembro estático Inequality(CollectionItem. . :: . .Key, Object) Does a boolean inequality comparision between the object sent as a parameter and the left hand side of the key.

Arriba

Campos

  Nombre Descripción
Campo público name Declares the name variable.

Arriba

Comentarios

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

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.