Partilhar via


Propriedade DataSourceCredentialsCollection.Item (String)

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

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    name As String _
) As DataSourceCredentials
public DataSourceCredentials this[
    string name
] { get; }
public:
property DataSourceCredentials^ default[String^ name] {
    DataSourceCredentials^ get (String^ name);
}
member Item : 
        name:string -> DataSourceCredentials with get
JScript não oferece suporte a propriedades indexadas.

Parâmetros

Valor de propriedade

Tipo: Microsoft.Reporting.WebForms.DataSourceCredentials
A DataSourceCredentials object.

Comentários

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

Consulte também

Referência

DataSourceCredentialsCollection Classe

Sobrecargas Item

Namespace Microsoft.Reporting.WebForms