Metodo INapClientManagement::GetRegisteredSystemHealthAgents

Nota

La piattaforma Network Access Protection non è disponibile a partire da Windows 10

Il metodo GetRegisteredSystemHealthAgents recupera informazioni sugli SHA registrati.

Sintassi

HRESULT GetRegisteredSystemHealthAgents(
  [out] SystemHealthEntityCount      *count,
  [out] NapComponentRegistrationInfo **agents
) const;

Parametri

conteggio [out]

Puntatore a un SystemHealthEntityCount che descrive il numero di SHA registrati.

agenti [out]

Puntatore a una matrice di strutture NapComponentRegistrationInfo che descrivono gli SHA registrati.

Valore restituito

Il metodo restituisce un codice di stato HRESULT, incluso ma non limitato a uno dei seguenti.

Codice restituito Descrizione
S_OK
Operazione riuscita.
E_ACCESSDENIED
Errore delle autorizzazioni, accesso negato.
E_OUTOFMEMORY
Limite di risorse di sistema, non è stato possibile eseguire l'operazione.
RPC_E_DISCONNECTED
NapAgent non è in esecuzione.

Requisiti

Requisito Valore
Client minimo supportato
Windows Vista [solo app desktop]
Server minimo supportato
Windows Server 2008 [solo app desktop]
Intestazione
NapManagement.h
IDL
NapManagement.idl
DLL
Qagent.dll

Vedi anche

INapClientManagement