CCommand::GetNextResult

HRESULT GetNextResult( LONG* pulRowsAffected, bool bBind = true );

Return Value

A standard HRESULT.

Parameters

pulRowsAffected

[in/out] A pointer to memory where the count of rows affected by a command is returned.

bBind

[in] Determines whether or not the command is bound after being executed.

Remarks

Fetches the next result set if one is available. If a result set has been previously fetched, this function releases the previous result set and unbinds the columns. If bBind is true, it binds the new columns.

CCommand OverviewClass Members