다음을 통해 공유


ExpressionNode.ConvertFromFilterNode 메서드 (FilterNode)

Creates a new expression node by converting a filter node.

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
Public Shared Function ConvertFromFilterNode ( _
    filterNode As FilterNode _
) As ExpressionNode
‘사용 방법
Dim filterNode As FilterNode 
Dim returnValue As ExpressionNode 

returnValue = ExpressionNode.ConvertFromFilterNode(filterNode)
public static ExpressionNode ConvertFromFilterNode(
    FilterNode filterNode
)
public:
static ExpressionNode^ ConvertFromFilterNode(
    FilterNode^ filterNode
)
static member ConvertFromFilterNode : 
        filterNode:FilterNode -> ExpressionNode
public static function ConvertFromFilterNode(
    filterNode : FilterNode
) : ExpressionNode

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Dmf.ExpressionNode
An ExpressionNode object that represents the new expression node.

주의

This allows you to create expression node that refers to an object or a group of objects defined by the filter.

C#

string xpath = "Server/Database[like(@Name, 'msdb') or like(@Name,'m[as]%')]";
Urn urn = new SFC.Urn (xpath);
FilterNode fnode = urn.XPathExpression[urn.XPathExpression.Length - 1].Filter;
ExpressionNode node = ExpressionNode.ConvertFromFilterNode(fnode);

Note Urn and FilterNode are SFC classes.

참고 항목

참조

ExpressionNode 클래스

ConvertFromFilterNode 오버로드

Microsoft.SqlServer.Management.Dmf 네임스페이스