Dela via


CollectionOperationsExtensions.ListSessions Method

Definition

Gets the list of all sessions in the collection.

public static Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionSessionListResult ListSessions (this Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations operations, string collectionName);
static member ListSessions : Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations * string -> Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionSessionListResult
<Extension()>
Public Function ListSessions (operations As ICollectionOperations, collectionName As String) As 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