ChatRoom.Privacy Property

Definition

Gets the visibility of this chat room. Visibility defines the behavior of searches, in which a user queries the system for chat rooms matching a certain criteria (See BeginBrowseChatRoomsByCriteria(String, Boolean, Boolean, Boolean, AsyncCallback, Object) or BeginBrowseChatRoomsByCriteria(String, Boolean, Boolean, Boolean, Int32, AsyncCallback, Object)). Chat rooms which are not visible to a user will not appear in the search results. Visibility can also determine who can join a chat room. When Open, the chat room is visible to all users and can be joined by all users in scope on the parent category. When Private, the chat room is visible to all users in scope on the parent category. If Hidden, the chat room will only be visible to its members. The default value is Private.

public:
 property Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomPrivacy Privacy { Microsoft::Rtc::Collaboration::PersistentChat::ChatRoomPrivacy get(); };
public Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomPrivacy Privacy { get; }
member this.Privacy : Microsoft.Rtc.Collaboration.PersistentChat.ChatRoomPrivacy
Public ReadOnly Property Privacy As ChatRoomPrivacy

Property Value

Open if this chat room should be visible to all users in scope; Private if this chat room should be visible to anyone who is in scope on the parent category; (default) Hidden if this chat room should be visible only to members of the chat room

Applies to