Partager via


IProfileService2::get_Errors Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The Errors property is a read-only ADO Errors object that stores the collection of errors encountered in the last Profiles resource operation.

HRESULT IProfileObject::get_Errors(
  Errors** ppErrors
);
Property Errors As Object

Parameters

  • ppErrors
    [C++]

    [out, retval] The address of a pointer to an Errors object.

Return Value

[C++]

This method returns an HRESULT indicating whether it completed successfully.

[Visual Basic]

None.

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) 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.

See Also

Other Resources

ProfileObject Object

ProfileService Object