|Microsoft Internet Security and Acceleration Server 2000|
A destination set is a group of one or more computer or folders on specific computers, grouped together for the purpose of applying rules and policies. Single destinations are grouped in a FPCDestinationSet collection that can be used to define of site and content rules, publishing rules, bandwidth rules, or routing rules. For example, you can create a destination set that contains restricted sport sites, and then define a site and content rule that prohibits access to these destinations during work hours.
The FPCDestinationSets collection is accessed through the DestinationSets property of the FPCPolicyElements object, as shown here:
Dim objFPC As New FPCLib.FPC Dim MyDestinationSets As FPCDestinationSets Set MyDestinationSets = objFPC.Arrays.GetContainingArray.PolicyElements.DestinationSets
A destination consists of two parts — a host description and a path within this host. For example, in the destination "www.microsoft.com/scripting", "www.microsoft.com" is the host and "/scripting" is the path. If the path is empty, the destination set defines the entire domain. A path within the host is only relevant when using the HTTP protocol. A host can be specified by a domain name, an IP address, or an IP range denoted by a From and To pair of settings.
You can add, delete, and modify destination sets by using COM objects.