Udostępnij za pośrednictwem


CollectionOperationsExtensions.LogoffSession Method

Definition

Logs off the session associated with the user UPN

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