Share via


FPCServerPublishingProperties object

Applies to: desktop apps only

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.

Ff826312.bkbutton(en-us,VS.85).png Click here to see the Forefront TMG object hierarchy.

Members

The FPCServerPublishingProperties object has these types of members:

  • Methods
  • Properties

Methods

The FPCServerPublishingProperties object has these 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 has these properties.

Property Access type Description

IPsOnNetworks

Read-only

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

Read-only

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

Read/write

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

Read/write

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

Read-only

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

PublishedServerIP

Read/write

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

UseFirewallIPAsSource

Read/write

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

Minimum supported client

Windows Vista, None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

See also

COM Objects

 

 

Build date: 7/12/2010