ExpressionNode.ConvertToIntWithCheck Method (String)

 

Applies To: SQL Server 2016 Preview

Converts the specified string to an integer.

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

protected static int ConvertToIntWithCheck(
    string value
)
protected:
static int ConvertToIntWithCheck(
    String^ value
)
static member ConvertToIntWithCheck : 
        value:string -> int
Protected Shared Function ConvertToIntWithCheck (
    value As String
) As Integer

Parameters

Return Value

Type: System.Int32

A Int32 object value that specifies the result of the conversion.

Remarks

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

Examples

Legacy Code Example

C#

FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();

See Also

ExpressionNode Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top