FPCServerPublishingProperties Object

The FPCServerPublishingProperties object represents the properties of a policy rule that was created as a server publishing rule using the AddServerPublishingRule method. It also provides a method for setting the published protocol of the rule.

This object provides a method for setting a protocol with a specific scope and name as the protocol to which the server publishing rule will apply. The scope indicates whether the protocol is defined for the array or for the enterprise. When an enterprise with central array management is deployed, a protocol can be defined on the enterprise level.

Note  Enterprise-level protocols are available only in Forefront TMG Enterprise Edition.

The FPCServerPublishingProperties object is accessed through the ServerPublishingProperties property of an FPCPolicyRule object that represents a server publishing rule.

Dd436571.bkbutton(en-us,MSDN.10).png Click here to see the Forefront TMG object hierarchy.

Methods

The FPCServerPublishingProperties object defines the following methods.

Method Description

SetPublishedProtocol

Sets the protocol to which the server publishing rule applies.

SetScopedPublishedProtocol

Sets the scope and name of the protocol to which the server publishing rule will apply.

Properties

The FPCServerPublishingProperties object defines the following properties.

Property Description

IPsOnNetworks

Gets an FPCIPsOnNetworks collection that contains information about the IP addresses on which the Forefront TMG computer listens for requests from particular networks on behalf of the server published by the rule.

IPsOnNetworkSets

Gets an FPCRefs collection that contains references to the FPCNetworkSet objects defining the network sets from which the Forefront TMG computer listens for requests on behalf of the server published by the rule.

OverridePublishPort

Gets or sets the port number for overriding the default port on which the Forefront TMG computer will listen for requests on behalf of the server published by the rule.

OverrideServerPort

Gets or sets the port number for overriding the default port on the server published by the rule to which the Forefront TMG computer will forward requests.

PublishedProtocol

Gets an FPCRef object that references the FPCProtocolDefinition object defining the protocol to which the server publishing rule applies.

PublishedServerIP

Gets or sets the IP address of the published server to which the rule applies.

UseFirewallIPAsSource

Gets or sets a Boolean value that indicates whether the IP address of the Forefront TMG computer's network adapter in the network where the server published by the rule resides will be used as the source IP address when the request is forwarded to the published server.

Interfaces for C++ Programming

This object implements the IFPCServerPublishingProperties and IFPCEEServerPublishingProperties 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

COM Objects

Send comments about this topic to Microsoft

Build date: 6/30/2010