Share via


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 (in Microsoft.Office.Server.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. 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