Partilhar via


UserSessionCollection.GetAllAsync Método

Definição

Listar userSessions.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions
  • IdUserSessions_List de operação
public virtual Azure.AsyncPageable<Azure.ResourceManager.DesktopVirtualization.UserSessionResource> GetAllAsync (int? pageSize = default, bool? isDescending = default, int? initialSkip = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * Nullable<bool> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DesktopVirtualization.UserSessionResource>
override this.GetAllAsync : Nullable<int> * Nullable<bool> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DesktopVirtualization.UserSessionResource>
Public Overridable Function GetAllAsync (Optional pageSize As Nullable(Of Integer) = Nothing, Optional isDescending As Nullable(Of Boolean) = Nothing, Optional initialSkip As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of UserSessionResource)

Parâmetros

pageSize
Nullable<Int32>

Número de itens por página.

isDescending
Nullable<Boolean>

Indica se a coleção está decrescente.

initialSkip
Nullable<Int32>

Número inicial de itens a serem ignoradas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de UserSessionResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a