Membership.SetPropertyValues Method
Sets the property values of a membership.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Protected Overrides Sub SetPropertyValues ( _
dataReader As SqlDataReader _
)
'Usage
Dim dataReader As SqlDataReader
Me.SetPropertyValues(dataReader)
protected override void SetPropertyValues(
SqlDataReader dataReader
)
Parameters
- dataReader
Type: System.Data.SqlClient.SqlDataReader
A SqlDataReader object that has columns that contain the properties of a membership.
Remarks
For more information about types of membership groups, see Memberships Overview. For a code example about how to create a member group and add a member to the newly created group, see How to: Create Memberships.