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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET