共用方式為


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 使用傳遞延伸模組的設定類別.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。