Condividi tramite


Classe Computer.Key

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

Gerarchia di ereditarietà

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

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

Sintassi

'Dichiarazione
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilizzo
Dim instance As Computer.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 Computer..::..Key sono esposti i membri seguenti.

Costruttori

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

In alto

Proprietà

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

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether the specified object key is equal to the referenced string value. Esegue l'override di SfcKey. . :: . .Equals(Object).
Metodo pubblico Equals(SfcKey) Determines whether the two specified objects are equal. 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 Gets the hash code for the object. Esegue l'override di SfcKey. . :: . .GetHashCode() () () ().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Gets the URN path partial string that represents the computer. 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, Computer. . :: . .Key) A Boolean value that specifies whether the specified keys are equal. If true, the keys are equal; otherwise, false.
Operatore pubblicoMembro statico Equality(Computer. . :: . .Key, Computer. . :: . .Key) Determines whether the specified object key is equal to the referenced object key.
Operatore pubblicoMembro statico Equality(Computer. . :: . .Key, Object) Determines whether the specified object key is equal to the referenced object key.
Operatore pubblicoMembro statico Inequality(Object, Computer. . :: . .Key) Determines whether the specified object key is not equal to the referenced object key.
Operatore pubblicoMembro statico Inequality(Computer. . :: . .Key, Computer. . :: . .Key) Determines whether the specified object key is not equal to the referenced object key.
Operatore pubblicoMembro statico Inequality(Computer. . :: . .Key, Object) Determines whether the specified object key is not equal to the referenced object key.

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.