Partager via


Classe ExpressionNodeConstant

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

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

Le type ExpressionNodeConstant expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ExpressionNodeConstant Initializes a new instance of the ExpressionNodeConstant class that has the specified object.

Haut de la page

Propriétés

  Nom Description
Propriété publique Tag Gets the tag text that is associated with the expression node. (hérité de ExpressionNode.)
Propriété publique Type Gets the type of expression node. (hérité de ExpressionNode.)
Propriété publique TypeClass Gets the class type when the expression node represents a constant value or a variable. (hérité de ExpressionNode.)
Propriété publique Value Gets the object value that is the expression node constant.

Haut de la page

Méthodes

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

Haut de la page

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Dmf