Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Indicates whether a value can be converted to the specified primitive data type.
Namespace: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly: Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.dll)
Syntax
'Declaration
Public Shared Function Validate ( _
datatype As String, _
valueToValidate As String _
) As Boolean
'Usage
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
Parameter
- datatype
Typ: System.String
The primitive data type.
- valueToValidate
Typ: System.String
The value to validate.
Rückgabewert
Typ: System.Boolean
true if the value can be converted to the primitive data type; otherwise, false.