Partager via


IOlkAccount::SetProp

Sets the value of the specified account property.

Quick Info

See IOlkAccount.

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

Parameters

  • 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

Constants (Account Management API)
IOlkAccount::GetProp