ExpressionNode.SerializeNodeWithResult メソッド

式ノードをテキスト文字列にシリアル化します。

名前空間:  Microsoft.SqlServer.Management.Dmf
アセンブリ:  Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)

構文

'宣言
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function SerializeNodeWithResult ( _
    node As ExpressionNode _
) As String
'使用
Dim node As ExpressionNode 
Dim returnValue As String 

returnValue = ExpressionNode.SerializeNodeWithResult(node)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static string SerializeNodeWithResult(
    ExpressionNode node
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static String^ SerializeNodeWithResult(
    ExpressionNode^ node
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member SerializeNodeWithResult : 
        node:ExpressionNode -> string
public static function SerializeNodeWithResult(
    node : ExpressionNode
) : String

パラメーター

戻り値

型: System.String
シリアル化された式ノードをテキスト形式で含む String 値です。

使用例

C#

attr = new ExpressionNodeAttribute(pi.Name);
cnst = ExpressionNode.ConstructNode(adapter.GetPropertyValue (pi.Name));
expr = new ExpressionNodeOperator(OperatorType.EQ, attr, cnst);
bool res = (bool)expr.Evaluate(adapter);
string xmlstr = ExpressionNode.SerializeNodeWithResult(expr);

関連項目

参照

ExpressionNode クラス

Microsoft.SqlServer.Management.Dmf 名前空間