ExpressionNode.ConvertToIntWithCheck メソッド

指定した文字列を整数に変換します。

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

構文

'宣言
Protected Shared Function ConvertToIntWithCheck ( _
    value As String _
) As Integer
'使用
Dim value As String 
Dim returnValue As Integer 

returnValue = ExpressionNode.ConvertToIntWithCheck(value)
protected static int ConvertToIntWithCheck(
    string value
)
protected:
static int ConvertToIntWithCheck(
    String^ value
)
static member ConvertToIntWithCheck : 
        value:string -> int
protected static function ConvertToIntWithCheck(
    value : String
) : int

パラメーター

戻り値

型: System.Int32
変換の結果を示す Int32 オブジェクト値です。

説明

これにより、式ノードで定義されたオブジェクトやオブジェクト グループに基づいてフィルター ノードを作成できます。

使用例

C#

FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();

関連項目

参照

ExpressionNode クラス

Microsoft.SqlServer.Management.Dmf 名前空間