Assembly: Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Property PhoneAccessEnabled As Boolean |
C# |
---|
public bool PhoneAccessEnabled { get; set; } |
Visual C++ |
---|
public: property bool PhoneAccessEnabled { bool get (); void set ( bool value); } |
JavaScript |
---|
function get_ phoneAccessEnabled(); function set_ phoneAccessEnabled( value); |
Remarks
Setting this property to true means that conference participants can join the conference over the phone through the Conferencing Auto Attendant (CAA) service.
Note that this setting is not preserved on converting a
Conferenceobject to a
ConferenceScheduleInformationobject. Therefore, on updating a
conference that is phone access enabled, this property needs to be
set again after the conversion.
//conference is an object of type
<see>Microsoft.Rtc.Collaboration.Conference</see>
//Convert to scheduling
information.
ConferenceScheduleInformation csi = (ConferenceScheduleInformation)
conference;
//Explicitly set the phone access
enabled property after the conversion to preserve the
//original setting.
//If the converted conference has
phone information, then it supports phone access.
csi.PhoneAccessEnabled = (conference.PhoneInformation !=
null);
//Change some property
csi.Description =
"New conference
description";
userEndpoint.ConferenceServices.BeginUpdateConference(csi,UpdateCallback,userEndpoint.ConferenceServices);