The Action property gets or sets the type of action that this rule performs. The action may be to allow requests or deny requests.
HRESULT put_Action( FpcPolicyRuleActions PolicyRuleActions ); HRESULT get_Action( FpcPolicyRuleActions* pPolicyRuleActions );
Pointer to a value from the FpcPolicyRuleActions enumerated type that is set on return to either fpcPolicyRuleActionAllow, which indicates that the rule allows requests, or to fpcPolicyRuleActionDeny, which indicates that the rule denies requests.
Value from the FpcPolicyRuleActions enumerated type that specifies whether the rule allows or denies requests.
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property Action As FpcPolicyRuleActions
Value from the FpcPolicyRuleActions enumerated type. The possible values are fpcPolicyRuleActionAllow, which indicates that the rule allows requests, and fpcPolicyRuleActionDeny, which indicates that the rule denies requests.
This property is read/write. The default value for an access rule is fpcPolicyRuleActionDeny, which indicates that the rule denies requests. The default value for a server publishing rule or a Web publishing rule is fpcPolicyRuleActionAllow, which indicates that the rule allows requests.
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. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.