Share via


DesktopVirtualizationClient.SessionHostsListWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISessionHostList> SessionHostsListWithResult (string subscriptionId, string resourceGroupName, string hostPoolName, int? pageSize, bool? isDescending, int? initialSkip, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync sender);
member this.SessionHostsListWithResult : 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.ISessionHostList>
Public Function SessionHostsListWithResult (subscriptionId As String, resourceGroupName As String, hostPoolName 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 ISessionHostList)

Parameters

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

Returns

Applies to