IProfileService::get_Errors
The Errors property is a read-only ADO Errors object that stores the collection of errors encountered in the last Profiles resource operation.
Definition
HRESULT IProfileObject::get_Errors(Errors**ppErrors);
Parameters
ppErrors
[out, retval] The address of a pointer to an Errors object.
Return Values
This method returns an HRESULT indicating whether it completed successfully.
Remarks
The Errors property collects all errors generated by a ProfileService object operation, including those that emerge from the underlying technology.
If the error is coming from the underlying data store providers (such as OLE DB Provider for SQL Server and OLE DB Provider for Microsoft Directory Services) it is passed, for example, in some cases only the Number and Source properties of the Error object are set.
For information about standard COM errors, see Standard COM Errors.
The following ADO Errors methods and properties are supported:
Clear
Count
Item
_NewEnum
The following ADO Error methods and properties are supported:
Description
HelpFile
Number
Source
Call the Initialize method before you access the Errors property.