Classe CollectionSet.Key

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
Public Class Key _
    Inherits SfcKey
'Utilisation
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

Le type CollectionSet..::..Key expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique CollectionSet. . :: . .Key(String) Creates an instance of a key given the key name.
Méthode publique CollectionSet. . :: . .Key(CollectionSet. . :: . .Key) Creates an instance of a CollectionSet..::..Key object.

Haut de la page

Propriétés

  Nom Description
Propriété publique Name Gets or sets the key name.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals(SfcKey) Instantiates an instance of the Equals class that is used for Boolean operations. (remplace SfcKey. . :: . .Equals(SfcKey).)
Méthode publique Equals(Object) Performs a Boolean operation to determine if the object passed as a parameter is a key. (remplace SfcKey. . :: . .Equals(Object).)
Méthode publique Equals(Object, Object) Does a Boolean comparison of two objects passed as parameters.
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Gets the hash code for a key. (remplace SfcKey. . :: . .GetHashCode() () () ().)
Méthode publique GetType (hérité de Object.)
Méthode publique GetUrnFragment Gets a urn fragment. (remplace SfcKey. . :: . .GetUrnFragment() () () ().)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Gets a string representation of the key for the purpose of a default comparison. (remplace SfcKey. . :: . .ToString() () () ().)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality(Object, CollectionSet. . :: . .Key) Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key.
Opérateur publicMembre statique 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.
Opérateur publicMembre statique Equality(CollectionSet. . :: . .Key, Object) Does a Boolean equality comparison between the object sent as a parameter and the left hand side of the key.
Opérateur publicMembre statique Inequality(Object, CollectionSet. . :: . .Key) Does a Boolean inequality comparison between the object sent as a parameter and the right hand side of the key.
Opérateur publicMembre statique 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.
Opérateur publicMembre statique Inequality(CollectionSet. . :: . .Key, Object) Does a Boolean inequality comparison between the object sent as a parameter and the left hand side of the key.

Haut de la page

Champs

  Nom Description
Champ public name Configures the name property for the key.

Haut de la page

Notes

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.