ValidateSource Method

Validates the specified data source.

Syntax

object.ValidateSource bstrObject, iStatus, ppdispObject, bstrPropertyName

Properties

The ValidateSource method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

bstrObject

String. The string containing the source to validate.

iStatus

Long. Returns the status for the validity of the source.
Return values are:
0 – OK
1 – Syntax error
2 – Data Undefined
3 – Data type mismatch

ppdispObject

Object. Returns the dispatch pointer to the source object if it exists.

bstrPropertyName

String. Returns the name of the actual property of the data source.

 

Example

Applies To