Compartir a través de


Clase ServerGroup.Key

Represents the property that is associated with the object that is used to uniquely identify the object.

Jerarquía de herencia

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
    Microsoft.SqlServer.Management.RegisteredServers..::..ServerGroup..::..Key

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

Sintaxis

'Declaración
Public NotInheritable Class Key _
    Inherits SfcKey
'Uso
Dim instance As ServerGroup.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 ServerGroup..::..Key expone los siguientes miembros.

Constructores

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

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Name Gets a String value that specifies the name of the server group key.

Arriba

Métodos

  Nombre Descripción
Método público Equals(Object) Determines whether the specified Object is equal to the server group represented by the ServerGroup..::..Key object. (Invalida SfcKey. . :: . .Equals(Object).)
Método público Equals(SfcKey) Determines whether the object identified by the specified Key is equal to the server group represented by the ServerGroup..::..Key object. (Invalida SfcKey. . :: . .Equals(SfcKey).)
Método públicoMiembro estático Equals(Object, Object) Determines whether the two specified objects are the same.
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode Gets the hash code for the server group. (Invalida SfcKey. . :: . .GetHashCode() () () ().)
Método público GetType (Se hereda de Object.)
Método público GetUrnFragment Gets the partial unique resource name (URN) path string that represents the server group. (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, ServerGroup. . :: . .Key) Determines whether the object identified by a Object is the same as the object identified by a ServerGroup..::..Key.
Operador públicoMiembro estático Equality(ServerGroup. . :: . .Key, ServerGroup. . :: . .Key) Determines whether the objects identified by two ServerGroup..::..Key objects are the same.
Operador públicoMiembro estático Equality(ServerGroup. . :: . .Key, Object) Determines whether the object identified by a Object is the same as the object identified by a ServerGroup..::..Key.
Operador públicoMiembro estático Inequality(Object, ServerGroup. . :: . .Key) Determines whether the object identified by a Object is different than the object identified by a RegisteredServersStore..::..Key.
Operador públicoMiembro estático Inequality(ServerGroup. . :: . .Key, ServerGroup. . :: . .Key) Determines whether the objects identified by two ServerGroup..::..Key objects are different.
Operador públicoMiembro estático Inequality(ServerGroup. . :: . .Key, Object) Determines whether the object identified by a Object is different than the object identified by a RegisteredServersStore..::..Key.

Arriba

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

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.