This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
The QueryCategory function fetches an item published in a specified enhanced presence container.
string QueryCategory( string or Uri Publisher, int ContainerNumber, string CategoryName, int Instance, bool PublisherIsPhone );
Returns the specified string.
Office Communications Server 2007 R2 provides the infrastructure to enable client applications to publish and subscribe to extended, or "enhanced," presence information. The enhanced presence infrastructure includes categories and containers. Categories are individual pieces of presence information, such as status, location, or calendar state. Containers are logical buckets into which clients publish instances of various categories of presence information.