Share via


DataSourceCredentialsCollection.Item Property (String)

 

Gets the DataSourceCredentials object of the specified name from the collection.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

public DataSourceCredentials this[
    string name
] { get; }
public:
property DataSourceCredentials^ default[
    String^ name
] {
    DataSourceCredentials^ get(String^ name);
}
member Item : 
        name:string -> DataSourceCredentials with get
Public ReadOnly Property Item (
    name As String
) As DataSourceCredentials

Parameters

Property Value

Type: Microsoft.Reporting.WinForms.DataSourceCredentials

A DataSourceCredentials object.

Remarks

If multiple DataSourceCredentials objects in the collection match the name parameter, the first match is returned.

Examples

Legacy Code Example

 

See Also

Item Overload
DataSourceCredentialsCollection Class
Microsoft.Reporting.WinForms Namespace

Return to top