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 protegida LastEvaluationResult Gets or sets the result of the last evaluation. (Herdado de ExpressionNode.)
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 protegido DeserializeProperties Deserializes the properties in the expression from an XML reader. (Herdado de ExpressionNode.)
Método protegido DeserializeResult Deserializes the property results in the expression from an XML reader. (Herdado de ExpressionNode.)
Método protegido DoConvertToFilterNode Allows the conversion of expression node to filter mode. (Herdado de ExpressionNode.)
Método protegido DoEnumAttributes Deserializes the expression node from a list of text strings. (Herdado de ExpressionNode.)
Método público EnumChildren Returns an enumerated list of dependent expression nodes. (Herdado de ExpressionNode.)
Método protegido EqualProperties Determines whether the properties of the specified object are equal to the properties of the current expression node. (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 protegido Finalize (Herdado de Object.)
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 protegido MemberwiseClone (Herdado de Object.)
Método protegido ReadEndElement Reads the end element in the expression node. (Herdado de ExpressionNode.)
Método público Serialize Serializes the expression node to the specified XML Writer. (Herdado de ExpressionNode.)
Método protegido SerializeProperties Serializes the properties in the expression to an XML writer. (Herdado de ExpressionNode.)
Método protegido SerializeResult Serializes the result in the expression node. (Herdado de ExpressionNode.)
Método protegido SetFilterNodeCompatible Sets the compatible filter node of the Boolean property. (Herdado de ExpressionNode.)
Método protegido SetHasScript Sets the Boolean value for the HasScript property. (Herdado de ExpressionNode.)
Método protegido SetNameConditionType Sets the name of the condition type property. (Herdado de ExpressionNode.)
Método protegido SetNodeType Indicates the type of node to be set. (Herdado de ExpressionNode.)
Método protegido SetObjectName Sets the name of the expression node. (Herdado de ExpressionNode.)
Método protegido SetProperties Sets property values. (Herdado de ExpressionNode.)
Método protegido SetTypeClass Sets type class for the expression node. (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