EvaluationModeAttribute 类
The EvaluationModeAttribute class contains the represents the attribute that is attached to the evaluation mode in policy-based management.
继承层次结构
System.Object
System.Attribute
Microsoft.SqlServer.Management.Facets.EvaluationModeAttribute
命名空间: Microsoft.SqlServer.Management.Facets
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := False)> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class EvaluationModeAttribute _
Inherits Attribute
用法
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
EvaluationModeAttribute 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
EvaluationModeAttribute | Initializes a new instance of the EvaluationModeAttribute class that has the specified evaluation mode. |
页首
属性
名称 | 说明 | |
---|---|---|
AutomatedPolicyEvaluationMode | Gets or sets the evaluation mode for the policy. | |
EvaluationModes | Gets the evaluation modes for the attribute. | |
TypeId | (从 Attribute 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Attribute 继承。) | |
GetHashCode | (从 Attribute 继承。) | |
GetType | (从 Object 继承。) | |
IsDefaultAttribute | (从 Attribute 继承。) | |
Match | (从 Attribute 继承。) | |
ToString | (从 Object 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
_Attribute.GetIDsOfNames | (从 Attribute 继承。) | |
_Attribute.GetTypeInfo | (从 Attribute 继承。) | |
_Attribute.GetTypeInfoCount | (从 Attribute 继承。) | |
_Attribute.Invoke | (从 Attribute 继承。) |
页首
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。