共用方式為


GatewayOperationsExtensions.BeginFailover(IGatewayOperations, String) Method

Definition

The Begin Failover Virtual Network Gateway operation causes a network gateway failover for the specified virtual network in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154118.aspx for more information)

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

Parameters

operations
IGatewayOperations

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

networkName
String

Required. The name of the virtual network in Azure.

Returns

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

Applies to