This topic has not yet been rated - Rate this topic

CreateObjectFromProgId

.NET Framework 3.5

Creates a COM object using the specified ProgID.

  • [in, string] bstrObjectName

    The ProgID of the COM object to create.

  • [out, retval] * pObject

    The COM object that is created.

This method attempts to create the COM object of the Fusion activation context of the product, if one exists, from the ProgID specified by the bstrObjectName parameter. For example, if you try to create the native reader object using the IIS_PRODUCT_OS_SERVICE product type and version object, the method returns the operating system’s native reader object. However, if the version object is of type IIS_PRODUCT_EXPRESS, the method first applies the Fusion manifest context for the product, and then creates the COM object and returns the native reader for that version of IIS Express.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.