Dela via


CollectionOperationsExtensions.ListSessionsAsync Method

Definition

Gets the list of all sessions in the collection.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionSessionListResult> ListSessionsAsync (this Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations operations, string collectionName);
static member ListSessionsAsync : Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionSessionListResult>
<Extension()>
Public Function ListSessionsAsync (operations As ICollectionOperations, collectionName As String) As Task(Of CollectionSessionListResult)

Parameters

operations
ICollectionOperations

Reference to the Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations.

collectionName
String

Required. The RemoteApp collection name where the sessions exists.

Returns

List of user sessions in a given collection.

Applies to