IRTCWatcher::put_Persistent
The put_Persistent property sets the persistence type. This method sets the persistent type returned in IRTCWatcher::get_Persistent.
HRESULT put_Persistent(VARIANT_BOOLfPersistent);
Parameters
- fPersistent
[in] If VARIANT_TRUE, the presence contact is persistent.
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.