Поделиться через


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

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As DataSourceCredentials
'Usage
Dim instance As DataSourceCredentialsCollection
Dim name As String
Dim value As DataSourceCredentials

value = instance(name)
public DataSourceCredentials this [
    string name
] { get; }
public:
property DataSourceCredentials^ default [String^] {
    DataSourceCredentials^ get (String^ name);
}
/** @property */
public DataSourceCredentials get_Item (String name)

Parameters

Property Value

A DataSourceCredentials object.

Remarks

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

See Also

Reference

DataSourceCredentialsCollection Class
DataSourceCredentialsCollection Members
Microsoft.Reporting.WinForms Namespace