Dela via


ExpressionNodeFunction Class

The ExpressionNodeFunction object represents part of a policy-based management expression that is a function.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Dmf.ExpressionNode
    Microsoft.SqlServer.Management.Dmf.ExpressionNodeChildren
      Microsoft.SqlServer.Management.Dmf.ExpressionNodeFunction

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

Syntax

'Declaration
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class ExpressionNodeFunction _
    Inherits ExpressionNodeChildren
'Usage
Dim instance As ExpressionNodeFunction
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class ExpressionNodeFunction : ExpressionNodeChildren
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ExpressionNodeFunction sealed : public ExpressionNodeChildren
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ExpressionNodeFunction =  
    class
        inherit ExpressionNodeChildren
    end
public final class ExpressionNodeFunction extends ExpressionNodeChildren

The ExpressionNodeFunction type exposes the following members.

Constructors

  Name Description
Public method ExpressionNodeFunction Initializes a new instance of the ExpressionNodeFunction class that has the specified function and arguments.

Top

Properties

  Name Description
Protected property ChildrenList Gets or sets a list of dependent child expression nodes. (Inherited from ExpressionNodeChildren.)
Public property Count Gets the number of child expression nodes that are dependent on the parent node. (Inherited from ExpressionNodeChildren.)
Public property EnumerableChildrenList Gets an enumerable list of dependent child expression nodes. (Inherited from ExpressionNodeChildren.)
Public propertyStatic member FunctionsDefinitions Gets the function definitions.
Public property FunctionType Gets the type of function.
Protected property LastEvaluationResult Gets or sets the result of the last evaluation. (Inherited from ExpressionNode.)
Public property ReturnType Gets the type that is returned by the function.
Public property Tag Gets the tag text that is associated with the expression node. (Inherited from ExpressionNode.)
Public property Type Gets the type of expression node. (Inherited from ExpressionNode.)
Public property TypeClass Gets the class type when the expression node represents a constant value or a variable. (Inherited from ExpressionNode.)

Top

Methods

  Name Description
Protected method Add Gets the number of child expression nodes that are dependent on the parent node. (Inherited from ExpressionNodeChildren.)
Public method ConvertToFilterNode Creates a filter node by converting the expression node. (Inherited from ExpressionNode.)
Public method DeepClone Creates a copy of the expression node including properties. (Overrides ExpressionNode.DeepClone().)
Protected method DeserializeProperties Deserializes the properties in the expression from an XML reader. (Inherited from ExpressionNodeChildren.)
Protected method DeserializeResult Deserializes the property results in the expression from an XML reader. (Inherited from ExpressionNode.)
Protected method DoConvertToFilterNode Allows the conversion of expression node to filter mode. (Inherited from ExpressionNode.)
Protected method DoEnumAttributes Populates the specified list with attributes associated with the expression node. (Inherited from ExpressionNodeChildren.)
Public method EnumChildren Returns an enumerated list of the children listed in this object. (Inherited from ExpressionNodeChildren.)
Protected method EqualProperties Determines whether the specified object has equal properties to the referenced object. (Inherited from ExpressionNodeChildren.)
Public method Equals Returns a Boolean value that specifies whether the referenced expression node object is equal to the specified object. (Inherited from ExpressionNode.)
Public method Evaluate(FacetEvaluationContext) Evaluates the expression node with the given facet context. (Inherited from ExpressionNode.)
Public method Evaluate(FacetEvaluationContext, Boolean) Evaluates the expression node with the given facet context and checks the script as a proxy. (Inherited from ExpressionNode.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets the hash code for the object. (Inherited from ExpressionNode.)
Public method GetResult Gets the result that is returned when an expression is deserialized. (Inherited from ExpressionNode.)
Public method GetResultString Gets the result in string format that is returned when an expression is deserialized. (Inherited from ExpressionNode.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ReadEndElement Reads the end element in the expression node. (Inherited from ExpressionNode.)
Public method Serialize Serializes the expression node to the specified XML Writer. (Inherited from ExpressionNode.)
Protected method SerializeProperties (Inherited from ExpressionNodeChildren.)
Protected method SerializeResult Serializes the result in the expression node. (Inherited from ExpressionNode.)
Protected method SetFilterNodeCompatible Sets the compatible filter node of the Boolean property. (Inherited from ExpressionNode.)
Protected method SetHasScript Sets the Boolean value for the HasScript property. (Inherited from ExpressionNode.)
Protected method SetNameConditionType Sets the name of the condition type property. (Inherited from ExpressionNode.)
Protected method SetNodeType Indicates the type of node to be set. (Inherited from ExpressionNode.)
Protected method SetObjectName Sets the name of the expression node. (Inherited from ExpressionNode.)
Protected method SetProperties Sets property values. (Inherited from ExpressionNode.)
Protected method SetTypeClass Sets type class for the expression node. (Inherited from ExpressionNode.)
Public method ToString Returns a string that represents the ExpressionNodeFunction object. (Overrides ExpressionNodeChildren.ToString().)
Public method ToStringForDisplay Returns the function as a string formatted for display. (Overrides ExpressionNode.ToStringForDisplay().)
Public method ToStringForUrn Returns the referenced object in URN format. (Inherited from ExpressionNode.)

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.