共用方式為


IGatewayOperations.BeginRemoveDefaultSitesAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginRemoveDefaultSitesAsync (string networkName, System.Threading.CancellationToken cancellationToken);
abstract member BeginRemoveDefaultSitesAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
Public Function BeginRemoveDefaultSitesAsync (networkName As String, cancellationToken As CancellationToken) As Task(Of GatewayOperationResponse)

Parameters

networkName
String

The name of the virtual network for this gateway.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to