Platform SDK: Certificate Enrollment Control |
In the case of Microsoft® Visual Basic®, if an error occurs within the method, the method will throw an exception. The script or program must check for these exceptions separately from the return value.
For C++, the return value is always an HRESULT, and indicates whether the method call succeeded or failed. If the call failed then the return value indicates why it failed.