Retrieves the disposition of data transfer for a data source object.
Syntax
HRESULT get_reason( long *p );
Parameters
- p
- Address of a long integer variable that receives an integer value that specifies the reason for completion. For details, see the reason property.
Return Value
Returns S_OK if successful, or an error code otherwise.