FPCAdapter Object

The FPCAdapter object represents a single network adapter of a Forefront TMG computer. You can connect to the Internet through either a direct or dial-up connection. If you choose a direct connection, you need to set up an external network adapter. This object represents that adapter and is an element of an FPCAdapters collection.

Click here to see the Forefront TMG object hierarchy.

Methods

The FPCAdapter object defines the following methods.

Method Description

EnableAutoDnsDetection

Enables the automatic detection of DNS servers.

EnableDhcp

Enables the network adapter to obtain an IP address from a DHCP server.

GetPrimaryDnsServer

Gets the IP address of the primary DNS server of the network adapter.

GetPrimaryGateway

Gets the primary gateway of the network adapter.

GetPrimaryIpAddress

Gets the primary IP address of the network adapter.

GetPrimarySubnetMask

Gets the primary subnet mask of the network adapter.

GetSecondaryDnsServer

Gets the IP address of the secondary DNS server of the network adapter.

IsIpInAddressSet

Determines whether an IP address is included in the address set of the adapter.

SetPrimaryDnsServer

Sets the IP address of the primary DNS server of the network adapter.

SetPrimaryGateway

Sets the primary gateway of the network adapter.

SetPrimaryIpAddress

Sets the primary IP address of the network adapter.

SetPrimarySubnetMask

Sets the primary subnet mask of the network adapter.

SetSecondaryDnsServer

Sets the IP address of the secondary DNS server of the network adapter.

Properties

The FPCAdapter object defines the following properties.

Property Description

Addresses

Gets a comma-delimited list of all IP addresses bound to the network adapter.

AutoDnsServerDetection

Gets a Boolean value that indicates whether DNS servers will be detected automatically.

ConnectionType

Gets a value from the FpcAdapterConnectionType enumerated type that specifies the type of connection to the network adapter.

Description

Gets the description of the network adapter.

DhcpEnabled

Gets a Boolean value that indicates whether the network adapter uses the Dynamic Host Configuration Protocol (DHCP).

DhcpServer

Gets the IP address of the DHCP server for the network adapter.

DnsServers

Gets a comma-delimited list of all DNS servers defined for the network adapter.

FriendlyName

Gets the friendly name of the network adapter.

Gateways

Gets a comma-delimited list of all gateways configured on the network adapter.

IpAddresses

Gets a comma-delimited list of all IP addresses bound to the network adapter.

IpAddressSet

Gets the IP address set for the network adapter.

IpRanges

Gets an FPCReadOnlyIpRangeSet collection that contains objects representing the IP ranges for the adapter.

State

Gets a a value from the FpcAdapterState enumerated type that specifies the state of the network adapter.

SubnetMasks

Gets a comma-delimited list of all subnet masks configured on the network adapter.

Interfaces for C++ Programming

This object implements the IFPCAdapter and IFPCAdapter2 interfaces.

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.

See Also

COM Objects


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.