ProfileProviderCollection.Item Property

Returns the profile provider referenced by the specified provider name.

Namespace: System.Web.Profile
Assembly: System.Web (in system.web.dll)

public:
property ProfileProvider^ default [String^] {
	ProfileProvider^ get (String^ name);
}
/** @property */
public ProfileProvider get_Item (String name)

Not applicable.

Parameters

name

The name of the profile provider.

Property Value

An 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 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: