Share via


IDeploymentOperations.DeleteByNameAsync Method

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

Usage

'Usage
Dim instance As IDeploymentOperations
Dim serviceName As String
Dim deploymentName As String
Dim deleteFromStorage As Boolean
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of OperationStatusResponse)

returnValue = instance.DeleteByNameAsync(serviceName, deploymentName, deleteFromStorage, cancellationToken)

Syntax

'Declaration
Function DeleteByNameAsync ( _
    serviceName As String, _
    deploymentName As String, _
    deleteFromStorage As Boolean, _
    cancellationToken As CancellationToken _
) As Task(Of OperationStatusResponse)
Task<OperationStatusResponse> DeleteByNameAsync (
    string serviceName,
    string deploymentName,
    bool deleteFromStorage,
    CancellationToken cancellationToken
)
Task<OperationStatusResponse^>^ DeleteByNameAsync (
    String^ serviceName, 
    String^ deploymentName, 
    bool deleteFromStorage, 
    CancellationToken cancellationToken
)
Task<OperationStatusResponse> DeleteByNameAsync (
    String serviceName, 
    String deploymentName, 
    boolean deleteFromStorage, 
    CancellationToken cancellationToken
)
function DeleteByNameAsync (
    serviceName : String, 
    deploymentName : String, 
    deleteFromStorage : boolean, 
    cancellationToken : CancellationToken
) : Task<OperationStatusResponse>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IDeploymentOperations Interface
IDeploymentOperations Members
Microsoft.WindowsAzure.Management.Compute Namespace