Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
The Computer.Key class represents the key that identifies the Computer class.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Utility.Computer.Key
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (em Microsoft.SqlServer.Management.Utility.dll)
Sintaxe
'Declaração
Public NotInheritable Class Key _
Inherits SfcKey
'Uso
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
O tipo Computer.Key expõe os membros a seguir.
Construtores
| Nome | Descrição | |
|---|---|---|
![]() |
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ício
Propriedades
| Nome | Descrição | |
|---|---|---|
![]() |
InstanceType | Gets the type of the instance class associated with this key class. (Herdado de SfcKey.) |
![]() |
Name | Gets the name of the Computer key. |
Início
Métodos
| Nome | Descrição | |
|---|---|---|
![]() |
Equals(Object) | Determines whether the specified object key is equal to the referenced string value. (Substitui SfcKey.Equals(Object).) |
![]() |
Equals(SfcKey) | Determines whether the two specified objects are equal. (Substitui SfcKey.Equals(SfcKey).) |
![]() ![]() |
Equals(Object, Object) | Determines whether the two specified objects are equal. |
![]() |
GetHashCode | Gets the hash code for the object. (Substitui SfcKey.GetHashCode().) |
![]() |
GetType | (Herdado de Object.) |
![]() |
GetUrnFragment | Gets the URN path partial string that represents the computer. (Substitui SfcKey.GetUrnFragment().) |
![]() |
ToString | Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Herdado de SfcKey.) |
Início
Operadores
| Nome | Descrição | |
|---|---|---|
![]() ![]() |
Equality(Object, Computer.Key) | Determines whether the specified object is equal to the object key. |
![]() ![]() |
Equality(Computer.Key, Computer.Key) | Determines whether the specified object key is equal to the second object key. |
![]() ![]() |
Equality(Computer.Key, Object) | Determines whether the specified object key is equal to the object. |
![]() ![]() |
Inequality(Object, Computer.Key) | Determines whether the specified object is not equal to the object key. |
![]() ![]() |
Inequality(Computer.Key, Computer.Key) | Determines whether the specified object key is not equal to the second object key. |
![]() ![]() |
Inequality(Computer.Key, Object) | Determines whether the specified object key is not equal to the object. |
Início
Comentários
Thread Safety
Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
.gif)
.gif)
.gif)
.gif)