Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Returns the installed IIS version based on version and product type.
Syntax
HRESULT
GetVersionObject(
[in, string] BSTR bstrVersion,
[in] IIS_PRODUCT_TYPE dwProductType,
[out, retval] IIISVersion ** ppElement
);
Parameters
[in, string] BSTR
bstrVersionThe version of the product to get, in major.minor format. This can be an empty string (""); in that case, the method returns the highest version of the product specified in the
dwProductTypeparameter.[in] IIS_PRODUCT_TYPE
dwProductTypeThe product type of the version object, specified as a value in the IIS_PRODUCT_TYPE enumeration.
[out, retval] IIISVersion
** ppElementIf the specified product type and version is found on the computer, returns the appropriate IIISVersion object.
Return Value
HRESULT