CollectionOperationsExtensions.LogoffSessionAsync 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.
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
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