Share via


IRTCClientProvisioning::DisableProfile

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method disables a profile that was previously enabled with IRTCClientProvisioning::EnableProfile.

If the profile was registered, this method deregisters it.

Syntax

HRESULT DisableProfile(
  IRTCProfile* pProfile
);

Parameters

  • pProfile
    [in] Pointer to the IRTCProfile interface for the profile to disable.

Return Value

This method can return an RTC_E_ constant.

Remarks

Disabled profiles no longer show up in the profile list retrieved by IRTCClientProvisioning::EnumerateProfiles and IRTCClientProvisioning::Profiles.

Also, disabled profiles are not available to be selected by IRTCClient::CreateSession and IRTCClientPresence::AddBuddy.

Aa923438.security(en-us,MSDN.10).gifSecurity Note:
This method can send data over the network in unencrypted form. Therefore, someone eavesdropping on the network could read the data. Before using this method in an unencrypted session, consider the security risk of sending the data in clear text. An RTC session can be encrypted by specifying TLS in the profile used for the session.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IRTCClientProvisioning
IRTCClient::CreateSession
IRTCClientPresence::AddBuddy
IRTCClientProvisioning::CreateProfile
IRTCClientProvisioning::EnableProfile
IRTCClientProvisioning::EnumerateProfiles
IRTCClientProvisioning::Profiles
IRTCProfile