Partager via


Classe PolicyCategory.Key

The PolicyCategory.Key class represents the key that identifies the PolicyCategory class.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Dmf.PolicyCategory.Key

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilisation
Dim instance As PolicyCategory.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

Le type PolicyCategory.Key expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique PolicyCategory.Key() Initializes a new instance of the PolicyCategory.Key class.
Méthode publique PolicyCategory.Key(String) Initializes a new instance of the PolicyCategory.Key class that has the specified name.
Méthode publique PolicyCategory.Key(PolicyCategory.Key) Initializes a new instance of the PolicyCategory.Key class based on the specified key.

Haut de la page

Propriétés

  Nom Description
Propriété publique InstanceType Gets the type of the instance class associated with this key class. (hérité de SfcKey.)
Propriété publique Name Gets the name of the PolicyCategory key.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals(Object) Determines whether the specified object key is equal to the referenced object key. (remplace SfcKey.Equals(Object).)
Méthode publique Equals(SfcKey) Determines whether the two specified objects are equal. (remplace SfcKey.Equals(SfcKey).)
Méthode publiqueMembre statique Equals(Object, Object) Determines whether the specified object key is equal to the referenced object key.
Méthode publique GetHashCode Gets the hash code for the object. (remplace SfcKey.GetHashCode().)
Méthode publique GetType (hérité de Object.)
Méthode publique GetUrnFragment Gets the unique resource name (URN) path partial string that represents the policy category. (remplace SfcKey.GetUrnFragment().)
Méthode publique ToString Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (hérité de SfcKey.)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality(Object, PolicyCategory.Key) Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.
Opérateur publicMembre statique Equality(PolicyCategory.Key, PolicyCategory.Key) Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.
Opérateur publicMembre statique Equality(PolicyCategory.Key, Object) Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.
Opérateur publicMembre statique Inequality(Object, PolicyCategory.Key) Performs a Boolean equality operation to determine whether two policy category keys reference the same policy category.
Opérateur publicMembre statique Inequality(PolicyCategory.Key, PolicyCategory.Key) Performs a Boolean equality operation to determine whether two policy category objects reference the same policy category.
Opérateur publicMembre statique Inequality(PolicyCategory.Key, Object) Performs a Boolean equality operation to determine whether two policy category keys reference the same policy category.

Haut de la page

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Dmf