SpecialSetting 枚举

定义

指定应用程序设置属性的特殊设置类别。Specifies the special setting category of a application settings property.

public enum class SpecialSetting
public enum SpecialSetting
type SpecialSetting = 
Public Enum SpecialSetting
继承
SpecialSetting

字段

ConnectionString 0

该配置属性表示一个通常用于数据存储区或网络资源的连接字符串。The configuration property represents a connection string, typically for a data store or network resource.

WebServiceUrl 1

该配置属性表示 Web 服务的统一资源定位器 (URL)。The configuration property represents a Uniform Resource Locator (URL) to a Web service.

注解

枚举定义一组特殊类别, 这些类别应用于SpecialSettingAttribute具有类的应用程序设置属性。 SpecialSettingThe SpecialSetting enumeration defines a set of special categories that are applied to application settings properties with the SpecialSettingAttribute class.

注意

默认设置提供程序LocalFileSettingsProvider不会加密或保护连接字符串。The default settings provider, LocalFileSettingsProvider, does not encrypt or otherwise protect connection strings. 它在相应的配置文件的单独<connectionstrings>部分中简单地存储此类设置。It simple stores this type of settings in a separate <connectionstrings> section in the appropriate configuration file.

适用于

另请参阅