NetworkConnectionType Property of the IFPCNetwork Interface

The NetworkConnectionType property gets or sets a value from the FpcNetworkConnectionType enumerated type that specifies the type of connection to the network, such as a connection through a network adapter, a virtual private network (VPN) connection, a dial-up connection, or an Internet Protocol security (IPSec) connection.

[C++]
HRESULT put_NetworkConnectionType(
	FpcNetworkConnectionType ConnectionType
);
HRESULT get_NetworkConnectionType(
	FpcNetworkConnectionType* pConnectionType
);

Parameters

pConnectionType

Pointer to a variable that on return receives a value from the FpcNetworkConnectionType enumerated type specifying the type of connection to the network.

ConnectionType

Value from the FpcNetworkConnectionType enumerated type that specifies the type of connection to the network.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

[Visual Basic]
Property NetworkConnectionType As FpcNetworkConnectionType

Property Value

Value from the FpcNetworkConnectionType enumerated type that specifies the type of connection to the network.

Remarks

This property is read/write. Its default value is fpcAdapter, which indicates that the connection is through a network adapter.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCNetwork


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.