Share via


ReportDataSource.Name Property

Gets or sets the name of the report data source.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<NotifyParentPropertyAttribute(True)> _
<WebBrowsableAttribute(True)> _
<CategoryAttribute("Misc")> _
<DefaultValueAttribute("")> _
Public Property Name As String
'Usage
Dim instance As ReportDataSource
Dim value As String

value = instance.Name

instance.Name = value
[NotifyParentPropertyAttribute(true)] 
[WebBrowsableAttribute(true)] 
[CategoryAttribute("Misc")] 
[DefaultValueAttribute("")] 
public string Name { get; set; }
[NotifyParentPropertyAttribute(true)] 
[WebBrowsableAttribute(true)] 
[CategoryAttribute(L"Misc")] 
[DefaultValueAttribute(L"")] 
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Name ()

/** @property */
public void set_Name (String value)
public function get Name () : String

public function set Name (value : String)

Property Value

A string containing the name of the data source.

See Also

Reference

ReportDataSource Class
ReportDataSource Members
Microsoft.Reporting.WebForms Namespace