MigrationModifyObj Object
Use the MigrationModifyObj object to change the data that has been read from the Membership Directory before it is migrated to the Commerce Server Profile data store.
Interface
The MigrationModifyObj object supports the following interface:
interface IMigrationModify::IUnknown
{
HRESULT Initialize();
HRESULT ModifyAttributes([in] long lProfile_id,
[in] BSTR bstrAttribute,
[in] USHORT targetType,
[in] USHORT sourceType,
[in, out] VARIANT *varTarg);
};
Methods
The following table shows the methods of the MigrationWriteObj object, and provides a description of each.
Methods | Description |
Initialize | Initializes the MigrationModifyObj object. Call this method before calling the ModifyAttributes method. |
ModifyAttributes | Accepts the key, profile ID, and array of values to be modified. This method uses the profile ID to determine the structure of the array based on the attributes that it read in the Initialize method. |