Classe PolicyExtender
Contains additional functionality for the Policy object.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<Policy>
Microsoft.SqlServer.Management.Dmf.PolicyExtender
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
<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>
O tipo PolicyExtender expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
PolicyExtender() | Initializes a new instance of the PolicyExtender class. | |
PolicyExtender(Policy) | Initializes a new instance of the PolicyExtender class. | |
PolicyExtender(PolicyStore, String) | Initializes a new instance of the PolicyExtender class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Categories | Gets a generic list of PolicyCategory objects. | |
Category | Gets or sets a PolicyCategory object. | |
ConditionInstance | Gets or sets a Condition object. | |
EnableRootRestriction | Gets a Boolean value that indicates whether root restriction is enabled. | |
Filters | Gets the TargetSetCollection. | |
OfflineMode | Gets a Boolean value that indicates whether connection is offline. | |
PolicyFilePath | Gets or sets the path to the policy file. | |
RootName | Gets the name of the root level of the ObjectSet. | |
SupportedPolicyEvaluationMode | Gets the AutomatedPolicyEvaluationMode object. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetPropertySet | Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcObjectExtender<TSfcInstance>.) | |
GetType | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Eventos
Nome | Descrição | |
---|---|---|
PropertyChanged | Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcObjectExtender<TSfcInstance>.) | |
PropertyMetadataChanged | Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcObjectExtender<TSfcInstance>.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.