ICollectionOperations.ListSessionsAsync(String, CancellationToken) Method

Definition

Gets the list of all sessions in the collection.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionSessionListResult> ListSessionsAsync (string collectionName, System.Threading.CancellationToken cancellationToken);
abstract member ListSessionsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionSessionListResult>
Public Function ListSessionsAsync (collectionName As String, cancellationToken As CancellationToken) As Task(Of CollectionSessionListResult)

Parameters

collectionName
String

The RemoteApp collection name where the sessions exists.

cancellationToken
CancellationToken

Cancellation token.

Returns

List of user sessions in a given collection.

Applies to