Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Indicates whether a value can be converted to the specified primitive data type.
Espace de noms : Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly : Microsoft.SqlServer.WebServiceTask (en Microsoft.SqlServer.WebServiceTask.dll)
Syntaxe
'Déclaration
Public Shared Function Validate ( _
datatype As String, _
valueToValidate As String _
) As Boolean
'Utilisation
Dim datatype As String
Dim valueToValidate As String
Dim returnValue As Boolean
returnValue = Helper.Validate(datatype, _
valueToValidate)
public static bool Validate(
string datatype,
string valueToValidate
)
public:
static bool Validate(
String^ datatype,
String^ valueToValidate
)
static member Validate :
datatype:string *
valueToValidate:string -> bool
public static function Validate(
datatype : String,
valueToValidate : String
) : boolean
Paramètres
- datatype
Type : System.String
The primitive data type.
- valueToValidate
Type : System.String
The value to validate.
Valeur de retour
Type : System.Boolean
true if the value can be converted to the primitive data type; otherwise, false.