PrivacyItem.GetPrivacyPolicy method

This member is reserved for internal use and is not intended to be used directly from your code.

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

Syntax

'Declaration
Protected Friend Function GetPrivacyPolicy ( _
    policyId As Guid _
) As PrivacyPolicyItem
'Usage
Dim policyId As Guid
Dim returnValue As PrivacyPolicyItem

returnValue = Me.GetPrivacyPolicy(policyId)
protected internal PrivacyPolicyItem GetPrivacyPolicy(
    Guid policyId
)

Parameters

Return value

Type: Microsoft.Office.Server.UserProfiles.PrivacyPolicyItem

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