FPCServer Object
The FPCServer object represents a single Forefront TMG computer that is associated with a Forefront TMG array. The FPCServer object has multiple properties that are used to set configuration settings. By using this object, you can programmatically access drives, available network adapters, product information, and other generic server attributes such as a server's name and description.
In Forefront TMG Enterprise Edition, this object has additional properties and methods for implementing Network Load Balancing (NLB).
The FPCServer object representing the local Forefront TMG computer can be retrieved using the GetContainingServer method of the FPC object (the root object).
An FPCServer object can be referenced through the FPCRef object held in the following properties:
- The AssignedServer property of the FPCVpnNetworkConfiguration object.
- The ReportingServicesManagerServer property of the FPCReportingServicesProperties object.
- The Server property of the FPCAppliedSSLCertificate object.
The FPCServer object is an element of the FPCServers collection for an array.
Click here to see the Forefront TMG object hierarchy.
Inheritance
This object inherits from the FPCPersist object, which contains methods and properties related to the persistent storage of an object's data. They include methods for exporting the object's data to and importing it from an XML document.
Methods
The FPCServer object defines the following methods.
Method | Description |
---|---|
Adds or removes the server from the RAS and IAS Servers groups on the domain controller. |
|
Determines whether BranchCache can be enabled on the server. (This method is introduced in Forefront TMG 2010 SP 1.) |
|
Clears diagnostic logging on the server. |
|
Drains all remote connections and then stops Network Load Balancing (NLB) on the server (available only in Enterprise Edition). |
|
Performs an unscheduled update operation. |
|
Deletes all content stored in the Hosted Cache. (This method is introduced in Forefront TMG 2010 SP 1.) |
|
Retrieves an FPCReadOnlyIpRangeSet collection that contains objects representing the routable IP address ranges for the specified network adapter on the server. |
|
Creates a new instance of the FPCCacheUtilizationCountersSnapshot object and returns a reference to it. (This method is introduced in Forefront TMG 2010 SP 1.) |
|
Retrieves diagnostic logging results on the server. |
|
Retrieves information about the status of diagnostic logging on the server. |
|
Joins the server to the specified domain, and restarts the computer to apply the change if requested. |
|
Joins the server to the specified workgroup using the specified user name and password to detach it from the current domain, and restarts the computer to apply the change if requested. |
|
Adds persistent routes in the server to the array static routes collection. |
|
Restarts the operating system running on the server. |
|
Resumes Network Load Balancing (NLB) on the server (available only in Enterprise Edition). |
|
Sends a notification that specific services need to be restarted. |
|
Sets the primary DNS suffix of the computer. |
|
Sets the computer name of the server, and restarts the computer to apply the change if requested. |
|
Sets the server current user name and password. |
|
Shuts down the operating system running on the server. |
|
Starts diagnostic logging for the specified component on the server. |
|
Starts the Exchange Edge service on the server. |
|
Starts the Microsoft Firewall service on the server. |
|
Starts the Forefront Server Security for Exchange service on the server. |
|
Starts the Forefront Protection Manager Monitoring agent service on the server. |
|
Starts the SQL Server Express service on the server. |
|
Starts the Microsoft Forefront TMG Job Scheduler service on the server. |
|
Starts the Microsoft Forefront TMG Managed Control service on the server. |
|
Starts the Microsoft Data Engine (MSDE) service on the server. (This method is deprecated in Forefront TMG.) |
|
Starts Network Load Balancing (NLB) on the server (available only in Enterprise Edition). |
|
Starts the Routing and Remote Access service on the server. |
|
Stops diagnostic logging on the server. |
|
Stops the Exchange Edge service on the server. |
|
Stops the Microsoft Firewall service on the server. |
|
Stops the Forefront Server Security for Exchange service on the server. |
|
Stops the Forefront Protection Manager Monitoring agent service on the server. |
|
Stops the SQL Server Express service on the server. |
|
Stops the Microsoft Forefront TMG Job Scheduler service on the server. |
|
Stops the Microsoft Forefront TMG Managed Control service on the server. |
|
Stops the Microsoft Data Engine (MSDE) service on the server. (This method is deprecated in Forefront TMG.) |
|
Stops Network Load Balancing (NLB) on the server (available only in Enterprise Edition). |
|
Stops the Routing and Remote Access service on the server. |
|
Suspends Network Load Balancing (NLB) on the server (available only in Enterprise Edition). |
|
Validates the specified Program ID for the currently installed SKU and sets appropriate properties in the stored configuration. |
|
Disconnects the VPN connection between the specified remote IP address and the server. |
Properties
The FPCServer object defines the following properties.
Property | Description |
---|---|
Gets an FPCAdapters collection that contains objects representing the available network adapters on the server. |
|
Gets an FPCAllAdapters collection that contains FPCAdapter objects representing all of the network adapters on the server. |
|
Gets an FPCCacheDrives collection that contains objects representing the cache drives on the server. |
|
Gets an FPCConnectivityResults collection that contains objects representing the results of attempts to verify connectivity for the server. |
|
Gets a Date value that specifies the date and time in Coordinated Universal Time (UTC) when the object was created. |
|
Gets the name of the user currently logged on to the server. |
|
Gets or sets the description of the server. |
|
Gets an FPCDialupNetworkConnections collection that holds the names of the dial-up network connections that have been set up on the server. |
|
Gets an FPCDiskDrives collection that contains objects representing the disk drives on the server. |
|
Gets an FPCEEDistributionStatus object that represents the distribution status of the server. |
|
Gets the name of the domain or workgroup to which the server belongs. |
|
Gets a Boolean value that indicates whether the Exchange Edge service is running on the server. |
|
Gets an FPCExternalComponents collection that contains objects representing all the Forefront TMG external components installed on the server. |
|
Gets the number of Forefront TMG Client or Firewall Client sessions running on the server. |
|
Gets a Boolean value that indicates whether the Microsoft Firewall service is running on the server. |
|
Gets the number of seconds that the Microsoft Firewall service has been working properly on the server. |
|
Gets a Boolean value that indicates whether the Forefront Server Security for Exchange service is running. |
|
Gets a Boolean value that indicates whether the Forefront Protection Manager Monitoring agent service is running. |
|
Gets the fully qualified domain name (FQDN) of the server. |
|
Gets an FPCHostedCacheServer object that represents the Hosted Cache server running on the server. (This property is introduced in Forefront TMG 2010 SP 1.) |
|
Gets or sets the host ID of the server. |
|
Gets the Forefront TMG installation directory on the server. |
|
Gets an FPCRefs collection that contains references to the FPCApplicationFilter objects defining the application filters installed on the server. |
|
Gets an FPCRefs collection that contains references to the FPCWebFilter objects defining the Web filters installed on the server. |
|
Gets an FPCCertificates collection that contains objects representing the certificates in the Intermediate Certification Authorities store on the server. |
|
Gets or sets the IP address of the server for intra-array communication (available only in Enterprise Edition). |
|
Gets a Boolean value that indicates whether the SQL Server Express service is running on the server. |
|
Gets a Boolean value that indicates whether the server is a member of a domain or a workgroup. |
|
Gets a Boolean value that indicates whether the Microsoft Forefront TMG Job Scheduler service is running on the server. |
|
Gets the number of seconds that the Microsoft Forefront TMG Job Scheduler service has been working properly on the server. |
|
Gets a Date value that specifies the date and time in Coordinated Universal Time (UTC) when the object was last modified. |
|
Gets or sets the load factor for the server. |
|
Gets the machine account of the server. |
|
Gets a Boolean value that indicates whether the Microsoft Forefront TMG Managed Control service is running. |
|
Gets or sets the IP address or computer name that can be used instead of the fully qualified domain name (FQDN) of the server for remote monitoring. |
|
Gets a value from the FpcMicrosoftUpdateSetting enumerated type that specifies whether the server will use the Microsoft Update service to check for updates. |
|
Gets a Boolean value that indicates whether the Microsoft Data Engine (MSDE) service is running on the server. (This property is deprecated in Forefront TMG.) |
|
Gets the name of the server. |
|
Gets a value from the FpcNLBStatus enumerated type that indicates the status of Network Load Balancing (NLB) on the Forefront TMG computer (available only in Enterprise Edition). |
|
Gets the major version number of the operating system installed on the server. |
|
Gets the minor version number of the operating system installed on the server. |
|
Gets a bitmask that specifies the product suites available on the server. |
|
Gets the primary DNS suffix of the computer. |
|
Gets the identifier (ID) of the product installed on the server. |
|
Gets the version of Forefront TMG installed on the server. |
|
Gets the number of quarantined VPN connections running on the server. |
|
Gets a Boolean value that indicates whether the Routing and Remote Access service is running on the server. |
|
Gets an FPCRoutingTable collection that represents the routing table of the server. |
|
Gets the number of SecureNAT sessions running on the server. |
|
Gets the name of the domain to which the server belongs. |
|
Gets a Boolean value that indicates whether the server is functioning. |
|
Gets the major version number of the latest service pack installed on the server. |
|
Gets the minor version number of the latest service pack installed on the server. |
|
Gets an FPCServiceUpdatesStates collection that contains objects representing the states of the updates obtained from the update services for protection technologies on the server. |
|
Gets the FPCSignaledAlerts collection for the server. |
|
Gets the number of site-to-site VPN connections running on the server. |
|
Gets an FPCSmtpProtectionStatus object that represents the status of SMTP protection on the server. |
|
Gets a Boolean value that indicates whether the SQL Server Reporting Services (ISARS) service is running. |
|
Gets a Boolean value that indicates whether the SQL Server (ISARS) service is running. |
|
Gets an FPCCertificates collection that contains objects representing the Secure Sockets Layer (SSL) certificates available on the server, including the certificates for user and service accounts. |
|
Gets an FPCCertificates collection that contains objects representing the Secure Sockets Layer (SSL) client certificates available on the server. |
|
Gets an FPCCertificates collection that contains objects representing the Secure Sockets Layer (SSL) server certificates available on the server. |
|
Gets an FPCCertificates collection that contains objects representing the trusted root certificates available on the server. |
|
Gets or sets a Boolean value that indicates whether use of an IP address or computer name for remote monitoring is enabled. |
|
Gets the number of VPN connections running on the server. |
|
Gets an FPCReadOnlyIpRangeSet collection that contains objects defining the IP address ranges in the static address pool from which the server can assign IP addresses to VPN clients and remote VPN servers connecting to it. (This property is deprecated in Forefront TMG.) |
|
Gets an FPCIpRangeSet collection that contains objects defining the IP address ranges in the static address pool from which the server can assign IP addresses to VPN clients and remote VPN servers connecting to it. |
|
Gets the number of Forefront TMG Web proxy sessions running on the server. |
|
Gets a Boolean value that indicates whether the server is configured to receive downloads from Microsoft Update through a WSUS server. |
Methods Inherited from FPCPersist
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). |
Properties Inherited from FPCPersist
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. |
Interfaces for C++ Programming
This object implements the IFPCServer, IFPCEEServer, IFPCServer2, IFPCServer3, IFPCServer4, and IFPCServer5 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