Partager via


Classe PolicyExtender

Contains additional functionality for the Policy object.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<Policy>
    Microsoft.SqlServer.Management.Dmf.PolicyExtender

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 PolicyExtender _
    Inherits SfcObjectExtender(Of Policy)
'Utilisation
Dim instance As PolicyExtender
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class PolicyExtender : SfcObjectExtender<Policy>
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class PolicyExtender sealed : public SfcObjectExtender<Policy^>
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type PolicyExtender =  
    class 
        inherit SfcObjectExtender<Policy>
    end
public final class PolicyExtender extends SfcObjectExtender<Policy>

Le type PolicyExtender expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique PolicyExtender() Initializes a new instance of the PolicyExtender class.
Méthode publique PolicyExtender(Policy) Initializes a new instance of the PolicyExtender class.
Méthode publique PolicyExtender(PolicyStore, String) Initializes a new instance of the PolicyExtender class.

Haut de la page

Propriétés

  Nom Description
Propriété publique Categories Gets a generic list of PolicyCategory objects.
Propriété publique Category Gets or sets a PolicyCategory object.
Propriété publique ConditionInstance Gets or sets a Condition object.
Propriété publique EnableRootRestriction Gets a Boolean value that indicates whether root restriction is enabled.
Propriété publique Filters Gets the TargetSetCollection.
Propriété publique OfflineMode Gets a Boolean value that indicates whether connection is offline.
Propriété publique PolicyFilePath Gets or sets the path to the policy file.
Propriété publique RootName Gets the name of the root level of the ObjectSet.
Propriété publique SupportedPolicyEvaluationMode Gets the AutomatedPolicyEvaluationMode object.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetPropertySet Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender<TSfcInstance>.)
Méthode publique GetType (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Événements

  Nom Description
Événement public PropertyChanged Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender<TSfcInstance>.)
Événement public PropertyMetadataChanged Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender<TSfcInstance>.)

Haut de la page

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