IProfileObject2::Update Method [C++]

Use this method to save ProfileObject object data to the underlying data store.

Definition

[C++]

HRESULT IProfileObject2::Update();

[Visual Basic]

Sub Update()

Parameters

[C++] None.

[Visual Basic] None.

Return Values

[C++] This method returns an HRESULT indicating whether it completed successfully. See the Error Values section for more details.

[Visual Basic] None.

Error Values

[C++] The Errors property of the ProfileService object stores the collection of errors encountered in the last Profiles resource operation. For more information, see IProfileService::get_Errors.

[Visual Basic] The Errors property of the ProfileService object stores the collection of errors encountered in the last Profiles resource operation. For more information, see ProfileService.Errors.

Remarks

The Update method commits the object to the data store.

Any changes made using the IADs interface routines are committed to the database.

Use the Fields property to access the ProfileObject object data.

See Also

[C++]ProfileObject Object

[C++]IProfileObject2::get_Fields

[Visual Basic]ProfileObject Object

[Visual Basic]ProfileObject.Fields

Copyright © 2005 Microsoft Corporation.
All rights reserved.