Microsoft Internet Security and Acceleration Server 2004 SDK

Type Property of IFPCPolicyRule[C++]

FPCPolicyRule.Type [Visual Basic]

[C++]

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.

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 Values

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.

[Visual Basic]

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.

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.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCPolicyRule