X509EnrollmentPolicyLoadOption enumeration (certenroll.h)

The X509EnrollmentPolicyLoadOption enumeration is used by the LoadPolicy method on the IX509EnrollmentPolicyServer interface to specify how to retrieve policy from the policy server.

Syntax

typedef enum X509EnrollmentPolicyLoadOption {
  LoadOptionDefault = 0,
  LoadOptionCacheOnly = 1,
  LoadOptionReload = 2,
  LoadOptionRegisterForADChanges = 4
} ;

Constants

 
LoadOptionDefault
Value: 0
Reload if the cache has expired.
LoadOptionCacheOnly
Value: 1
Always load from the cache even if it has expired.
LoadOptionReload
Value: 2
Always reload.
LoadOptionRegisterForADChanges
Value: 4
Registers a thread to update a sequence number if there are changes to the template or the certification authority container. This value applies only to an Active Directory policy server.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header certenroll.h

See also

LoadPolicy