Share via


HostedServiceOperationsExtensions.Get Method (IHostedServiceOperations, String)

 

Retrieves system properties for the specified cloud service.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

public static HostedServiceGetResponse Get(
    this IHostedServiceOperations operations,
    string serviceName
)
public:
[ExtensionAttribute]
static HostedServiceGetResponse^ Get(
    IHostedServiceOperations^ operations,
    String^ serviceName
)
static member Get : 
        operations:IHostedServiceOperations *
        serviceName:string -> HostedServiceGetResponse
<ExtensionAttribute>
Public Shared Function Get (
    operations As IHostedServiceOperations,
    serviceName As String
) As HostedServiceGetResponse

Parameters

  • serviceName
    Type: System.String

    The name of the cloud service for which information should be retrieved.

Return Value

Type: Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetResponse

The HostedServiceGetResponse object that contains information about the cloud service.

Remarks

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:

See Also

HostedServiceOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top