Freigeben über


EvaluationModeAttribute-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Management.Facets
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := False)> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class EvaluationModeAttribute _
    Inherits Attribute
'Usage
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

Der EvaluationModeAttribute-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode EvaluationModeAttribute Initializes a new instance of the EvaluationModeAttribute class that has the specified evaluation mode.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft AutomatedPolicyEvaluationMode Gets or sets the evaluation mode for the policy.
Öffentliche Eigenschaft EvaluationModes Gets the evaluation modes for the attribute.
Öffentliche Eigenschaft TypeId (Geerbt von Attribute.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Attribute.)
Öffentliche Methode GetHashCode (Geerbt von Attribute.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode IsDefaultAttribute (Geerbt von Attribute.)
Öffentliche Methode Match (Geerbt von Attribute.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode _Attribute.GetIDsOfNames (Geerbt von Attribute.)
Explizite SchnittstellenimplementierungPrivate Methode _Attribute.GetTypeInfo (Geerbt von Attribute.)
Explizite SchnittstellenimplementierungPrivate Methode _Attribute.GetTypeInfoCount (Geerbt von Attribute.)
Explizite SchnittstellenimplementierungPrivate Methode _Attribute.Invoke (Geerbt von Attribute.)

Zum Anfang

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Facets-Namespace