Partager via


_ExchangeUser.Update Method

Posts a change to the ExchangeUser object in the messaging system.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Sub Update ( _
    MakePermanent As Object, _
    Refresh As Object _
)
'Usage
Dim instance As _ExchangeUser
Dim MakePermanent As Object
Dim Refresh As Object

instance.Update(MakePermanent, Refresh)
[DispIdAttribute()]
void Update(
    Object MakePermanent,
    Object Refresh
)

Parameters

  • MakePermanent
    Type: System.Object

    A value of True indicates that the property cache is flushed and all changes are committed in the underlying address book. A value of False indicates that the property cache is flushed but not committed to persistent storage. The default value is True.

  • Refresh
    Type: System.Object

    A value of True indicates that the property cache is reloaded from the values in the underlying address book. A value of False indicates that the property cache is not reloaded. The default value is False.

Remarks

New entries or changes to existing entries are not persisted in the collection until the Update method has been called with its MakePermanent parameter set to True.

To flush the cache and then reload the values from the address book, call Update with the MakePermanent parameter set to False and the Refresh parameter set to True.

See Also

Reference

_ExchangeUser Interface

_ExchangeUser Members

Microsoft.Office.Interop.Outlook Namespace