Partilhar via


Classe ExpressionNodeConstant

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

Hierarquia de herança

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

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

Sintaxe

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

O tipo ExpressionNodeConstant expõe os membros a seguir.

Construtores

  Nome Descrição
Método público ExpressionNodeConstant Initializes a new instance of the ExpressionNodeConstant class that has the specified object.

Início

Propriedades

  Nome Descrição
Propriedade pública Tag Gets the tag text that is associated with the expression node. (Herdado de ExpressionNode.)
Propriedade pública Type Gets the type of expression node. (Herdado de ExpressionNode.)
Propriedade pública TypeClass Gets the class type when the expression node represents a constant value or a variable. (Herdado de ExpressionNode.)
Propriedade pública Value Gets the object value that is the expression node constant.

Início

Métodos

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

Início

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Dmf