CollectionOperationsExtensions.DisconnectSession Method

Definition

Disconnects the session associated with the user UPN

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

Returns

The response containing the operation tracking id.

Applies to