LocationOperationsExtensions.ListAsync Method (ILocationOperations)
Asynchronously lists all of the data center locations that are available for a subscription.
Namespace: Microsoft.WindowsAzure.Management
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)
Syntax
public static Task<LocationsListResponse> ListAsync(
this ILocationOperations operations
)
public:
[ExtensionAttribute]
static Task<LocationsListResponse^>^ ListAsync(
ILocationOperations^ operations
)
static member ListAsync :
operations:ILocationOperations -> Task<LocationsListResponse>
<ExtensionAttribute>
Public Shared Function ListAsync (
operations As ILocationOperations
) As Task(Of LocationsListResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.ILocationOperationsThe ILocationOperations object that specifies the operations.
Return Value
Type: System.Threading.Tasks.Task<LocationsListResponse>
A LocationsListResponse object that contains the list of available locations.
Remarks
For more information about retrieving available locations, see the following resources:
See Also
LocationOperationsExtensions Class
Microsoft.WindowsAzure.Management Namespace
Return to top