共用方式為


GatewayOperationsExtensions.BeginSetDefaultSites Method

Definition

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

public static Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse BeginSetDefaultSites (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName, Microsoft.WindowsAzure.Management.Network.Models.GatewaySetDefaultSiteListParameters parameters);
static member BeginSetDefaultSites : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * Microsoft.WindowsAzure.Management.Network.Models.GatewaySetDefaultSiteListParameters -> Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse
<Extension()>
Public Function BeginSetDefaultSites (operations As IGatewayOperations, networkName As String, parameters As GatewaySetDefaultSiteListParameters) As GatewayOperationResponse

Parameters

operations
IGatewayOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.

networkName
String

Required. The name of the virtual network for this gateway.

parameters
GatewaySetDefaultSiteListParameters

Required. Parameters supplied to the Begin Virtual Network Gateway Set Default Sites request.

Returns

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

Applies to