PrivacyItem.SetPropertyValues Method
Sets the property values of a privacy item.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Protected Overridable Sub SetPropertyValues ( _
dataReader As SqlDataReader _
)
'Usage
Dim dataReader As SqlDataReader
Me.SetPropertyValues(dataReader)
protected virtual void SetPropertyValues(
SqlDataReader dataReader
)
Parameters
dataReader
Type: System.Data.SqlClient.SqlDataReaderA SqlDataReader object with columns that contain the properties of 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.