CollectionOperationsExtensions.DisconnectSessionAsync 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.
Disconnects the session associated with the user UPN
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> DisconnectSessionAsync(this Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations operations, string collectionName, Microsoft.WindowsAzure.Management.RemoteApp.Models.SessionCommandParameter sessionParameter);
static member DisconnectSessionAsync : 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 DisconnectSessionAsync (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 disconnect a session.
Returns
The response containing the operation tracking id.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET