Commit Method

The Commit method of the Property class commits changes made to a property to the user profile database.

Exceptions

Exception Type Condition
DuplicateEntryException Duplicate property or duplicate domain controller name defined in the user profile database
PropertyInUseException Writing to a property that another user is accessing
NoErrorFeedBackException Method has failed and no error code is returned
CommitFailedException Commit method has failed
UserProfileException Creation of a UserProfile object fails.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security