HostedServiceOperationsExtensions::GetAsync Method (IHostedServiceOperations^, String^)
Asynchronously retrieves system properties for the specified cloud service.
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
public: [ExtensionAttribute] static Task<HostedServiceGetResponse^>^ GetAsync( IHostedServiceOperations^ operations, String^ serviceName )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Compute::IHostedServiceOperations^
The IHostedServiceOperations object that specifies the cloud service operations.
- serviceName
-
Type:
System::String^
The name of the cloud service for which information should be retrieved.
Return Value
Type: System.Threading.Tasks::Task<HostedServiceGetResponse^>^The HostedServiceGetResponse object that contains information about the cloud service.
These properties include the service name and service type; the name of the affinity group to which the service belongs, or its location if it is not part of an affinity group.
For more information about retrieving cloud service information, see the following resources:
Show: