ProfileProviderCollection::Item Property
Returns the profile provider referenced by the specified provider name.
Assembly: System.Web (in System.Web.dll)
public: property ProfileProvider^ Item[String^ name] { ProfileProvider^ get (String^ name); }
Parameters
- name
- Type: System::String
The name of the profile provider.
Property Value
Type: System.Web.Profile::ProfileProviderAn object that inherits the ProfileProvider abstract class.
The profile providers for an application are exposed as a read-only ProfileProviderCollection through the Providers property of the ProfileManager class. You can access a specific profile provider in the collection by name and cast it as the specific provider type, such as SqlProfileProvider. This enables you to manage user profile properties from multiple data stores in a single application. It also allows you to access members of a specific profile provider that are not members of the ProfileProvider abstract class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.