Partilhar via


ExpressionNodeOperator Class

Definition

Operator node - boolean function with 2 arguments

public sealed class ExpressionNodeOperator : Microsoft.SqlServer.Management.Dmf.ExpressionNodeChildren
type ExpressionNodeOperator = class
    inherit ExpressionNodeChildren
Public NotInheritable Class ExpressionNodeOperator
Inherits ExpressionNodeChildren
Inheritance

Constructors

ExpressionNodeOperator(OperatorType, ExpressionNode, ExpressionNode)

Creates Operator node

Properties

ChildrenList (Inherited from ExpressionNodeChildren)
Count

Count of children nodes

(Inherited from ExpressionNodeChildren)
EnumerableChildrenList

List of children nodes

(Inherited from ExpressionNodeChildren)
LastEvaluationResult (Inherited from ExpressionNode)
Left

Left operand node

OpType

Operator objectTypeName

Right

Right operand node

Tag

Node's Tag

(Inherited from ExpressionNode)
Type

Type of the Node (read-only)

(Inherited from ExpressionNode)
TypeClass

Node's TypeClass

(Inherited from ExpressionNode)

Methods

Add(ExpressionNode)

Adds node to the list Does NOT check if the node added has the same Type as previously added nodes

(Inherited from ExpressionNodeChildren)
ConvertToFilterNode() (Inherited from ExpressionNode)
DeepClone()

Deep clone of the current node.

DeserializeProperties(XmlReader, Boolean)

Deserializes Children nodes

(Inherited from ExpressionNodeChildren)
DeserializeResult(XmlReader)

Deserializes Last Result

(Inherited from ExpressionNode)
DoConvertToFilterNode() (Inherited from ExpressionNode)
DoEnumAttributes(List<String>)

Recursively enumerates Attributes

(Inherited from ExpressionNodeChildren)
EnumChildren()

Enumerates Children of the Node

(Inherited from ExpressionNodeChildren)
EqualProperties(Object)

Children node specific type comparison type and nullability of comparison object checked by caller (Equals)

(Inherited from ExpressionNodeChildren)
Equals(Object)

Overriden Equals to support value comparison Inheritants implement EqualProperties method for type sepcific comparison

(Inherited from ExpressionNode)
Evaluate(FacetEvaluationContext, Boolean)

Evaluates the node (tree) using supplied Management Facet context

(Inherited from ExpressionNode)
Evaluate(FacetEvaluationContext)

Evaluates the node (tree) using supplied Management Facet context

(Inherited from ExpressionNode)
GetHashCode()

Overriden to support overriden Equals

(Inherited from ExpressionNode)
GetResult()

Result of the latest Evaluation

(Inherited from ExpressionNode)
GetResultString()

Result of the latest Evaluation as a String

(Inherited from ExpressionNode)
OperatorTypeFromString(String)

Returns OperatorType for given string representation (opposite to OperatorTypeToString)

OperatorTypeToString(OperatorType)

Symbolic repesentation of OperatorType (T-Sql style)

ReadEndElement(XmlReader)

Reads and verifies instance specific end node element

(Inherited from ExpressionNode)
Serialize(XmlWriter)

Base serialization routine - creates start and end elements calls to virtual method SerializeProperties to output properties of particular node objectTypeName

(Inherited from ExpressionNode)
SerializeProperties(XmlWriter, Boolean)

Serializes Children nodes

(Inherited from ExpressionNodeChildren)
SerializeResult(XmlWriter)

Includes Last Result into serialization output

(Inherited from ExpressionNode)
SetFilterNodeCompatible(Boolean) (Inherited from ExpressionNode)
SetHasScript(Boolean) (Inherited from ExpressionNode)
SetNameConditionType(NameConditionType) (Inherited from ExpressionNode)
SetNodeType(ExpressionNodeType) (Inherited from ExpressionNode)
SetObjectName(String) (Inherited from ExpressionNode)
SetProperties()

Sets class properties (HasScript, NameConditionType, ...)

(Inherited from ExpressionNode)
SetTypeClass(TypeClass) (Inherited from ExpressionNode)
SupportedFilterOperators(Type, AutomatedPolicyEvaluationMode)

Returns a list of operators supported for the given type in Filters (Filters are more restrictive than Condition expressions) Empty list if evaluation for the type is not supported

ToString()

Represents Expression as a string in T-SQL like syntax

ToStringForDisplay()

A special method to display some simple node in the UI in simplified form, which cannot always be parsed back

(Inherited from ExpressionNode)
ToStringForUrn()

Represents Expression as a string in T-SQL like syntax, which can be used in URN

(Inherited from ExpressionNode)

Applies to