<div class="content"><p>The ICategory::Type (opnum 15) method retrieves the type of
the update category.</p><dl>
<dd>
<div><pre> HRESULT Type(
   [out, retval] BSTR* retval
 );
</pre></div>
</dd></dl><p><b>retval: </b>A string containing the type of this
category. The string MUST be set to one of the following values:</p><ul><li><p><span><span>  </span></span>&#34;Company&#34;,
if this category refers to the company or organization that has public
ownership and support accountability for the updates belonging to the category.</p>
</li><li><p><span><span>  </span></span>&#34;ProductFamily&#34;,
if this category refers to a related set of products.</p>
</li><li><p><span><span>  </span></span>&#34;Product&#34;,
if this category refers to a single product.</p>
</li><li><p><span><span>  </span></span>&#34;UpdateClassification&#34;,
for all other cases.</p>
</li></ul><p><b>Return Values: </b>The method MUST return
information in an <span><a href="750e8355-177c-4a51-bab8-927c813819c8#gt_799103ab-b3cb-4eab-8c55-322821b2b235" data-linktype="relative-path">HRESULT</a></span> data
structure. The severity bit in the structure identifies the following
conditions:</p><ul><li><p><span><span>  </span></span>If
the severity bit is set to 0, the method completed successfully.</p>
</li><li><p><span><span>  </span></span>If
the severity bit is set to 1, the method failed and encountered a fatal error.</p>
</li></ul><p><b>Exceptions Thrown:</b> No exceptions are thrown beyond
those thrown by the underlying RPC protocol <span><a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a></span>.</p><p>This method SHOULD return the value of the <b>Type</b> ADM
element.</p></div>