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.

注解

SpecialSetting 枚举定义一组特殊类别,它们使用 SpecialSettingAttribute 类应用于应用程序设置属性。The 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.

适用于

另请参阅