PrivacyItem.Policy property

Gets the policy for a privacy item.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.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 and Writing Policy-Compliant Code. 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