ICategory::Type property

Gets the type of the category.

This property is read-only.

Syntax

HRESULT get_Type(
  [out] BSTR *retval
);

Property value

The type of category.

Error codes

Returns S_OK if successful. Otherwise, returns a COM or Windows error code.

Remarks

The following list identifies the possible category types:

  • Company
    A category of this type refers to the company or organization that has public ownership and support accountability for the update. Related products and stand-alone products of the company can be accessed by using the Children property of the ICategory interface. Categories of this type do not have a parent category. When an OEM publishes drivers on behalf of an independent hardware vendor (IHV), and the drivers are branded as OEM drivers, the OEM is indicated by the Company category. And, the IHV is considered the publisher of the update. Categories of this type are not returned by the Updates property of ICategory.

  • ProductFamily
    A category of this type refers to a related set of products under which the update is classified, such as Microsoft Office, Windows, and Microsoft SQL Server. Products under a related set of products can be accessed by the Children property of ICategory. The company of the product set can be accessed by the Updates property of ICategory. Categories of this type are not returned by the Categories property of the IUpdate interface.

  • Product
    A category of this type refers to the product that the update is classified under, for example, Windows XP and Windows Server 2003 for Windows products. The Parent property of ICategory for this category refers to the product set for the product or to the company of the product if the product does not belong to a product set. In rare cases, an update may be classified under multiple products. One or more categories of this type can be returned by the Categories property of IUpdate.

  • UpdateClassification
    A category of updates that Microsoft defines. Some update classifications include security updates, update rollups, critical updates, and feature packs. An update can belong to only one category. Only one update classification of this type is returned by the Categories property of IUpdate.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

ICategory