Helper.Validate 메서드
Indicates whether a value can be converted to the specified primitive data type.
네임스페이스: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
어셈블리: Microsoft.SqlServer.WebServiceTask(Microsoft.SqlServer.WebServiceTask.dll)
구문
‘선언
Public Shared Function Validate ( _
datatype As String, _
valueToValidate As String _
) As Boolean
‘사용 방법
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
매개 변수
- datatype
유형: System.String
The primitive data type.
- valueToValidate
유형: System.String
The value to validate.
반환 값
유형: System.Boolean
true if the value can be converted to the primitive data type; otherwise, false.