Compartir a través de


Clase PolicyExtender

Contains additional functionality for the Policy object.

Jerarquía de herencia

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

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 PolicyExtender _
    Inherits SfcObjectExtender(Of Policy)
'Uso
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>

El tipo PolicyExtender expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público PolicyExtender() Initializes a new instance of the PolicyExtender class.
Método público PolicyExtender(Policy) Initializes a new instance of the PolicyExtender class.
Método público PolicyExtender(PolicyStore, String) Initializes a new instance of the PolicyExtender class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Categories Gets a generic list of PolicyCategory objects.
Propiedad pública Category Gets or sets a PolicyCategory object.
Propiedad pública ConditionInstance Gets or sets a Condition object.
Propiedad pública EnableRootRestriction Gets a Boolean value that indicates whether root restriction is enabled.
Propiedad pública Filters Gets the TargetSetCollection.
Propiedad pública OfflineMode Gets a Boolean value that indicates whether connection is offline.
Propiedad pública PolicyFilePath Gets or sets the path to the policy file.
Propiedad pública RootName Gets the name of the root level of the ObjectSet.
Propiedad pública SupportedPolicyEvaluationMode Gets the AutomatedPolicyEvaluationMode object.

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetPropertySet No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)
Método público GetType (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Eventos

  Nombre Descripción
Evento público PropertyChanged No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)
Evento público PropertyMetadataChanged No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)

Arriba

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.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Dmf