Share via


DesktopVirtualizationClient.UserSessionsListWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IUserSessionList> UserSessionsListWithResult (string subscriptionId, string resourceGroupName, string hostPoolName, string sessionHostName, int? pageSize, bool? isDescending, int? initialSkip, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync sender);
member this.UserSessionsListWithResult : string * string * string * string * Nullable<int> * Nullable<bool> * Nullable<int> * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IUserSessionList>
Public Function UserSessionsListWithResult (subscriptionId As String, resourceGroupName As String, hostPoolName As String, sessionHostName As String, pageSize As Nullable(Of Integer), isDescending As Nullable(Of Boolean), initialSkip As Nullable(Of Integer), eventListener As IEventListener, sender As ISendAsync) As Task(Of IUserSessionList)

Parameters

subscriptionId
String
resourceGroupName
String
hostPoolName
String
sessionHostName
String
pageSize
Nullable<Int32>
isDescending
Nullable<Boolean>
initialSkip
Nullable<Int32>
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to