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.
Sample name: SubscribePresence
Sample location: %ProgramFiles%\Microsoft Office Communications Server 2007 R2\UCMA SDK 2.0\UCMACore\Sample Applications\Collaboration\QuickStarts\SubscribePresence
Replace the credentials in the configuration file with the credentials and server of the users from your Office Communications Server topology.
Substitute the address of the subscribed user in the configuration file with the address of a valid user. Log in the other user using Office Communicator.
Open the project in Microsoft Visual Studio, and then press F5.
Send an instant message to the user whose credentials the endpoint is using.
From Office Communicator, change the presence of the user.