Setting 类

Represents a setting for an extension.

继承层次结构

System.Object
  Microsoft.ReportingServices.Interfaces.Setting

命名空间:  Microsoft.ReportingServices.Interfaces
程序集:   Microsoft.ReportingServices.Interfaces(在 Microsoft.ReportingServices.Interfaces.dll 中)
  Microsoft.ReportingServices.SharePoint.UI.WebParts(在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

语法

声明
Public Class Setting
用法
Dim instance As Setting
public class Setting
public ref class Setting
type Setting =  class end
public class Setting

Setting 类型公开以下成员。

构造函数

  名称 说明
公共方法 Setting Initializes a new instance of the Setting class.

页首

属性

  名称 说明
公共属性 DisplayName The localized name of the extension setting that is displayed to the user.
公共属性 Encrypted Indicates whether the extension setting value should be encrypted in the report server database.
公共属性 Error An error that describes a problem with the value of the setting.
公共属性 Field The name of the field used to derive the value of the setting.
公共属性 IsPassword Indicates whether the setting value should be returned in calls to the SOAP API.
公共属性 Name Gets the name of the setting.
公共属性 ReadOnly Indicates whether a setting is read-only.
公共属性 Required Indicates whether a value for the setting is required by the extension.
公共属性 ValidValues A set of values that can be configured for the setting.
公共属性 Value Gets or sets the value for the setting.

页首

方法

  名称 说明
公共方法 AddValidValue(ValidValue) Adds a valid value using the ValidValue class.
公共方法 AddValidValue(String, String) Adds a valid value for a setting using a label and a value.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

The Setting class provides infrastructure for storing information about the settings that are required in order for a delivery extension to function properly. For more information about the Setting class, see 将 Setting 类用于传递扩展插件.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.ReportingServices.Interfaces 命名空间