Condividi tramite


Classe DacInstance.Key

The DacInstance..::..Key class represents the key that identifies the DacInstance class.

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
    Microsoft.SqlServer.Management.Dac..::..DacInstance..::..Key

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

Sintassi

'Dichiarazione
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilizzo
Dim instance As DacInstance.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

Nel tipo DacInstance..::..Key sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico DacInstance. . :: . .Key() () () () Initializes a new instance of the DacInstance..::..Key class that has the specified name.
Metodo pubblico DacInstance. . :: . .Key(String) Initializes a new instance of the DacInstance..::..Key class that has the specified name.
Metodo pubblico DacInstance. . :: . .Key(DacInstance. . :: . .Key) Initializes a new instance of the DacInstance..::..Key class based on the specified key.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Name Gets the name of the DacInstance key.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether the specified object key is equal to the referenced object key. Esegue l'override di SfcKey. . :: . .Equals(Object).
Metodo pubblico Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. Esegue l'override di SfcKey. . :: . .Equals(SfcKey).
Metodo pubblicoMembro statico Equals(Object, Object) Determines whether the specified object key is equal to the referenced object key.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Gets the hash code for the object. Esegue l'override di SfcKey. . :: . .GetHashCode() () () ().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Gets the unique resource name (URN) path partial string that represents the DAC package. Esegue l'override di SfcKey. . :: . .GetUrnFragment() () () ().
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, DacInstance. . :: . .Key) Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance.
Operatore pubblicoMembro statico Equality(DacInstance. . :: . .Key, DacInstance. . :: . .Key) Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance.
Operatore pubblicoMembro statico Equality(DacInstance. . :: . .Key, Object) Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance.
Operatore pubblicoMembro statico Inequality(Object, DacInstance. . :: . .Key) Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance.
Operatore pubblicoMembro statico Inequality(DacInstance. . :: . .Key, DacInstance. . :: . .Key) Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance.
Operatore pubblicoMembro statico Inequality(DacInstance. . :: . .Key, Object) Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance.

In alto

Osservazioni

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

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.