Classe EvaluationModeAttribute

The EvaluationModeAttribute class contains the represents the attribute that is attached to the evaluation mode in policy-based management.

Gerarchia di ereditarietà

System.Object
  System.Attribute
    Microsoft.SqlServer.Management.Facets.EvaluationModeAttribute

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

Sintassi

'Dichiarazione
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := False)> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class EvaluationModeAttribute _
    Inherits Attribute
'Utilizzo
Dim instance As EvaluationModeAttribute
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = false)]
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class EvaluationModeAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::All, AllowMultiple = false)]
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class EvaluationModeAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = false)>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type EvaluationModeAttribute =  
    class 
        inherit Attribute 
    end
public final class EvaluationModeAttribute extends Attribute

Nel tipo EvaluationModeAttribute sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico EvaluationModeAttribute Initializes a new instance of the EvaluationModeAttribute class that has the specified evaluation mode.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica AutomatedPolicyEvaluationMode Gets or sets the evaluation mode for the policy.
Proprietà pubblica EvaluationModes Gets the evaluation modes for the attribute.
Proprietà pubblica TypeId Ereditato da Attribute.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Attribute.
Metodo pubblico GetHashCode Ereditato da Attribute.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico IsDefaultAttribute Ereditato da Attribute.
Metodo pubblico Match Ereditato da Attribute.
Metodo pubblico ToString Ereditato da Object.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato _Attribute.GetIDsOfNames Ereditato da Attribute.
Implementazione esplicita dell'interfacciaMetodo privato _Attribute.GetTypeInfo Ereditato da Attribute.
Implementazione esplicita dell'interfacciaMetodo privato _Attribute.GetTypeInfoCount Ereditato da Attribute.
Implementazione esplicita dell'interfacciaMetodo privato _Attribute.Invoke Ereditato da Attribute.

In alto

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

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.Facets