Share via


IFPCNetwork::NetworkConnectionType property

Applies to: desktop apps only

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.

This property is read/write.

Syntax

HRESULT put_NetworkConnectionType(
  FpcNetworkConnectionType ConnectionType
);

HRESULT get_NetworkConnectionType(
  FpcNetworkConnectionType *pConnectionType
);
' Data type: FpcNetworkConnectionType

Property NetworkConnectionType( _
  ByVal ConnectionType As FpcNetworkConnectionType, _
  ByVal pConnectionType As FpcNetworkConnectionType _
) As FpcNetworkConnectionType

Property value

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

Error codes

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

Remarks

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

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCNetwork

 

 

Build date: 7/12/2010