共用方式為


GatewayOperationsExtensions.ListConnectionsAsync Method

Definition

The List Connections operation returns a list of the local network connections that can be accessed through the gateway. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154120.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayListConnectionsResponse> ListConnectionsAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName);
static member ListConnectionsAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayListConnectionsResponse>
<Extension()>
Public Function ListConnectionsAsync (operations As IGatewayOperations, networkName As String) As Task(Of GatewayListConnectionsResponse)

Parameters

operations
IGatewayOperations

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

networkName
String

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

Returns

The response to a ListConnections request to a Virtual Network Gateway.

Applies to