SPWeb.EffectivePresenceEnabled Property
Gets a Boolean value that indicates whether effective presence information is enabled on the site.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property EffectivePresenceEnabled As Boolean
Get
'Usage
Dim instance As SPWeb
Dim value As Boolean
value = instance.EffectivePresenceEnabled
public bool EffectivePresenceEnabled { get; }
Property Value
Type: System.Boolean
true if effective presence information is enabled; otherwise, false.
Remarks
The EffectivePresenceEnabled property returns the raw presence value combined with the global virtual server setting for presence, while the PresenceEnabled property gets or sets the raw presence value of the site. Use the EffectivePresenceEnabled property to display presence at run time, and use the PresenceEnabled property when creating administrative tools.