ManagedInstance.Key-Klasse
The ManagedInstance.Key class represents the key that identifies the ManagedInstance class.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Utility.NameKey
Microsoft.SqlServer.Management.Utility.ManagedInstance.Key
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Public NotInheritable Class Key _
Inherits NameKey
'Usage
Dim instance As ManagedInstance.Key
public sealed class Key : NameKey
public ref class Key sealed : public NameKey
[<SealedAttribute>]
type Key =
class
inherit NameKey
end
public final class Key extends NameKey
Der ManagedInstance.Key-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
ManagedInstance.Key | Initializes a new instance of the ManagedInstance.Key class that has the specified name. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (Geerbt von SfcKey.) | |
Name | Gets the name of the object represented by the NameKey. (Geerbt von NameKey.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals(Object) | Determines whether the object represented by the NameKey is equal to the specified Object. (Geerbt von NameKey.) | |
Equals(SfcKey) | Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (Geerbt von NameKey.) | |
GetHashCode | Returns the hash code for this NameKey. (Geerbt von NameKey.) | |
GetType | (Geerbt von Object.) | |
GetUrnFragment | Gets the URN path partial string that represents the managed instance. (Überschreibt SfcKey.GetUrnFragment().) | |
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
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.