IOlkAccount::SetProp

Sets the value of the specified account property.

Quick info

See IOlkAccount.

HRESULT IOlkAccount::SetProp(  
    DWORD dwProp, 
    ACCT_VARIANT *pVar 
);

Parameters

dwProp

[in] The property tag of the account property to set.

pVar

[in] The value of the specified property.

Return values

HRESULT Description
S_OK
The method call was successful.
E_INVALIDARG
An invalid property tag was specified.

Remarks

Use IOlkAccount::SaveChanges to save changes to the value of account properties.

See also