VisibleOnlyToMembers Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Gets the default 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, AsyncCallback, Object)). Chat rooms which are not visible to a user will not appear in the search results.

Namespace:  Microsoft.Rtc.Collaboration.GroupChat
Assembly:  Microsoft.Rtc.Collaboration.GroupChat (in Microsoft.Rtc.Collaboration.GroupChat.dll)

Syntax

'Declaration
Public Property VisibleOnlyToMembers As InheritedChatRoomProperty
    Get
    Private Set
'Usage
Dim instance As ChatRoom
Dim value As InheritedChatRoomProperty

value = instance.VisibleOnlyToMembers
public InheritedChatRoomProperty VisibleOnlyToMembers { get; private set; }

Property Value

Type: Microsoft.Rtc.Collaboration.GroupChat.InheritedChatRoomProperty
A data structure which conveys the value set on this chat room (if any), the value which is inherited from the parent category, and the effective value which is used.

Remarks

The value of this property is derived by combining the value set on this instance (if any) with the value that is inherited from the parent category. The default value is null, which causes the chat room to inherit the value set by the parent category. Initially, the value of this property is set to false on the root category.

When false, the chat room is visible to all users in scope on the parent category. If changed to true, the chat room will only be visible only to its members. The default value is null, which causes the chat room to inherit the value set by the parent category.

See Also

Reference

ChatRoom Class

ChatRoom Members

Microsoft.Rtc.Collaboration.GroupChat Namespace