The UserQuery property specifies a parameterized SQL statement for a user-defined query.
DataDrivenQueryTask Object |
object.UserQuery [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Parameterized SQL statement for a user-defined query |
Although the name of a data-driven query property is preset, its content is not enforced. Any of the queries may be used for any desired operation. The nomenclature is provided as a convenient means of identification, based upon the primary purpose of the operation.
String
Read/write
HRESULT GetUserQuery(BSTR *pRetVal);
HRESULT SetUserQuery(BSTR NewValue);