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 | |
---|---|---|
RegisteredServer.Key() | Initializes a new instance of the RegisteredServer.Key class. | |
RegisteredServer.Key(String) | Initializes a new instance of the RegisteredServer.Key class that has the specified name. | |
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 | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (hérité de SfcKey.) | |
Name | Gets the name of the object key. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals(Object) | Determines whether the object passed as a parameter is a key. (remplace SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether the specified object key is equal to the referenced object key. (remplace SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether the two object keys are equal. | |
GetHashCode | Returns the hash code of the specified key. (remplace SfcKey.GetHashCode().) | |
GetType | (hérité de Object.) | |
GetUrnFragment | Gets the unique resource name path of the specified key. (remplace SfcKey.GetUrnFragment().) | |
ToString | Ne faites pas directement référence à 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 | |
---|---|---|
Equality(Object, RegisteredServer.Key) | Determines whether two objects are equal by performing an equality operation on them with the object and right operator specified. | |
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. | |
Equality(RegisteredServer.Key, Object) | Determines whether two objects are equal by performing an equality operation on them with the object and left operator specified. | |
Inequality(Object, RegisteredServer.Key) | Determines whether two objects are equal by performing an inequality operation on them using the specified object and right operator. | |
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. | |
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.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.RegisteredServers