ProfileService.Errors Property (PIA)

[Visual Basic .NET] The Errors property is a read-only Errors object that stores the collection of errors encountered in the last Profiles resource operation.

[C#] The Errors property is a read-only ADODB26Lib.Errors object that stores the collection of errors encountered in the last Profiles resource operation.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Profiles
Imports ADODB26Lib     ‘ for Errors
…
Public ReadOnly Property Errors As Errors

[C#]

using Microsoft.CommerceServer.Interop.Profiles;
using ADODB26Lib;                              //For Errors
…
public Errors Errors {get; }

Property Value

This property returns the collection of errors encountered in the last Profiles resource operation.

Exceptions

This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

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 Errors object are set.

Call the Initialize method before you access the Errors property.

Requirements

Namespace: Microsoft.CommerceServer.Interop.Profiles

Platforms: Windows 2000, Windows Server 2003

Assembly: mscsupslib (in mscsupslib.dll)

See Also

ProfileObject Class

ProfileService Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.