Condividi tramite


Classe PolicyExtender

Contains additional functionality for the Policy object.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class PolicyExtender _
    Inherits SfcObjectExtender(Of Policy)
'Utilizzo
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>

Nel tipo PolicyExtender sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico PolicyExtender() Initializes a new instance of the PolicyExtender class.
Metodo pubblico PolicyExtender(Policy) Initializes a new instance of the PolicyExtender class.
Metodo pubblico PolicyExtender(PolicyStore, String) Initializes a new instance of the PolicyExtender class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Categories Gets a generic list of PolicyCategory objects.
Proprietà pubblica Category Gets or sets a PolicyCategory object.
Proprietà pubblica ConditionInstance Gets or sets a Condition object.
Proprietà pubblica EnableRootRestriction Gets a Boolean value that indicates whether root restriction is enabled.
Proprietà pubblica Filters Gets the TargetSetCollection.
Proprietà pubblica OfflineMode Gets a Boolean value that indicates whether connection is offline.
Proprietà pubblica PolicyFilePath Gets or sets the path to the policy file.
Proprietà pubblica RootName Gets the name of the root level of the ObjectSet.
Proprietà pubblica SupportedPolicyEvaluationMode Gets the AutomatedPolicyEvaluationMode object.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetPropertySet Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Eventi

  Nome Descrizione
Evento pubblico PropertyChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Evento pubblico PropertyMetadataChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Dmf