ServerGroup.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..::..ServerGroup..::..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 ServerGroup.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 ServerGroup..::..Key-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
ServerGroup. . :: . .Key() () () () | Initializes a new instance of the ServerGroup..::..Key class. | |
ServerGroup. . :: . .Key(String) | Initializes a new instance of the ServerGroup..::..Key class that has the specified name. | |
ServerGroup. . :: . .Key(ServerGroup. . :: . .Key) | Initializes a new instance of the ServerGroup..::..Key class that is based on the referenced key object. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Name | Gets a String value that specifies the name of the server group key. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the server group represented by the ServerGroup..::..Key object. (Überschreibt SfcKey. . :: . .Equals(Object).) | |
Equals(SfcKey) | Determines whether the object identified by the specified Key is equal to the server group represented by the ServerGroup..::..Key object. (Überschreibt SfcKey. . :: . .Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether the two specified objects are the same. | |
Finalize | (Geerbt von Object.) | |
GetHashCode | Gets the hash code for the server group. (Überschreibt SfcKey. . :: . .GetHashCode() () () ().) | |
GetType | (Geerbt von Object.) | |
GetUrnFragment | Gets the partial unique resource name (URN) path string that represents the server group. (Überschreibt SfcKey. . :: . .GetUrnFragment() () () ().) | |
MemberwiseClone | (Geerbt von Object.) | |
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 | |
---|---|---|
Equality(Object, ServerGroup. . :: . .Key) | Determines whether the object identified by a Object is the same as the object identified by a ServerGroup..::..Key. | |
Equality(ServerGroup. . :: . .Key, ServerGroup. . :: . .Key) | Determines whether the objects identified by two ServerGroup..::..Key objects are the same. | |
Equality(ServerGroup. . :: . .Key, Object) | Determines whether the object identified by a Object is the same as the object identified by a ServerGroup..::..Key. | |
Inequality(Object, ServerGroup. . :: . .Key) | Determines whether the object identified by a Object is different than the object identified by a RegisteredServersStore..::..Key. | |
Inequality(ServerGroup. . :: . .Key, ServerGroup. . :: . .Key) | Determines whether the objects identified by two ServerGroup..::..Key objects are different. | |
Inequality(ServerGroup. . :: . .Key, Object) | Determines whether the object identified by a Object is different than the object identified by a RegisteredServersStore..::..Key. |
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. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.