Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether provider data will populate the consumer application or control asynchronously.
Important
This feature will be removed in a future version of Windows. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Instead, write a fully functional OLE DB provider using the native OLE DB interfaces.
Syntax
HRESULT isAsync (
BOOL *pbAsynch);
Parameters
- *pbAsynch
[out] Boolean value indicating whether data is returned asynchronously (1) or not (0).
Return Codes
S_OK
The method succeeded.E_FAIL
A provider-specific error occurred.
Comments
OLEDBSimpleProvider::isAsync should always return the appropriate state; it should never block.
In Java, IOLEDBSimpleProvider::isAsync returns type int instead of Boolean because of how the interface definition is generated. Developers should return 0 for false and a nonzero integer for true.