Compartir a través de


Clase PolicyCategorySubscription.Key

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

Jerarquía de herencia

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
    Microsoft.SqlServer.Management.Dmf..::..PolicyCategorySubscription..::..Key

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

Sintaxis

'Declaración
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class Key _
    Inherits SfcKey
'Uso
Dim instance As PolicyCategorySubscription.Key
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class Key : SfcKey
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class Key sealed : public SfcKey
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type Key =  
    class
        inherit SfcKey
    end
public final class Key extends SfcKey

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

Constructores

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

Arriba

Propiedades

  Nombre Descripción
Propiedad pública ID Gets the name of the PolicyCategorySubscription key.

Arriba

Métodos

  Nombre Descripción
Método público Equals(Object) Determines whether the specified object key is equal to the referenced object key. (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 specified object key is equal to the referenced object key.
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 unique resource name (URN) path partial string that represents the policy category subscription. (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, PolicyCategorySubscription. . :: . .Key) Performs a Boolean equality operation to determine whether two policy category subscription objects reference the same policy category subscription.
Operador públicoMiembro estático Equality(PolicyCategorySubscription. . :: . .Key, PolicyCategorySubscription. . :: . .Key) Performs a Boolean equality operation to determine whether two policy category subscription objects reference the same policy category subscription.
Operador públicoMiembro estático Equality(PolicyCategorySubscription. . :: . .Key, Object) Performs a Boolean equality operation to determine whether two policy category subscription objects reference the same policy category subscription.
Operador públicoMiembro estático Inequality(Object, PolicyCategorySubscription. . :: . .Key) Performs a Boolean equality operation to determine whether two policy category subscription keys reference the same policy category subscription.
Operador públicoMiembro estático Inequality(PolicyCategorySubscription. . :: . .Key, PolicyCategorySubscription. . :: . .Key) Performs a Boolean equality operation to determine whether two policy category subscription objects reference the same policy category subscription.
Operador públicoMiembro estático Inequality(PolicyCategorySubscription. . :: . .Key, Object) Performs a Boolean equality operation to determine whether two policy category subscription keys reference the same policy category subscription.

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.