Freigeben über


ReportParameter-Klasse

Contains information about a parameter to the report.

Vererbungshierarchie

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.ReportParameter

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Class ReportParameter _
    Inherits ReportObject _
    Implements INamedObject
'Usage
Dim instance As ReportParameter
public class ReportParameter : ReportObject, 
    INamedObject
public ref class ReportParameter : public ReportObject, 
    INamedObject
type ReportParameter =  
    class 
        inherit ReportObject 
        interface INamedObject 
    end
public class ReportParameter extends ReportObject implements INamedObject

Der ReportParameter-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ReportParameter Creates a new instance of the ReportParameter class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft AllowBlank Gets or sets a value that indicates whether the value for this parameter is allowed to be the empty string.
Öffentliche Eigenschaft ComponentMetadata Gets or sets the component metadata. (Geerbt von ReportObject.)
Öffentliche Eigenschaft DataType Gets or sets the data type of the parameter.
Öffentliche Eigenschaft DefaultValue Gets or sets the default value to use for the parameter (if not provided by the user). If no value is provided as a part of the definition or by the user, the value is null. Required if there is no Prompt and either Nullable is False or a ValidValues list is provided that does not contain Null (an omitted Value).
Öffentliche Eigenschaft Hidden Gets or sets a value that indicates whether the parameter should not be displayed to the user (however, it will still be available for programmatic use with subreports, drillthrough reports etc.).
Öffentliche Eigenschaft MultiValue Gets or sets a value that indicates whether this is a multivalue parameter (a parameter that can take a set of values).
Öffentliche Eigenschaft Name Gets or sets the report parameter name.
Öffentliche Eigenschaft Nullable Gets or sets a value that indicates whether the value for this parameter is allowed to be Null.
Öffentliche Eigenschaft Parent The parent of this report object. (Geerbt von ReportObjectBase.)
Öffentliche Eigenschaft Prompt Gest or sets the user prompt to display when asking for parameter values.
Öffentliche Eigenschaft PromptLocID Infrastruktur Gets or sets the unique identifier for the Prompt property.
Öffentliche Eigenschaft Site Infrastruktur Gets or sets the site associated with the ReportObject object. (Geerbt von ReportObject.)
Öffentliche Eigenschaft UsedInQuery Gets or sets a value that indicates whether or not the parameter is used in a query in the report.
Öffentliche Eigenschaft ValidValues Gets or sets the possible values for the parameter (for the end-user UI).

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode DeepClone Returns a deep clone of this ReportObject instance. (Geerbt von ReportObject.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetContainingDataScopes Infrastruktur Returns the list of report object that contains data scopes. (Geerbt von ReportObject.)
Geschützte Methode GetDataScopesForDefaultImpl Infrastruktur Returns the data scopes for default implementation. (Geerbt von ReportObject.)
Geschützte Methode GetDependenciesCore Infrastruktur Returns the dependencies core for the ReportObject object. (Geerbt von ReportObject.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode Initialize Infrastruktur Initializes an instance of ReportObject. (Geerbt von ReportObject.)
Geschützte Methode InitializeForDesigner Infrastruktur Initializes the report object for designer. (Geerbt von ReportObject.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode OnChildPropertyChanged Infrastruktur Raises an event when the property of the child was changed. (Geerbt von ReportObject.)
Geschützte Methode OnPropertyChanged Infrastruktur Raises an event when the property was changed. (Geerbt von ReportObject.)
Geschützte Methode RdlSemanticEqualsCore Infrastruktur Indicates whether the RDL semantic is equal to the core objects. (Überschreibt ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).)
Geschützte Methode SavePropertyValue<T> Infrastruktur Saves the property value of the report object. (Geerbt von ReportObject.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IDisposable.Dispose Infrastruktur Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Geerbt von ReportObject.)
Explizite SchnittstellenimplementierungPrivates Ereignis IComponent.Disposed Infrastruktur Occurs when the ReportObject object is disposed. (Geerbt von ReportObject.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.ReportingServices.RdlObjectModel-Namespace