ICollectionOperations.ListSessionsAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET