共用方式為


ExpressionNodeAttribute 類別

The ExpressionNodeAttribute object represents an attribute of a policy-based management expression node.

繼承階層

System.Object
  Microsoft.SqlServer.Management.Dmf.ExpressionNode
    Microsoft.SqlServer.Management.Dmf.ExpressionNodeAttribute

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class ExpressionNodeAttribute _
    Inherits ExpressionNode
'用途
Dim instance As ExpressionNodeAttribute
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class ExpressionNodeAttribute : ExpressionNode
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ExpressionNodeAttribute sealed : public ExpressionNode
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ExpressionNodeAttribute =  
    class 
        inherit ExpressionNode 
    end
public final class ExpressionNodeAttribute extends ExpressionNode

ExpressionNodeAttribute 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ExpressionNodeAttribute(String) Initializes a new instance of the ExpressionNodeAttribute class that has the specified name.
公用方法 ExpressionNodeAttribute(String, Type) Initializes a new instance of the ExpressionNodeAttribute class that has the specified name and type.

上層

屬性

  名稱 說明
公用屬性 Name Gets the name of the expression node attribute.
公用屬性 Tag Gets the tag text that is associated with the expression node. (繼承自 ExpressionNode。)
公用屬性 Type Gets the type of expression node. (繼承自 ExpressionNode。)
公用屬性 TypeClass Gets the class type when the expression node represents a constant value or a variable. (繼承自 ExpressionNode。)

上層

方法

  名稱 說明
公用方法 ConvertToFilterNode Creates a filter node by converting the expression node. (繼承自 ExpressionNode。)
公用方法 DeepClone Returns a copy of the expression node including properties. (覆寫 ExpressionNode.DeepClone()。)
公用方法 EnumChildren Returns an enumerated list of dependent expression nodes. (繼承自 ExpressionNode。)
公用方法 Equals Returns a Boolean value that specifies whether the referenced expression node object is equal to the specified object. (繼承自 ExpressionNode。)
公用方法 Evaluate(FacetEvaluationContext) Evaluates the expression node with the given facet context. (繼承自 ExpressionNode。)
公用方法 Evaluate(FacetEvaluationContext, Boolean) Evaluates the expression node with the given facet context and checks the script as a proxy. (繼承自 ExpressionNode。)
公用方法 GetHashCode Gets the hash code for the object. (繼承自 ExpressionNode。)
公用方法 GetResult Gets the result that is returned when an expression is deserialized. (繼承自 ExpressionNode。)
公用方法 GetResultString Gets the result in string format that is returned when an expression is deserialized. (繼承自 ExpressionNode。)
公用方法 GetType (繼承自 Object。)
公用方法 Serialize Serializes the expression node to the specified XML Writer. (繼承自 ExpressionNode。)
公用方法 ToString Gets the expression node attribute in string format. (覆寫 ExpressionNode.ToString()。)
公用方法 ToStringForDisplay Gets the expression node attribute in string format with display formatting. (覆寫 ExpressionNode.ToStringForDisplay()。)
公用方法 ToStringForUrn Returns the referenced object in URN format. (繼承自 ExpressionNode。)

上層

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Dmf 命名空間