Share via


IFPCNetwork::NetworkType property

Applies to: desktop apps only

The NetworkType property gets a value from the FpcNetworkTypes enumerated type that specifies the type of network, such as the predefined Default External, Internal, Local Host, VPN Clients, or Quarantined VPN Clients network, or a user-defined network.

This property is read-only.

Syntax

HRESULT get_NetworkType(
  FpcNetworkTypes *pType
);
' Data type: FpcNetworkTypes

Property NetworkType( _
  ByVal pType As FpcNetworkTypes _
) As FpcNetworkTypes

Property value

Value from the FpcNetworkTypes enumerated type that specifies the type of network.

Error codes

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

This property is read-only. The value for all user-defined networks is fpcStandardNetwork.

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