Classe CollectionItem.Key
The CollectionItem.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.CollectionItem.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 CollectionItem.Key
public class Key : SfcKey
public ref class Key : public SfcKey
type Key =
class
inherit SfcKey
end
public class Key extends SfcKey
Le type CollectionItem.Key expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
CollectionItem.Key(String) | Creates an instance of a key given the key name. | |
CollectionItem.Key(CollectionItem.Key) | Creates an instance of a [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key] object. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (hérité de SfcKey.) | |
Name | Gets or sets the key name. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals(Object) | Performs a boolean operation to determine if the object passed as a parameter is a key (remplace SfcKey.Equals(Object).) | |
Equals(SfcKey) | Instantiates an instance of the [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations. (remplace SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Does a boolean comparison of two objects passed as parameters. | |
Finalize | (hérité de Object.) | |
GetHashCode | Gets the hash code for a key. (remplace SfcKey.GetHashCode().) | |
GetType | (hérité de Object.) | |
GetUrnFragment | Gets a urn fragment. (remplace SfcKey.GetUrnFragment().) | |
MemberwiseClone | (hérité de Object.) | |
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 | |
---|---|---|
Equality(Object, CollectionItem.Key) | Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key. | |
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. | |
Equality(CollectionItem.Key, Object) | Does a boolean equality comparision between the object sent as a parameter and the left hand side of the key. | |
Inequality(Object, CollectionItem.Key) | Does a boolean inequality comparision between the object sent as a parameter and the right hand side of the key. | |
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. | |
Inequality(CollectionItem.Key, Object) | Does a boolean inequality comparision between the object sent as a parameter and the left hand side of the key. |
Haut de la page
Champs
Nom | Description | |
---|---|---|
name | Declares the name variable. |
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.