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 | |
---|---|---|
![]() |
Computer. . :: . .Key() () () () | Initializes a new instance of the Computer..::..Key class that has the specified name. |
![]() |
Computer. . :: . .Key(String) | Initializes a new instance of the Computer..::..Key class that has the specified name. |
![]() |
Computer. . :: . .Key(Computer. . :: . .Key) | Initializes a new instance of the Computer..::..Key class based on the specified key. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals(Object) | Determines whether the specified object key is equal to the referenced string value. Esegue l'override di SfcKey. . :: . .Equals(Object). |
![]() |
Equals(SfcKey) | Determines whether the two specified objects are equal. Esegue l'override di SfcKey. . :: . .Equals(SfcKey). |
![]() ![]() |
Equals(Object, Object) | Determines whether the two specified objects are equal. |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetHashCode | Gets the hash code for the object. Esegue l'override di SfcKey. . :: . .GetHashCode() () () (). |
![]() |
GetType | Ereditato da Object. |
![]() |
GetUrnFragment | Gets the URN path partial string that represents the computer. Esegue l'override di SfcKey. . :: . .GetUrnFragment() () () (). |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
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 | |
---|---|---|
![]() ![]() |
Equality(Object, Computer. . :: . .Key) | A Boolean value that specifies whether the specified keys are equal. If true, the keys are equal; otherwise, false. |
![]() ![]() |
Equality(Computer. . :: . .Key, Computer. . :: . .Key) | Determines whether the specified object key is equal to the referenced object key. |
![]() ![]() |
Equality(Computer. . :: . .Key, Object) | Determines whether the specified object key is equal to the referenced object key. |
![]() ![]() |
Inequality(Object, Computer. . :: . .Key) | Determines whether the specified object key is not equal to the referenced object key. |
![]() ![]() |
Inequality(Computer. . :: . .Key, Computer. . :: . .Key) | Determines whether the specified object key is not equal to the referenced object key. |
![]() ![]() |
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.