GetNetworks Method

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Retrieves a collection of Network objects that represent the networks defined for this machine.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library.Network
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public static NetworkCollection GetNetworks(
	NetworkConnectivityLevels level
)
Visual Basic (Declaration)
Public Shared Function GetNetworks ( _
	level As NetworkConnectivityLevels _
) As NetworkCollection
Visual C++
public:
static NetworkCollection^ GetNetworks(
	NetworkConnectivityLevels level
)

Parameters

level
Type: Microsoft.SDK.Samples.VistaBridge.Library.Network..::.NetworkConnectivityLevels
The NetworkConnectivityLevels that specify the connectivity level of the returned Network objects.

Return Value

A NetworkCollection of Network objects.

See Also