Share via


IGatewayOperations.BeginRemoveDefaultSitesAsync Method (String, CancellationToken)

 

The Begin Remove Virtual Network Gateway Shared Key operation removes the default sites on the virtual network gateway for the specified virtual network.

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

Syntax

Task<GatewayOperationResponse> BeginRemoveDefaultSitesAsync(
    string networkName,
    CancellationToken cancellationToken
)
Task<GatewayOperationResponse^>^ BeginRemoveDefaultSitesAsync(
    String^ networkName,
    CancellationToken cancellationToken
)
abstract BeginRemoveDefaultSitesAsync : 
        networkName:string *
        cancellationToken:CancellationToken -> Task<GatewayOperationResponse>
Function BeginRemoveDefaultSitesAsync (
    networkName As String,
    cancellationToken As CancellationToken
) As Task(Of GatewayOperationResponse)

Parameters

  • networkName
    Type: System.String

    The name of the virtual network for this gateway.

Return Value

Type: System.Threading.Tasks.Task<GatewayOperationResponse>

A standard service response including an HTTP status code and request ID.

See Also

IGatewayOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace

Return to top