FPCAccessProperties Object

The FPCAccessProperties object represents the properties of a policy rule that was created as an access rule using the AddAccessRule method.

This object is typically accessed through the AccessProperties property of an FPCPolicyRule object representing an access rule.

Click here to see the Forefront TMG object hierarchy.

Methods

The FPCAccessProperties object does not define any methods.

Properties

The FPCAccessProperties object defines the following properties.

Property Description

AppliesToContentMethod

Gets or sets a value from the FpcAppliesToContentMethodType enumerated type that indicates whether the rule applies to all types of content or only to specified types of content.

ContentTypeSetsUsed

Gets an FPCRefs collection that contains references to the FPCContentTypeSet objects defining the content type sets to which the rule applies.

CustomMessageText

Gets or sets the text to be displayed in the access denied error page if displaying custom text is enabled.

DestinationDomainNameSets

Gets an FPCRefs collection that contains references to the FPCDomainNameSet collections defining the destination domain name sets included in or excluded from the destinations to which the rule applies.

DestinationSelectionIPs

Gets an FPCSelectionIPs object that specifies the complete set of destination IP addresses to which the rule applies.

DisplayCustomMessageText

Gets or sets a Boolean value that indicates whether the text specified in the CustomMessageText property will be displayed in the access denied error page.

ProtocolSelectionMethod

Gets or sets a value from the FpcProtocolSelectionType enumerated type that indicates whether the rule applies to all IP traffic, only to certain protocols, or to all IP traffic except certain protocols.

RedirectUrl

Gets or sets the URL to which HTTP requests blocked by the rule will be redirected.

SpecifiedProtocols

Gets an FPCRefs collection that contains references to the FPCProtocolDefinition objects defining the protocols to which the rule applies or the protocols that are excluded from the rule.

URLSets

Gets an FPCRefs collection that contains references to the FPCURLSet collections defining the URL sets included in or excluded from the destinations to which the rule applies.

UserSets

Gets an FPCRefs collection that contains references to the FPCUserSet collections defining the user sets included in or excluded from the users to which the rule applies.

Interfaces for C++ Programming

This object implements the IFPCAccessProperties and IFPCAccessProperties2 interfaces.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

See Also

COM Objects


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.