ICollectionOperations.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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> DisconnectSessionAsync (string collectionName, Microsoft.WindowsAzure.Management.RemoteApp.Models.SessionCommandParameter sessionParameter, System.Threading.CancellationToken cancellationToken);
abstract member DisconnectSessionAsync : string * Microsoft.WindowsAzure.Management.RemoteApp.Models.SessionCommandParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId>
Public Function DisconnectSessionAsync (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 disconnect a session.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The response containing the operation tracking id.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET