Share via


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)

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.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace