Partilhar 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