The FPCVpnConfiguration object defines the virtual private network (VPN) settings for a Forefront TMG computer that acts as a VPN server in an array. For more information about using VPNs in Forefront TMG, including information about the Forefront TMG VPN quarantine, see Virtual Private Networks.
The FPCVpnConfiguration object is accessed through the VpnConfiguration property of an FPCNetworkConfiguration object.
Click here to see the Forefront TMG object hierarchy.
This object inherits from the FPCPersist object, which contains methods and properties related to persistent storage of an object's data. They include methods for exporting an object's data to and importing it from an XML document.
The FPCVpnConfiguration object defines the following methods.
Method | Description |
---|---|
Sets the primary and backup DNS servers, or specifies that the DNS server name is obtained from a DHCP server. |
|
Sets the name of the network for obtaining DHCP services. |
|
Sets the primary and backup WINS servers, or specifies that the WINS server name is obtained from a DHCP server. |
The FPCVpnConfiguration object defines the following properties.
Property | Description |
---|---|
Gets or sets a Boolean value that indicates whether incoming L2TP connections may use a custom IPsec policy. |
|
Gets the name of the backup Domain Name System (DNS) server. |
|
Gets the name of the backup Windows Internet Name Service (WINS) server. |
|
Gets an FPCAccounts collection that contains accounts representing domain groups. |
|
Gets an FPCDomainMappings collection that contains a set of mappings, each of which defines a mapping of a single domain name to a set of domain names. |
|
Gets or sets a Boolean value that indicates whether L2TP is enabled. |
|
Gets or sets a Boolean value that indicates whether PPTP is enabled. |
|
Gets or sets a Boolean value that indicates whether RADIUS accounting is enabled for VPN connections. |
|
Gets or sets a Boolean value that indicates whether RADIUS authentication is enabled for authenticating VPN clients. |
|
Gets or sets a Boolean value that indicates whether access for remote VPN clients is enabled. |
|
Gets or sets a Boolean value that indicates whether Windows accounting is enabled for VPN connections. |
|
Gets or sets the maximum number of concurrent VPN clients. |
|
Gets an FPCRefs collection of references to the network sets from which VPN clients and remote VPN servers can initiate VPN connections. |
|
Gets an FPCRefs collection of references to the networks from which VPN clients and remote VPN servers can initiate VPN connections. |
|
Gets an FPCRef object that references the FPCNetwork object representing the network for obtaining DHCP services. |
|
Gets an FPCVpnPPPSettings object that represents the PPP settings for a Forefront TMG computer acting as a VPN server. |
|
Gets or sets the preshared IPsec key for incoming L2TP connections. |
|
Gets the name of the primary DNS server. |
|
Gets the name of the primary WINS server. |
|
Gets an FPCVpnQuarantineSettings object that represents the VPN quarantine settings. |
|
Gets an FPCUserMapping object that represents the RADIUS user mapping settings for a Forefront TMG computer acting as a VPN server. |
|
Gets an FPCIPRangeSet collection that contains objects defining the IP address ranges in the static address pool from which a VPN server can assign IP addresses to VPN clients connecting to it. (This property is deprecated in Forefront TMG.) |
|
Gets or sets a Boolean value that indicates whether DHCP is used for assigning IP addresses to VPN clients and remote VPN servers. |
|
Gets a Boolean value that indicates whether DHCP is used for DNS servers. |
|
Gets a Boolean value that indicates whether DHCP is used for WINS servers. |
Name | Description |
---|---|
CancelWaitForChanges | Cancels the registration established by the WaitForChanges method (for use in C and C++ programming only). |
CanImport | Returns a Boolean value that indicates whether the object's properties can be imported from the specified XML document. |
Export | Recursively writes the stored values of all the properties of the object and its subobjects to the specified XML document. |
ExportToFile | Recursively writes the stored values of all the properties of the object and its subobjects to the specified XML file. |
GetServiceRestartMask | Retrieves a 32-bit bitmask of the FpcServices enumerated type that specifies which services need to be restarted for currently unsaved changes to take effect. |
Import | Recursively copies the values of all the properties of the object and of its subobjects from the specified XML document to persistent storage. |
ImportFromFile | Recursively copies the values of all the properties of the object and of its subobjects from the specified XML file to persistent storage. |
LoadDocProperties | Provides the XML document's properties so that you can know what information can be imported from the document. |
Refresh | Recursively reads the values of all the properties of the object and of its subobjects from persistent storage, overwriting any changes that have not been saved. |
Save | Recursively writes the current values of all the properties of the object and its subobjects to persistent storage. |
WaitForChanges | Registers to wait for an event indicating that the contents of the object have changed (for use in C and C++ programming only). |
Name | Description |
---|---|
PersistentName | Gets the persistent name of the object. The persistent name of an object is a name that is unique for the object at the respective level of the COM object hierarchy. |
VendorParameterSets | Gets an FPCVendorParametersSets collection that can hold sets of custom data for extending the object. |
This object implements the IFPCVpnConfiguration, IFPCEEVpnConfiguration, and IFPCVpnConfiguration2 interfaces.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.