ProfileManager::Provider Property

 

Gets a reference to the default profile provider for the application.

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

public:
property ProfileProvider^ Provider {
	static ProfileProvider^ get();
}

Property Value

Type: System.Web.Profile::ProfileProvider^

The default profile provider for the application.

Exception Condition
HttpException

An attempt was made to get the Provider property value without at least Medium permission.

The Provider property enables you to reference the default profile provider for an application directly. This is commonly used to access custom members of the profile provider that are not part of the ProfileProvider abstract base class.

The following code example lists properties of the default profile provider.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: