Share via


GatewayOperationsExtensions.ListConnections Method

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

Namespace: Microsoft.WindowsAzure.Management.Network
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Usage

'Usage
Dim operations As IGatewayOperations
Dim networkName As String
Dim returnValue As GatewayListConnectionsResponse

returnValue = GatewayOperationsExtensions.ListConnections(operations, networkName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ListConnections ( _
    operations As IGatewayOperations, _
    networkName As String _
) As GatewayListConnectionsResponse
[ExtensionAttribute] 
public static GatewayListConnectionsResponse ListConnections (
    IGatewayOperations operations,
    string networkName
)
[ExtensionAttribute] 
public:
static GatewayListConnectionsResponse^ ListConnections (
    IGatewayOperations^ operations, 
    String^ networkName
)
/** @attribute ExtensionAttribute() */ 
public static GatewayListConnectionsResponse ListConnections (
    IGatewayOperations operations, 
    String networkName
)
ExtensionAttribute 
public static function ListConnections (
    operations : IGatewayOperations, 
    networkName : String
) : GatewayListConnectionsResponse

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
  • networkName
    Required. The name of the virtual network for this gateway.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

GatewayOperationsExtensions Class
GatewayOperationsExtensions Members
Microsoft.WindowsAzure.Management.Network Namespace