Udostępnij za pośrednictwem


CollectionOperationsExtensions.LogoffSessionAsync Method

Definition

Logs off the session associated with the user UPN

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

Parameters

operations
ICollectionOperations

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

collectionName
String

Required. The RemoteApp collection name where the session exists.

sessionParameter
SessionCommandParameter

Required. The session command parameter to logoff a session.

Returns

The response containing the operation tracking id.

Applies to