System.Web.Profile.SqlProfileProvider.SetPropertyValues Method

Updates the SQL Server profile database with the specified property values.

Syntax

public override void SetPropertyValues (System.Configuration.SettingsContext sc, System.Configuration.SettingsPropertyValueCollection properties)

Parameters

sc
The System.Configuration.SettingsContext that contains user profile information.
properties
A System.Configuration.SettingsPropertyValueCollection containing profile information and values for the properties to be updated.

Remarks

The SqlProfileProvider.SetPropertyValues(System.Configuration.SettingsContext, System.Configuration.SettingsPropertyValueCollection) method is used by ASP.NET profile services to update the SQL Server profile database when property values are set for the current request. Property values are set at the data source for the application specified by the applicationName attribute in the configuration file. Profile property information and values to be updated by the System.Web.Profile.SqlProfileProvider are specified as a collection of System.Configuration.SettingsPropertyValue objects.

Requirements

Namespace: System.Web.Profile
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0