ICollectionOperations.LogoffSessionAsync Method

Definition

Logs off the session associated with the user UPN

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

Parameters

collectionName
String

The RemoteApp collection name where the session exists.

sessionParameter
SessionCommandParameter

The session command parameter to logoff a session.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response containing the operation tracking id.

Applies to