Microsoft Internet Security and Acceleration Server 2000

FPCEnterprise.SetPolicy Method

Sets the default enterprise policy settings, by setting the values of the PolicyUsedFlag and the DefaultPolicy properties. These define whether an array uses array policy, enterprise policy, or both, and the name of the enterprise policy to be used.

The default enterprise policy is the policy used for an array when you set the FPCArrayPolicyConfig.UseDefaults property to TRUE.

VBScript Syntax[VBScript]

FPCEnterprise.SetPolicy( PolicyUsed, sDefaultPolicy )

C++ Syntax[C++]

HRESULT SetPolicy(
  FpcPolicyUsed PolicyUsed, 
  BSTR sDefaultPolicy


A value from the FpcPolicyUsed enumerated type that specifies whether the array uses its local and/or enterprise policy.
String that specifies the name of the default policy. It can be empty if the enterprise policy is not being used.


If no array is using the default enterprise policy, any FpcPolicyUsed value can be used in the PolicyUsed parameter.

If there is an array using these default enterprise policy settings, the following rules apply to changes in the value of the PolicyUsed parameter:

For information on setting the FpcPolicyUsed value for the policy of a specific array, including limitations on changes to this value, see FPCArrayPolicyConfig.SetPolicy.

Applies To