Share via


IPrivacyPolicyItem.PrivacyPolicy Property

Gets or sets the privacy policy.

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

Syntax

'Declaration
Property PrivacyPolicy As PrivacyPolicy
    Get
    Set
'Usage
Dim instance As IPrivacyPolicyItem
Dim value As PrivacyPolicy

value = instance.PrivacyPolicy

instance.PrivacyPolicy = value
PrivacyPolicy PrivacyPolicy { get; set; }

Property Value

Type: Microsoft.Office.Server.UserProfiles.PrivacyPolicy
The PrivacyPolicy object.

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

IPrivacyPolicyItem Interface

IPrivacyPolicyItem Members

Microsoft.Office.Server.UserProfiles Namespace