Classe RegisteredServer.Key

Represents the property that is associated with the object that is used to uniquely identify the object.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
    Microsoft.SqlServer.Management.RegisteredServers..::..RegisteredServer..::..Key

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

Syntaxe

'Déclaration
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilisation
Dim instance As RegisteredServer.Key
public sealed class Key : SfcKey
public ref class Key sealed : public SfcKey
[<SealedAttribute>]
type Key =  
    class
        inherit SfcKey
    end
public final class Key extends SfcKey

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

Constructeurs

  Nom Description
Méthode publique RegisteredServer. . :: . .Key() () () () Initializes a new instance of the RegisteredServer..::..Key class.
Méthode publique RegisteredServer. . :: . .Key(String) Initializes a new instance of the RegisteredServer..::..Key class that has the specified name.
Méthode publique RegisteredServer. . :: . .Key(RegisteredServer. . :: . .Key) Initializes a new instance of the RegisteredServer..::..Key class based on the referenced key object.

Haut de la page

Propriétés

  Nom Description
Propriété publique Name Gets the name of the object key.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals(Object) Determines whether the object passed as a parameter is a key. (remplace SfcKey. . :: . .Equals(Object).)
Méthode publique Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. (remplace SfcKey. . :: . .Equals(SfcKey).)
Méthode publiqueMembre statique Equals(Object, Object) Determines whether the two object keys are equal.
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Returns the hash code of the specified key. (remplace SfcKey. . :: . .GetHashCode() () () ().)
Méthode publique GetType (hérité de Object.)
Méthode publique GetUrnFragment Gets the unique resource name path of the specified key. (remplace SfcKey. . :: . .GetUrnFragment() () () ().)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (hérité de SfcKey.)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality(Object, RegisteredServer. . :: . .Key) Determines whether two objects are equal by performing an equality operation on them with the object and right operator specified.
Opérateur publicMembre statique Equality(RegisteredServer. . :: . .Key, RegisteredServer. . :: . .Key) Determines whether two objects are equal by performing an equality operation on them using the specified left operator and right operator.
Opérateur publicMembre statique Equality(RegisteredServer. . :: . .Key, Object) Determines whether two objects are equal by performing an equality operation on them with the object and left operator specified.
Opérateur publicMembre statique Inequality(Object, RegisteredServer. . :: . .Key) Determines whether two objects are equal by performing an inequality operation on them using the specified object and right operator.
Opérateur publicMembre statique Inequality(RegisteredServer. . :: . .Key, RegisteredServer. . :: . .Key) Determines whether two objects are equal by performing an inequality operation on them using the left operator and right operator.
Opérateur publicMembre statique Inequality(RegisteredServer. . :: . .Key, Object) Determines whether two objects are equal by performing an inequality operation on them using the specified object and left operator.

Haut de la page

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

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.