Partager via


Setting.AddValidValue Method (String, String)

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

Espace de noms: Microsoft.ReportingServices.Interfaces
Assembly: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)

Syntaxe

'Déclaration
Public Sub AddValidValue ( _
    label As String, _
    val As String _
)
public void AddValidValue (
    string label,
    string val
)
public:
void AddValidValue (
    String^ label, 
    String^ val
)
public void AddValidValue (
    String label, 
    String val
)
public function AddValidValue (
    label : String, 
    val : String
)

Paramètres

  • label
    The display value for the setting as presented in a user interface.
  • val
    The actual value of the setting that is passed to the delivery extension.

Notes

The label parameter of a setting can be used to support localized names of setting values. The label is displayed in a user interface, such as Report Manager.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Setting Class
Setting Members
Microsoft.ReportingServices.Interfaces Namespace