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)

public FilterNode ConvertToFilterNode()

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.FilterNode
A FilterNode object value that specifies the new filter node.

This allows you to create a filter node based on the object or group of objects that are defined by the expression node.


FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();

Community Additions