Freigeben über


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
Öffentliche Methode ManagedInstance. . :: . .Key Initializes a new instance of the ManagedInstance..::..Key class that has the specified name.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Name Gets the name of the object represented by the NameKey. (Geerbt von NameKey.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals(Object) Determines whether the object represented by the NameKey is equal to the specified Object. (Geerbt von NameKey.)
Öffentliche Methode Equals(SfcKey) Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (Geerbt von NameKey.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode Returns the hash code for this NameKey. (Geerbt von NameKey.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode GetUrnFragment Gets the URN path partial string that represents the managed instance. (Überschreibt SfcKey. . :: . .GetUrnFragment() () () ().)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Ö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

Threadsicherheit

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