System.Web.Profile.SqlProfileProvider.GetPropertyValues Method

Retrieves profile property information and values from a SQL Server profile database.

Syntax

public override System.Configuration.SettingsPropertyValueCollection GetPropertyValues (System.Configuration.SettingsContext sc, System.Configuration.SettingsPropertyCollection properties)

Parameters

sc
The System.Configuration.SettingsContext that contains user profile information.
properties
A System.Configuration.SettingsPropertyCollection containing profile information for the properties to be retrieved.

Returns

A System.Configuration.SettingsPropertyValueCollection containing profile property information and values.

Remarks

The SqlProfileProvider.GetPropertyValues(System.Configuration.SettingsContext, System.Configuration.SettingsPropertyCollection) method is used by the System.Web.Profile.ProfileBase class to retrieve profile properties for the current request that are managed by the System.Web.Profile.SqlProfileProvider. Property values are returned from the data source for the application specified by the applicationName attribute in the configuration file. Property values and additional property information are returned 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