次の方法で共有


HostedServiceOperationsExtensions.GetAsync メソッド

定義

[ホストされたサービスのプロパティの取得] 操作では、指定したクラウド サービスのシステム プロパティを取得します。 これらのプロパティには、サービス名とサービスの種類が含まれます。サービスが属するアフィニティ グループの名前、またはアフィニティ グループの一部でない場合はその場所。 (詳細については、 を参照 http://msdn.microsoft.com/en-us/library/windowsazure/ee460806.aspx してください)

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

パラメーター

operations
IHostedServiceOperations

Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations への参照。

serviceName
String

必須。 クラウド サービスの名前。

戻り値

Get Hosted Service 操作応答。

適用対象