Dela via


ReportParameter.AllowBlank Property

Indicates whether an empty string is a valid value for the parameter. Read-only.

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)

Syntax

'Declaration
Public Property AllowBlank As Boolean
    Get
    Set
'Usage
Dim instance As ReportParameter
Dim value As Boolean

value = instance.AllowBlank

instance.AllowBlank = value
public bool AllowBlank { get; set; }
public:
property bool AllowBlank {
    bool get ();
    void set (bool value);
}
member AllowBlank : bool with get, set
function get AllowBlank () : boolean
function set AllowBlank (value : boolean)

Property Value

Type: System.Boolean
A Boolean value.

Remarks

The AllowBlank property is ignored if the value of the Type property is not a string.

The value for the AllowBlank property has a corresponding AllowBlankSpecified property in the SSRS Web service proxy class. Because AllowBlank is read-only and cannot be set by end users, you do not need to specify this property. For more information about specifying properties, see Omitting Values for Optional Web Service Objects.