Share via


SPWeb.PresenceEnabled property

Gets or sets a Boolean value that specifies whether inline presence information is enabled on the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property PresenceEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.PresenceEnabled

instance.PresenceEnabled = value
public bool PresenceEnabled { get; set; }

Property value

Type: System.Boolean
true if inline presence information is enabled; otherwise, false.

Remarks

The PresenceEnabled property gets or sets the raw presence value of the site, while the EffectivePresenceEnabled property returns the raw presence value combined with the global virtual server setting for presence. Use the PresenceEnabled property when creating administration tools, and use the EffectivePresenceEnabled property to display presence at run time.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace