Método ExpressionNode.ConvertFromFilterNode (FilterNode, Type)
Creates a new expression node by converting a filter node.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
Public Shared Function ConvertFromFilterNode ( _
filterNode As FilterNode, _
facet As Type _
) As ExpressionNode
'Uso
Dim filterNode As FilterNode
Dim facet As Type
Dim returnValue As ExpressionNode
returnValue = ExpressionNode.ConvertFromFilterNode(filterNode, _
facet)
public static ExpressionNode ConvertFromFilterNode(
FilterNode filterNode,
Type facet
)
public:
static ExpressionNode^ ConvertFromFilterNode(
FilterNode^ filterNode,
Type^ facet
)
static member ConvertFromFilterNode :
filterNode:FilterNode *
facet:Type -> ExpressionNode
public static function ConvertFromFilterNode(
filterNode : FilterNode,
facet : Type
) : ExpressionNode
Parâmetros
- filterNode
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.FilterNode
A FilterNode object value that specifies the filter node to convert into an expression node.
- facet
Tipo: System.Type
A Type value that specifies the type of object.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Dmf.ExpressionNode
An ExpressionNode object that represents the new expression node.
Comentários
This allows you to create expression node that refers to an object or a group of objects defined by the filter. Also, you can further filter the resulting object set by specifying the facet type.