|Microsoft Internet Security and Acceleration Server 2000|
The FPCSiteAndContentRule object represents a site and content rule. A site and content rule defines actions that will be taken when specific users attempt to access specific sites or content by using ISA. ISA site and content rules allow you to define exactly which sites and content can be accessed by clients behind the ISA server. Site and content rules also determine when the rule is in effect by applying the rule during a specific schedule.
Site and content rules can be created at both the array level and at the enterprise level. When an array policy is allowed, then its site and content rules can only further restrict enterprise-level site and content rules. For more information about enterprise nad array policy, see Enterprise and Array Policy.
This object is a member of the FPCSiteAndContentRules collection.
Click here to see the ISA object hierarchy.
This object implements the IFPCSiteAndContentRule interface.
The following table lists the methods of the FPCSiteAndContentRule object.
|Refresh||Reads the object's configuration information from persistent storage, discarding any changes to the configuration that were not saved.|
|Save||Saves the object's configuration to persistent storage.|
|SetAppliesAlways||Sets the rule to apply always regardless of the ScheduleUsed property.|
|SetDestination||Sets the destinations to which the rule applies.|
|SetSchedule||Sets the schedule to which the rule applies.|
The following table lists the properties of the FPCSiteAndContentRule object.
|Action||Gets or sets the type of action that this rule performs.|
|AppliesAlways||Gets whether the rule applies at all times.|
|AppliesToAccounts||Gets the collection of accounts for which the rule applies.|
|AppliesToContentMethod||Gets or sets the type of content to which the rule applies.|
|AppliesToDestination||Gets the type of destination to which the rule applies.|
|AppliesToMethod||Gets or sets the method used for deciding rule applicability.|
|ClientAddressSetsExcluded||Gets the collection of client address sets to which the rule does not apply.|
|ClientAddressSetsUsed||Gets the collection of client address sets to which the rule applies.|
|ContentGroupsUsed||Gets the collection of content groups to which the rule applies.|
|Description||Gets or sets the description of the rule.|
|DestinationSetUsed||Gets the name of the FPCDestinationSet collection used to define the destination to which the rule applies.|
|Enabled||Gets or sets whether the rule is enabled.|
|Name||Gets or sets the name of the rule.|
|RedirectUrl||Gets or sets the URL to which to redirect requests when the Action property is set to the fpcRuleActionRedirect value of the FpcRuleActions enumerated type.|
|ScheduleUsed||Gets or sets the name of the FPCSchedule object used to define the times when the rule applies.|
|VendorParametersSets||Gets a reference to an object for storing and loading custom data into the FPCSiteAndContentRule object's storage.|
Windows NT/2000: Requires Windows 2000.
Version: Requires ISA Server 2000.