Compartir a través de


Clase Computer.Key

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Utility
Ensamblado:  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Sintaxis

'Declaración
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

El tipo Computer..::..Key expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público Computer. . :: . .Key() () () () Initializes a new instance of the Computer..::..Key class that has the specified name.
Método público Computer. . :: . .Key(String) Initializes a new instance of the Computer..::..Key class that has the specified name.
Método público Computer. . :: . .Key(Computer. . :: . .Key) Initializes a new instance of the Computer..::..Key class based on the specified key.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Name Gets the name of the Computer key.

Arriba

Métodos

  Nombre Descripción
Método público Equals(Object) Determines whether the specified object key is equal to the referenced string value. (Invalida SfcKey. . :: . .Equals(Object).)
Método público Equals(SfcKey) Determines whether the two specified objects are equal. (Invalida SfcKey. . :: . .Equals(SfcKey).)
Método públicoMiembro estático Equals(Object, Object) Determines whether the two specified objects are equal.
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode Gets the hash code for the object. (Invalida SfcKey. . :: . .GetHashCode() () () ().)
Método público GetType (Se hereda de Object.)
Método público GetUrnFragment Gets the URN path partial string that represents the computer. (Invalida SfcKey. . :: . .GetUrnFragment() () () ().)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Se hereda de SfcKey.)

Arriba

Operadores

  Nombre Descripción
Operador públicoMiembro estático Equality(Object, Computer. . :: . .Key) A Boolean value that specifies whether the specified keys are equal. If true, the keys are equal; otherwise, false.
Operador públicoMiembro estático Equality(Computer. . :: . .Key, Computer. . :: . .Key) Determines whether the specified object key is equal to the referenced object key.
Operador públicoMiembro estático Equality(Computer. . :: . .Key, Object) Determines whether the specified object key is equal to the referenced object key.
Operador públicoMiembro estático Inequality(Object, Computer. . :: . .Key) Determines whether the specified object key is not equal to the referenced object key.
Operador públicoMiembro estático Inequality(Computer. . :: . .Key, Computer. . :: . .Key) Determines whether the specified object key is not equal to the referenced object key.
Operador públicoMiembro estático Inequality(Computer. . :: . .Key, Object) Determines whether the specified object key is not equal to the referenced object key.

Arriba

Comentarios

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.