Freigeben über


NameKey-Klasse

Identifies Microsoft.SqlServer.Utility objects that use a name property as an Sfc key.

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 MustInherit Class NameKey _
    Inherits SfcKey
'Usage
Dim instance As NameKey
public abstract class NameKey : SfcKey
public ref class NameKey abstract : public SfcKey
[<AbstractClassAttribute>]
type NameKey =  
    class 
        inherit SfcKey 
    end
public abstract class NameKey extends SfcKey

Der NameKey-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode NameKey Initializes a new instance of the NameKey class with the specified key name.

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 represented by the NameKey.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals(Object) Determines whether the object represented by the NameKey is equal to the specified Object. (Überschreibt SfcKey.Equals(Object).)
Öffentliche Methode Equals(SfcKey) Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (Überschreibt SfcKey.Equals(SfcKey).)
Öffentliche MethodeStatisches Element Equals(Object, Object) Determines whether the two specified objects are equal.
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode Returns the hash code for this NameKey. (Überschreibt SfcKey.GetHashCode().)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode GetUrnFragment Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets the unique resource name (URN) path partial string that represents the object identified by the current [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].. (Geerbt von SfcKey.)
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

Operatoren

  Name Beschreibung
Öffentlicher OperatorStatisches Element Equality(Object, NameKey) Determines whether the the specified Object is the same as the object represented by the specified NameKey .
Öffentlicher OperatorStatisches Element Equality(NameKey, NameKey) Determines whether the objects represented by the two specified NameKey values are the same.
Öffentlicher OperatorStatisches Element Equality(NameKey, Object) Determines whether the object represented by the specified NameKey is the same as the specified Object.
Öffentlicher OperatorStatisches Element Inequality(Object, NameKey) Determines whether the the specified Object is different than the object represented by the specified NameKey .
Öffentlicher OperatorStatisches Element Inequality(NameKey, NameKey) Determines whether the objects represented by the two specified NameKey values are different.
Öffentlicher OperatorStatisches Element Inequality(NameKey, Object) Determines whether the object represented by the specified NameKey is different than the specified Object.

Zum Anfang

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.Utility-Namespace