Share via


HostedServiceOperationsExtensions.DeleteAllAsync 메서드

The DeleteAll Hosted Service operation deletes the specified cloud service as well as operating system disk, attached data disks, and the source blobs for the disks from storage from Microsoft Azure. (see 'https://msdn.microsoft.com/library/windowsazure/gg441305.aspx' for more information)

네임스페이스: Microsoft.WindowsAzure.Management.Compute
어셈블리: Microsoft.WindowsAzure.Management.Compute.dll의 Microsoft.WindowsAzure.Management.Compute

사용량

‘사용 방법
Dim operations As IHostedServiceOperations
Dim serviceName As String
Dim returnValue As Task(Of OperationStatusResponse)

returnValue = HostedServiceOperationsExtensions.DeleteAllAsync(operations, serviceName)

구문

‘선언
<ExtensionAttribute> _
Public Shared Function DeleteAllAsync ( _
    operations As IHostedServiceOperations, _
    serviceName As String _
) As Task(Of OperationStatusResponse)
[ExtensionAttribute] 
public static Task<OperationStatusResponse> DeleteAllAsync (
    IHostedServiceOperations operations,
    string serviceName
)
[ExtensionAttribute] 
public:
static Task<OperationStatusResponse^>^ DeleteAllAsync (
    IHostedServiceOperations^ operations, 
    String^ serviceName
)
/** @attribute ExtensionAttribute() */ 
public static Task<OperationStatusResponse> DeleteAllAsync (
    IHostedServiceOperations operations, 
    String serviceName
)
ExtensionAttribute 
public static function DeleteAllAsync (
    operations : IHostedServiceOperations, 
    serviceName : String
) : Task<OperationStatusResponse>

매개 변수

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations.
  • serviceName
    Required. The name of the cloud service.

반환 값

The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is inprogress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.

스레드 보안

이 유형의 public static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

플랫폼

개발 플랫폼

Windows Vista, Windows 7 및 Windows Server 2008

대상 플랫폼

참고 항목

참조

HostedServiceOperationsExtensions 클래스
HostedServiceOperationsExtensions 멤버
Microsoft.WindowsAzure.Management.Compute 네임스페이스