Partilhar via


Método ExpressionNode.ConvertToIntWithCheck

Converts the specified string to an integer.

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

Sintaxe

'Declaração
Protected Shared Function ConvertToIntWithCheck ( _
    value As String _
) As Integer
'Uso
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

Parâmetros

Valor de retorno

Tipo: System.Int32
A Int32 object value that specifies the result of the conversion.

Comentários

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

Exemplos

C#

FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();

Consulte também

Referência

ExpressionNode Classe

Namespace Microsoft.SqlServer.Management.Dmf