Share via


ActivityEvent.ItemPrivacy property

Gets or sets a value that represents the privacy level of this event.

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Property ItemPrivacy As Integer
    Get
    Set
'Usage
Dim instance As ActivityEvent
Dim value As Integer

value = instance.ItemPrivacy

instance.ItemPrivacy = value
public int ItemPrivacy { get; set; }

Property value

Type: System.Int32

Remarks

The potential values for this property correspond to those for the Privacy enumeration. You can set this value by casting a value from that enumeration as an Int32.

See also

Reference

ActivityEvent class

ActivityEvent members

Microsoft.Office.Server.ActivityFeed namespace