Share via


IRTCWatcher::get_Persistent

The get_Persistent property gets the persistence type. This method returns the persistent type set in IRTCWatcher::put_Persistent.

HRESULT get_Persistent(VARIANT_BOOL*pfPersistent);

Parameters

  • pfPersistent
    [out] Pointer to a VARIANT_BOOL containing the persistence type.

Return Values

RTC methods may return an RTC_E_ constant.

Remarks

Buddies and Watchers are saved to persistent storage when presence is enabled with storage (see IRTCClientPresence::EnablePresence). The IRTCClientPresence::Export and IRTCClientPresence::Import methods will also save the contacts to a file that is not part of the persistent storage.

Requirements

Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCWatcher is defined as c7cedad8-346b-4d1b-ac02-a2088df9be4f.

See Also

IRTCWatcher, IRTCWatcher::put_Data