Share via


IOlkAccount::SetProp

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] Property tag of the account property to set.

PROP_ACCT_ID

PROP_ACCT_IS_EXCH

PROP_ACCT_NAME

PROP_ACCT_SEND_STAMP

PROP_ACCT_STAMP

PROP_ACCT_USER_DISPLAY_NAME

pVar

[in] Value of the specified property.

Return Values

E_INVALIDARG

An invalid property tag has been specified.

Remarks

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

See Also

Constants for the Account Management API

IOlkAccount::GetProp