INetFwRule::get_Action method (netfw.h)
Specifies the action for a rule or default setting.
This property is read/write.
Syntax
HRESULT get_Action(
NET_FW_ACTION *action
);
Parameters
action
Return value
None
Remarks
This property is optional.
Also see the restrictions on changing properties described in the Remarks section of the INetFwRule interface page.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | netfw.h |
DLL | FirewallAPI.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for