ExpressionNode.ConvertToFilterNode Method
Creates a filter node by converting the expression node.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Function ConvertToFilterNode As FilterNode
'Usage
Dim instance As ExpressionNode
Dim returnValue As FilterNode
returnValue = instance.ConvertToFilterNode()
public FilterNode ConvertToFilterNode()
public:
FilterNode^ ConvertToFilterNode()
member ConvertToFilterNode : unit -> FilterNode
public function ConvertToFilterNode() : FilterNode
Return Value
Type: Microsoft.SqlServer.Management.Sdk.Sfc.FilterNode
A FilterNode object value that specifies the new filter node.
Remarks
This allows you to create a filter node based on the object or group of objects that are defined by the expression node.
Examples
C#
FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();