Partager via


IProfileObject2::Update Method

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

HRESULT IProfileObject2::Update(
);
Sub Update()

Parameters

None.

Return Value

[C++]

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

[Visual Basic]

None.

Error Values

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.

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

Other Resources

ProfileObject Object

IProfileObject2::get_Fields Property