Поделиться через


Класс 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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Dmf