ICertServerPolicy::EnumerateAttributes

The EnumerateAttributes method returns the OID of the current attribute within the certificate to be published, then increments the internal pointer to the next attribute. If the last attribute was already enumerated, the method returns NULL.

[VB] BSTR EnumerateAttributes(void);
 
[JAVA] java.lang.String EnumerateAttributes(void);
 
[C++] HRESULT EnumerateAttributes(
  BSTR *pstrAttributeName   // out, return value
);
 

Parameters

[C++] pstrAttributeName
Points to the return value. See Return Values.

Return Values

Returns a string specifying the name of the enumerated attribute, or NULL if the last attribute was already enumerated. Additionally, an HRESULT of S_FALSE is returned to C++ code if the last attribute was already enumerated.

QuickInfo

  Windows NT: Requires version 5.0 or later (or version 4.0 with the Windows NT 4.0 Option Pack).
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in certif.h.
  Import Library: Use certidl.lib.