Type Property of the IFPCPolicyRule Interface

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.

[C++]
HRESULT get_Type(
	FpcPolicyRuleTypes* pPolicyRuleTypes
);

Parameters

pPolicyRuleTypes

Pointer to a variable that on return receives a value from the FpcPolicyRuleTypes enumerated type indicating whether the policy rule is an access rule, a server publishing rule, or a Web publishing rule.

Return Value

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

[Visual Basic]
Property Type As FpcPolicyRuleTypes

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.

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

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCPolicyRule


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.