RasConnection.GetActiveConnections Method

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Retrieves a read-only list of active connections.

Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)

Syntax

C#
public static ReadOnlyCollection<RasConnection> GetActiveConnections()
Visual Basic
Public Shared Function GetActiveConnections As ReadOnlyCollection(Of RasConnection)
Visual C++
public:
static ReadOnlyCollection<RasConnection^>^ GetActiveConnections()
F#
static member GetActiveConnections : unit -> ReadOnlyCollection<RasConnection> 

Return Value

Type: ReadOnlyCollection<(Of <(<'RasConnection>)>)>
A new read-only collection of RasConnection objects, or an empty collection if no active connections were found.

See Also