SmartFoxServer Silverlight API
GetMaxUsers Method
Namespaces ► SmartFoxClientAPI.Data ► Room ► GetMaxUsers()()()
Retrieve the maximum number of users that can join the room.
Declaration Syntax

C# | Visual Basic | Visual C++

    public int GetMaxUsers()

    Public Function GetMaxUsers As Integer

    public:
    int GetMaxUsers()

Return Value
The maximum number of users that can join the room
Remarks
Version:
SmartFoxServer Basic / Pro
Examples
CopyC#

    Debug.WriteLine("Max users allowed to join the room: " + room.GetMaxUsers());

See Also
GetMaxSpectators()()()

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)