Share via


ExpressionNodeConstant Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class ExpressionNodeConstant _
    Inherits ExpressionNode
'Usage
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

The ExpressionNodeConstant type exposes the following members.

Constructors

  Name Description
Public method ExpressionNodeConstant Initializes a new instance of the ExpressionNodeConstant class that has the specified object.

Top

Properties

  Name Description
Public property Tag Gets the tag text that is associated with the expression node. (Inherited from ExpressionNode.)
Public property Type Gets the type of expression node. (Inherited from ExpressionNode.)
Public property TypeClass Gets the class type when the expression node represents a constant value or a variable. (Inherited from ExpressionNode.)
Public property Value Gets the object value that is the expression node constant.

Top

Methods

  Name Description
Public method ConvertToFilterNode Creates a filter node by converting the expression node. (Inherited from ExpressionNode.)
Public method DeepClone Returns the a copy of the expression node including properties. (Overrides ExpressionNode.DeepClone().)
Public method EnumChildren Returns an enumerated list of dependent expression nodes. (Inherited from ExpressionNode.)
Public method Equals Returns a Boolean value that specifies whether the referenced expression node object is equal to the specified object. (Inherited from ExpressionNode.)
Public method Evaluate(FacetEvaluationContext) Evaluates the expression node with the given facet context. (Inherited from ExpressionNode.)
Public method Evaluate(FacetEvaluationContext, Boolean) Evaluates the expression node with the given facet context and checks the script as a proxy. (Inherited from ExpressionNode.)
Public method GetHashCode Gets the hash code for the object. (Inherited from ExpressionNode.)
Public method GetResult Gets the result that is returned when an expression is deserialized. (Inherited from ExpressionNode.)
Public method GetResultString Gets the result in string format that is returned when an expression is deserialized. (Inherited from ExpressionNode.)
Public method GetType (Inherited from Object.)
Public method Serialize Serializes the expression node to the specified XML Writer. (Inherited from ExpressionNode.)
Public method ToString Returns the expression node constant in string format. (Overrides ExpressionNode.ToString().)
Public method ToStringForDisplay Returns the expression node constant in string format with display formatting. (Overrides ExpressionNode.ToStringForDisplay().)
Public method ToStringForUrn Returns the referenced object in URN format. (Inherited from ExpressionNode.)

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Dmf Namespace