Microsoft Internet Security and Acceleration Server 2000

FPCArrayPolicyConfig.SetPolicy Method

Sets the values of the PolicyUsedFlag and PolicyName properties.

Note  You can only set the PolicyUsedFlag to fpcArrayPolicyUsed when you first add a new array by using the Arrays.Add method. In an existing array, you can only change the value from fpcEnterprisePolicyUsed to fpcArrayAndEnterprisePoliciesUsed, and from fpcArrayAndEnterprisePoliciesUsed to fpcEnterprisePolicyUsed.

You need to set FPCArrayPolicyConfig.UseDefaults = FALSE before you update the policy.

VBScript Syntax[VBScript]

FPCArrayPolicyConfig.SetPolicyP( Flag, sPolicy )

C++ Syntax[C++]

HRESULT SetPolicy(
  FpcPolicyUsed Flag,
  BSTR sPolicy
);

Parameters

Flag
A value that specifies whether an array uses local and/or enterprise policy. It can have a value from the FpcPolicyUsed enumerated type.
sPolicy
A string that specifies the name of the policy. It can be empty to indicate that the array is not using an enterprise policy.

Applies To

FPCArrayPolicyConfig