Partager via


Propriété AllowBlank

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

Espace de noms :  ReportExecution2005
Assembly :  ReportExecution2005 (en ReportExecution2005.dll)

Syntaxe

'Déclaration
Public Property AllowBlank As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean value.

Notes

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 Omission de valeurs pour les objets de service Web facultatifs.