SPWebApplication.PresenceEnabled property
SharePoint 2013
Gets or sets a value that determines whether presence information will be exposed in the Web application.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Booleantrue if presence information will be exposed; otherwise, false. The default value is true.