Gets all watched Sessions for any watched user, station or machine.

Note: This method is supported for IC Server version 2017 R2 and beyond.

Namespace: ININ.IceLib.Connection.Extensions
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public ReadOnlyCollection<SessionWatchSettings> GetWatchedSessions()
Visual Basic
Public Function GetWatchedSessions As ReadOnlyCollection(Of SessionWatchSettings)

Return Value

A ReadOnlyCollection<(Of <(<'T>)>)> of SessionWatchSettings objects.

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionThe watcher is not currently watched.

Version Information

Supported for IC Server version 2017 R2 and beyond.

See Also