IEnumRepositoryErrors::Next

Meta Data Services Programming

Meta Data Services Programming

IEnumRepositoryErrors::Next

Use this method to retrieve the next one or more elements from the enumeration. There are two variations of this method.

HRESULT Next(     ULONG          iCount,
    REPOSERR   *psErrors,
    ULONG          *piFetched
)

HRESULT Next(IErrorInfo   **ppIErrorInfo );

Parts

iCount

[in]
The number of elements the caller is requesting.

*psErrors

[out]
The array of REPOSERROR structures for the retrieved items.

*ppIErrorInfo

[out]
The interface pointer to the error information object for the first element in the error queue.

*piFetched

[out]
The number of elements actually fetched for the caller.

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

See Also

IEnumRepositoryErrors Interface

REPOSERROR Data Structure