SqlFeatures Enumeration
.NET Framework (current version)
Specifies the ASP.Net features to install or remove using the methods provided by the SqlServices class.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| All | All features. | |
| Membership | The membership feature. | |
| None | No features. | |
| Personalization | The personalization feature. | |
| Profile | The profile feature. | |
| RoleManager | The role manager feature. | |
| SqlWebEventProvider | The Web event provider feature. |
This enumeration has a FlagsAttribute, which means you can select two or more features by combining them with the & (and) operator (the And operator in Visual Basic).
The following code example shows how to use the SqlFeatures enumeration with the Install(String, SqlFeatures, String) method of the SqlServices class.
.NET Framework
Available since 2.0
Available since 2.0
SqlFeatures
System.Web.Management Namespace
Show: