Platform SDK: Certificate Enrollment Control |
Programs written in Visual Basic can directly access the Certificate Enrollment Control property values by using the property name. For example, to retrieve the property value for the RootStoreType, you can use the following code:
' Retrieve the RootStoreType. strStoreType = objXen.RootStoreType
To set the property value for the RootStoreType, the following code can be used:
' Set the RootStoreType. ' (strNewType previously set to a valid store type.) objXen.RootStoreType = strNewType