Compartilhar via


Método ActivityOperationsExtensions.ListAsync

Retrieve a list of activities in the module identified by module name. (see https://aka.ms/azureautomationsdk/activityoperations for more information)

Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (em Microsoft.WindowsAzure.Management.Automation.dll)

Uso

'Uso
Dim operations As IActivityOperations
Dim automationAccount As String
Dim moduleName As String
Dim returnValue As Task(Of ActivityListResponse)

returnValue = ActivityOperationsExtensions.ListAsync(operations, automationAccount, moduleName)

Sintaxe

'Declaração
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
    operations As IActivityOperations, _
    automationAccount As String, _
    moduleName As String _
) As Task(Of ActivityListResponse)
[ExtensionAttribute] 
public static Task<ActivityListResponse> ListAsync (
    IActivityOperations operations,
    string automationAccount,
    string moduleName
)
[ExtensionAttribute] 
public:
static Task<ActivityListResponse^>^ ListAsync (
    IActivityOperations^ operations, 
    String^ automationAccount, 
    String^ moduleName
)
/** @attribute ExtensionAttribute() */ 
public static Task<ActivityListResponse> ListAsync (
    IActivityOperations operations, 
    String automationAccount, 
    String moduleName
)
ExtensionAttribute 
public static function ListAsync (
    operations : IActivityOperations, 
    automationAccount : String, 
    moduleName : String
) : Task<ActivityListResponse>

Parâmetros

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.IActivityOperations.
  • automationAccount
    Required. The automation account name.
  • moduleName
    Required. The name of module.

Valor de retorno

The response model for the list activity operation.

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe ActivityOperationsExtensions
Membros ActivityOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation