共用方式為


IGatewayOperations.ListConnectionsAsync(String, CancellationToken) 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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayListConnectionsResponse> ListConnectionsAsync (string networkName, System.Threading.CancellationToken cancellationToken);
abstract member ListConnectionsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayListConnectionsResponse>
Public Function ListConnectionsAsync (networkName As String, cancellationToken As CancellationToken) As Task(Of GatewayListConnectionsResponse)

Parameters

networkName
String

The name of the virtual network for this gateway.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to