Méthode ConvertToIntWithCheck
Converts the specified string to an integer.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Protected Shared Function ConvertToIntWithCheck ( _
value As String _
) As Integer
'Utilisation
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
Paramètres
- value
Type : System. . :: . .String
A String value that specifies the value in string format.
Valeur de retour
Type : System. . :: . .Int32
A Int32 object value that specifies the result of the conversion.
Notes
This allows you to create a filter node based on the object or group of objects that are defined by the expression node.
Exemples
C#
FilterNode fnode = node.ExpressionNode.ConvertToFilterNode();