Microsoft Internet Security and Acceleration Server 2004 SDK

CurrentAction Property of IFPCSnapinPluginPolicy[C++]

FPCSnapinPluginPolicy.CurrentAction [Visual Basic]

[C++]

The CurrentAction property gets a value from the FpcPolicyRuleActions enumerated type that specifies whether the policy rule of the plug-in policy currently allows or denies requests.

HRESULT get_CurrentAction(
  FpcPolicyRuleActions* pPolicyRuleAction
);

Parameters

pPolicyRuleAction
Pointer to a value from the FPCPolicyRuleActions enumerated type that is set on return to either fpcPolicyRuleActionAllow, which indicates that the policy rule of the plug-in currently allows requests, or to fpcPolicyRuleActionDeny, which indicates that the policy rule currently denies requests.

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. It can be modified by setting the Action property of the IFPCPolicyRule interface retrieved by calling the PolicyRule property.

[Visual Basic]

The CurrentAction property gets a value from the FpcPolicyRuleActions enumerated type that specifies whether the policy rule of the plug-in policy currently allows or denies requests.

Property CurrentAction As FpcPolicyRuleActions

Property Value

Value from the FpcPolicyRuleActions enumerated type. The possible values are fpcPolicyRuleActionAllow, which indicates that the policy rule of the plug-in currently allows requests, and fpcPolicyRuleActionDeny, which indicates that the policy rule currently denies requests.

Remarks

This property is read-only. It can be modified by setting the Action property of the FPCPolicyRule object retrieved by calling the PolicyRule property.

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

FPCSnapinPluginPolicy