次の方法で共有


_ExchangeDistributionList.Update Method

Posts a change to the ExchangeDistributionList 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 _ExchangeDistributionList
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

_ExchangeDistributionList Interface

_ExchangeDistributionList Members

Microsoft.Office.Interop.Outlook Namespace