다음을 통해 공유


Setting Class

Definition

Represents a setting for an extension.

public ref class Setting
public class Setting
type Setting = class
Public Class Setting
Inheritance
Setting

Remarks

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 Using the Setting Class for a Delivery Extension.

Constructors

Setting()

Initializes a new instance of the Setting class.

Properties

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.

Methods

AddValidValue(String, String)

Adds a valid value for a setting using a label and a value.

AddValidValue(ValidValue)

Adds a valid value using the ValidValue class.

Applies to