Share via


PrivacyItem.Policy Property

Gets the policy for a privacy item.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Policy As PrivacyPolicyItem
    Get
'Usage
Dim instance As PrivacyItem
Dim value As PrivacyPolicyItem

value = instance.Policy
public abstract PrivacyPolicyItem Policy { get; }

Property Value

Type: Microsoft.Office.Server.UserProfiles.PrivacyPolicyItem
The PrivacyPolicyItem object for a privacy item.

Remarks

For more information about privacy policies, see Privacy Policies. For a code example about how to set the privacy policy of a property, see How to: Set Privacy Policies for User Profile Properties.

See Also

Reference

PrivacyItem Class

PrivacyItem Members

Microsoft.Office.Server.UserProfiles Namespace