Condividi tramite


Classe NameKey

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

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
    Microsoft.SqlServer.Management.Utility..::..NameKey
      Microsoft.SqlServer.Management.Utility. . :: . .ManagedInstance. . :: . .Key

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
Public MustInherit Class NameKey _
    Inherits SfcKey
'Utilizzo
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

Nel tipo NameKey sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico NameKey Initializes a new instance of the NameKey class with the specified key name.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Name Gets the name of the object represented by the NameKey.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether the object represented by the NameKey is equal to the specified Object. Esegue l'override di SfcKey. . :: . .Equals(Object).
Metodo pubblico Equals(SfcKey) Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. Esegue l'override di SfcKey. . :: . .Equals(SfcKey).
Metodo pubblicoMembro statico Equals(Object, Object) Determines whether the two specified objects are equal.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Returns the hash code for this NameKey. Esegue l'override di SfcKey. . :: . .GetHashCode() () () ().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Gets the unique resource name (URN) path partial string that represents the object identified by the current [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].. Ereditato da SfcKey.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. Ereditato da SfcKey.

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Equality(Object, NameKey) Determines whether the the specified Object is the same as the object represented by the specified NameKey .
Operatore pubblicoMembro statico Equality(NameKey, NameKey) Determines whether the objects represented by the two specified NameKey values are the same.
Operatore pubblicoMembro statico Equality(NameKey, Object) Determines whether the object represented by the specified NameKey is the same as the specified Object.
Operatore pubblicoMembro statico Inequality(Object, NameKey) Determines whether the the specified Object is different than the object represented by the specified NameKey .
Operatore pubblicoMembro statico Inequality(NameKey, NameKey) Determines whether the objects represented by the two specified NameKey values are different.
Operatore pubblicoMembro statico Inequality(NameKey, Object) Determines whether the object represented by the specified NameKey is different than the specified Object.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.