Partilhar via


SPWebApplication.PresenceEnabled Property

Gets or sets a value that determines whether presence information will be exposed in the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.PresenceEnabled

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

Property Value

Type: System.Boolean
true if presence information will be exposed; otherwise, false. The default value is true.

Remarks

An example of presence information is instance messaging.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace