你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualNetworkGatewaysOperationsExtensions.DisconnectVirtualNetworkGatewayVpnConnections 方法

定义

断开指定资源组中虚拟网络网关的 VPN 连接。

public static void DisconnectVirtualNetworkGatewayVpnConnections (this Microsoft.Azure.Management.Network.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, Microsoft.Azure.Management.Network.Models.P2SVpnConnectionRequest request);
static member DisconnectVirtualNetworkGatewayVpnConnections : Microsoft.Azure.Management.Network.IVirtualNetworkGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.P2SVpnConnectionRequest -> unit
<Extension()>
Public Sub DisconnectVirtualNetworkGatewayVpnConnections (operations As IVirtualNetworkGatewaysOperations, resourceGroupName As String, virtualNetworkGatewayName As String, request As P2SVpnConnectionRequest)

参数

operations
IVirtualNetworkGatewaysOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

virtualNetworkGatewayName
String

虚拟网络网关的名称。

request
P2SVpnConnectionRequest

提供参数以断开 VPN 连接。

适用于