Export (0) Print
Expand All
Expand Minimize

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)

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

value = instance.PresenceEnabled

instance.PresenceEnabled = value

Property value

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

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.

Show:
© 2014 Microsoft