Freigeben über


RegisteredServer.Key-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Public NotInheritable Class Key _
    Inherits SfcKey
'Usage
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

Der RegisteredServer.Key-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode RegisteredServer.Key() Initializes a new instance of the RegisteredServer.Key class.
Öffentliche Methode RegisteredServer.Key(String) Initializes a new instance of the RegisteredServer.Key class that has the specified name.
Öffentliche Methode RegisteredServer.Key(RegisteredServer.Key) Initializes a new instance of the RegisteredServer.Key class based on the referenced key object.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft InstanceType Gets the type of the instance class associated with this key class. (Geerbt von SfcKey.)
Öffentliche Eigenschaft Name Gets the name of the object key.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals(Object) Determines whether the object passed as a parameter is a key. (Überschreibt SfcKey.Equals(Object).)
Öffentliche Methode Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. (Überschreibt SfcKey.Equals(SfcKey).)
Öffentliche MethodeStatisches Element Equals(Object, Object) Determines whether the two object keys are equal.
Öffentliche Methode GetHashCode Returns the hash code of the specified key. (Überschreibt SfcKey.GetHashCode().)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode GetUrnFragment Gets the unique resource name path of the specified key. (Überschreibt SfcKey.GetUrnFragment().)
Öffentliche Methode ToString Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Geerbt von SfcKey.)

Zum Anfang

Operatoren

  Name Beschreibung
Öffentlicher OperatorStatisches Element Equality(Object, RegisteredServer.Key) Determines whether two objects are equal by performing an equality operation on them with the object and right operator specified.
Öffentlicher OperatorStatisches Element 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.
Öffentlicher OperatorStatisches Element Equality(RegisteredServer.Key, Object) Determines whether two objects are equal by performing an equality operation on them with the object and left operator specified.
Öffentlicher OperatorStatisches Element Inequality(Object, RegisteredServer.Key) Determines whether two objects are equal by performing an inequality operation on them using the specified object and right operator.
Öffentlicher OperatorStatisches Element 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.
Öffentlicher OperatorStatisches Element Inequality(RegisteredServer.Key, Object) Determines whether two objects are equal by performing an inequality operation on them using the specified object and left operator.

Zum Anfang

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.RegisteredServers-Namespace