Dela via


HostedServiceOperationsExtensions.Get Method

Definition

The Get Hosted Service Properties operation retrieves system properties for the specified cloud service. These properties include the service name and service type; and the name of the affinity group to which the service belongs, or its location if it is not part of an affinity group. (see http://msdn.microsoft.com/en-us/library/windowsazure/ee460806.aspx for more information)

public static Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetResponse Get (this Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations operations, string serviceName);
static member Get : Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations * string -> Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetResponse
<Extension()>
Public Function Get (operations As IHostedServiceOperations, serviceName As String) As HostedServiceGetResponse

Parameters

operations
IHostedServiceOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations.

serviceName
String

Required. The name of the cloud service.

Returns

The Get Hosted Service operation response.

Applies to