Share via


ActivityOperationsExtensions.ListAsync Method

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 (in Microsoft.WindowsAzure.Management.Automation.dll)

Usage

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

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

Syntax

'Declaration
<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>

Parameters

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

Return Value

The response model for the list activity operation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ActivityOperationsExtensions Class
ActivityOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace