Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This method sets or gets a value indicating if the presence contact is persistent.
Syntax
HRESULT put_Persistent(
VARIANT_BOOL fPersistent
);
HRESULT get_Persistent(
VARIANT_BOOL* pfPersistent
);
Parameters
- fPersistent, pfPersistent
[in, out] VARIANT_TRUE if the contact is persistent, which means that presence information for the contact is available. VARIANT_FALSE if the contact is not persistent.
Return Value
This method can return an RTC_E_ constant. The following table shows an additional possible return value.
| Value | Description |
|---|---|
E_FAIL |
There is no persistence type for this contact. |
Remarks
Buddies and watchers are saved to persistent storage when presence is enabled with storage. The IRTCClientPresence::Export and IRTCClientPresence::Import methods will also save the contacts to a file that is not part of the persistent storage. For more information, see IRTCClientPresence::EnablePresence.
Requirements
| Header | rtccore.h, rtccore.idl |
| Library | rtcdll.dll |
| Windows Embedded CE | Windows CE .NET 4.2 and later |
See Also
Reference
IRTCPresenceContact
IRTCClientPresence::EnablePresence
IRTCClientPresence::Export
IRTCClientPresence::Import