Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the specified string to an integer.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Protected Shared Function ConvertToIntWithCheck ( _
value As String _
) As Integer
'Usage
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
Parameters
- value
Type: System.String
A String value that specifies the value in string format.
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
C#
FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();