Partager via


PresenceEnabled Property

The PresenceEnabled property of the SPWeb class gets or sets a Boolean value that specifies whether inline presence information is enabled on the Web site.

Property Value

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; use the EffectivePresenceEnabled property to display presence at run time.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security