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 can be an element of an FPCAdapters collection or an FPCAllAdapters collection.
Click here to see the Forefront TMG object hierarchy.
Methods
The FPCAdapter object defines the following methods.
Method | Description |
---|---|
Enables the automatic detection of DNS servers. |
|
Enables the network adapter to obtain an IP address from a DHCP server. |
|
Gets the string-formatted globally unique identifier (GUID) of the network adapter. |
|
Gets the IP address of the primary DNS server of the network adapter. |
|
Gets the primary gateway of the network adapter. |
|
Gets the primary IP address of the network adapter. |
|
Gets the primary subnet mask of the network adapter. |
|
Gets the IP address of the secondary DNS server of the network adapter. |
|
Determines whether an IP address is included in the address set of the adapter. |
|
Sets the IP address of the primary DNS server of the network adapter. |
|
Sets the primary gateway of the network adapter. |
|
Sets the primary IP address of the network adapter. |
|
Sets the primary subnet mask of the network adapter. |
|
Sets the IP address of the secondary DNS server of the network adapter. |
Properties
The FPCAdapter object defines the following properties.
Property | Description |
---|---|
Gets or sets a comma-delimited list of all IP addresses bound to the network adapter. |
|
Gets a Boolean value that indicates whether DNS servers will be detected automatically. |
|
Gets the connection-specific DNS suffix of the network adapter. |
|
Gets or sets or sets a value from the FpcAdapterConnectionType enumerated type that specifies the type of connection to the network adapter. |
|
Gets the description of the network adapter. |
|
Gets a Boolean value that indicates whether the network adapter uses the Dynamic Host Configuration Protocol (DHCP). |
|
Gets the IP address of the DHCP server for the network adapter. |
|
Gets a comma-delimited list of all DNS servers defined for the network adapter. |
|
Gets a Boolean value that indicates whether the adapter is enabled. |
|
Gets the friendly name of the network adapter. |
|
Gets or sets a comma-delimited list of all the gateways configured on the network adapter. |
|
Gets a comma-delimited list of all IP addresses bound to the network adapter. (This property is deprecated in Forefront TMG.) |
|
Gets the IP address set for the network adapter. |
|
Gets an FPCReadOnlyIpRangeSet collection that contains objects representing the IP ranges for the adapter. |
|
Gets the physical address of the network adapter. |
|
Gets the IP address of the primary WINS server of the network adapter. |
|
Gets the IP address of the secondary WINS server of the network adapter. |
|
Gets a value from the FpcAdapterState enumerated type that specifies the state of the network adapter. |
|
Gets or sets a comma-delimited list of all subnet masks configured on the network adapter. |
Interfaces for C++ Programming
This object implements the IFPCAdapter, IFPCAdapter2, and IFPCAdapter3 interfaces.
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010