Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostConnection Class > Methods

GetSessionOwnerCount method (static)

Scroll Prev Top Next More

Return the active count of started sessions that have a session owner string that starts with or is equal to the ownerSearchText argument .

 

int HostConnection.GetSessionOwnerCount(String ownerSearchText);

 

Arguments

 

HostConnection

Required. HostConnection class Reference (this is a static method, no HostConnection object need be created prior to calling this method

 

ownerSearchText

Required. The owner search text to count in the active sessions.

 

Remarks

 

Returns the number of active sessions that match the text, or that start with the text in the search.  Combine this with setting the HostConnection.owner property for a session with a specific root text value in order to provide the ability to count sessions with a common root.  An example would be a location or organization identified by IP subnet or other means.

 

See Also

 

owner property

 

Applies To: HostConnection object

 


© 2022 Inventu Corporation