Microsoft Internet Security and Acceleration Server 2000

FPCSiteAndContentRules.Add Method

Creates a new FPCSiteAndContentRule object in the collection and returns a reference to it. The name must be unique; if this method is called with an existing name, Add will fail.

If the enterprise policy settings are configured to apply an enterprise policy, then site and content rule creation are restricted on the array level. If the enterprise policy does not allow array policy, then you cannot use this method to add a site and content rule on the array level. If the enterprise policy allows array policy, then the array's site and content rules can only further restrict enterprise-level site and content rules.

VBScript Syntax[VBScript]

[ oFPCSiteAndContentRule = ] FPCSiteAndContentRules.Add( sName )

C++ Syntax[C++]

HRESULT Add(
  BSTR sName, 
  IFPCSiteAndContentRule **ppoFPCSiteAndContentRule
);

Parameters

sName
Required. String that specifies the name of the new rule.

Return Value

oFPCSiteAndContentRule
Reference to an FPCSiteAndContentRule object.

Applies To

FPCSiteAndContentRules