GatewayOperationsExtensions.BeginFailover 方法 (IGatewayOperations, String)

 

开始故障转移虚拟网络网关操作会导致在 Azure 中的指定的虚拟网络的网络网关故障转移。 (请参阅 https://msdn.microsoft.com/en-us/library/windowsazure/jj154118.aspx 有关详细信息)

命名空间:   Microsoft.WindowsAzure.Management.Network
程序集:  Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)

语法

public static GatewayOperationResponse BeginFailover(
    this IGatewayOperations operations,
    string networkName
)
public:
[ExtensionAttribute]
static GatewayOperationResponse^ BeginFailover(
    IGatewayOperations^ operations,
    String^ networkName
)
static member BeginFailover : 
        operations:IGatewayOperations *
        networkName:string -> GatewayOperationResponse
<ExtensionAttribute>
Public Shared Function BeginFailover (
    operations As IGatewayOperations,
    networkName As String
) As GatewayOperationResponse

参数

  • networkName
    Type: System.String

    必需。 在 Azure 中的虚拟网络的名称。

返回值

Type: Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse

标准服务响应,包括 HTTP 状态代码和请求 ID。

请参阅

GatewayOperationsExtensions 类
Microsoft.WindowsAzure.Management.Network 命名空间

返回页首