# GetCategory deprecated

**URL:** <https://tech-community.robotics.abb.com/t/getcategory-deprecated/5335>\
**Category:** Developer Tools\
**Created:** [January 21, 2013, 12:56am UTC](https://tech-community.robotics.abb.com/t/getcategory-deprecated/5335 "2013-01-21T00:56:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![funwey](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@funwey](https://tech-community.robotics.abb.com/u/funwey)\
**Post date:** [January 21, 2013, 12:56am UTC](https://tech-community.robotics.abb.com/t/getcategory-deprecated/5335/1 "2013-01-21T00:56:56Z")

</div>

Hi;

I am using the GetCategory in PC SDK vers 5.15 as stated in the PC SDK application manual 5.15 (pg on EventLog domain):  
EventLogCategory cat = log.GetCategory(CategoryType.Common);

but it says that GetCategory and CategoryType are already deprecated. What are the replacement for them ? Please update this info in the manual.

Rgds

Wey

---

<div class="post-metadata">

**Author:** ![ECapitanio](https://avatars.discourse-cdn.com/v4/letter/e/ec9cab/32.png) [@ECapitanio](https://tech-community.robotics.abb.com/u/ECapitanio)\
**Post date:** [March 19, 2013, 4:27pm UTC](https://tech-community.robotics.abb.com/t/getcategory-deprecated/5335/2 "2013-03-19T16:27:00Z")

</div>

Hi,  
is deprecated but you can always use it, or you can use EventLogCategory cat = log.GetCategories();  
where you receive all the available EventLogMessage of the EventLog.
