INapServerManagement::SetFailureCategoryMappings method

Note

The Network Access Protection platform is not available starting with Windows 10

The INapServerManagement::SetFailureCategoryMappings method is used to set the SHV's failure category mappings.

Syntax

HRESULT SetFailureCategoryMappings(
  [in]       SystemHealthEntityId   id,
  [in] const FailureCategoryMapping mapping
);

Parameters

id [in]

A SystemHealthEntityId that contains the unique identifier of the SHV.

mapping [in]

A FailureCategoryMapping structure that contains the failure category mapping data.

Return value

Other COM-specific error codes also may be returned.

Return code Description
S_OK
Operation succeeded.
E_ACCESSDENIED
Permissions error, access denied.
E_OUTOFMEMORY
System resource limit, could not perform the operation.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
NapServerManagement.h
IDL
NapServerManagement.idl
DLL
Qsvrmgmt.dll

See also

INapServerManagement