IFPCPolicyRule::Type property

Applies to: desktop apps only

The Type property gets a value from the FpcPolicyRuleTypes enumerated type that indicates whether the policy rule is an access rule, a server publishing rule, or a Web publishing rule.

This property is read-only.

Syntax


HRESULT get_Type(
  FpcPolicyRuleTypes *pPolicyRuleTypes
);

Property value

Value from the FpcPolicyRuleTypes enumerated type that indicates whether the policy rule is an access rule, a server publishing rule, or a Web publishing rule.

Error codes

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

This property is read-only. Its value is determined by the method of the FPCPolicyRules collection that was used to create the rule.

When an enterprise with central array management is deployed, an enterprise policy rule can serve as a placeholder that specifies the ordinal position (Order) of the set of array policy rules within the set of enterprise policy rules when the enterprise policy is applied to an array. The enterprise policy rules with values of Order smaller than the value of Order for the placeholder are applied before the array policy rules, and the enterprise policy rules with values of Order larger than the value of Order for the placeholder are applied after the array policy rules. The value of the Type property for an array policy placeholder is fpcPolicyRuleArrayPolicyPlaceHolder.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCPolicyRule

 

 

Build date: 7/12/2010

Show: