ExpressionNodeConstant 类

The ExpressionNodeConstant object represents an constant value that is used in an expression.

继承层次结构

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

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

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

ExpressionNodeConstant 类型公开以下成员。

构造函数

  名称 说明
公共方法 ExpressionNodeConstant Initializes a new instance of the ExpressionNodeConstant class that has the specified object.

页首

属性

  名称 说明
公共属性 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 继承。)
公共属性 Value Gets the object value that is the expression node constant.

页首

方法

  名称 说明
公共方法 ConvertToFilterNode Creates a filter node by converting the expression node. (从 ExpressionNode 继承。)
公共方法 DeepClone Returns the 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 Returns the expression node constant in string format. (覆盖 ExpressionNode.ToString()。)
公共方法 ToStringForDisplay Returns the expression node constant 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 命名空间