次の方法で共有


SPVirtualServer.PresenceEnabled property

NOTE: This API is now obsolete.

Obsolete. Gets a Boolean value that indicates whether online presence information is enabled on the virtual server.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property PresenceEnabled As Boolean
    Get
'Usage
Dim instance As SPVirtualServer
Dim value As Boolean

value = instance.PresenceEnabled
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public bool PresenceEnabled { get; }

Property value

Type: System.Boolean
true if online presence information is displayed next to member names, and the Person Name smart tag appears when a user passes the pointer over a member name within a site on the virtual server; otherwise, false.

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace