INetFwPolicy2::ServiceRestriction property
Retrieves the interface used to access the Windows Service Hardening store.
This property is read-only.
Syntax
HRESULT get_ServiceRestriction( [out] INetFwServiceRestriction **ServiceRestriction, [out] INetFwServiceRestriction ServiceRestriction );
Property value
Interface to manipulate the Windows Service Hardening store.
Interface to manipulate the Windows Service Hardening store.
Error codes
If the method succeeds, the return value is S_OK.
If the method fails, the return value is one of the following error codes.
| Name | Meaning |
|---|---|
|
The method failed because a pointer was not valid. |
Requirements
|
Minimum supported client | Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps only] |
|
Header |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012