DataSourceCredentialsCollection Class
Represents a collection of DataSourceCredentials objects.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Inheritance Hierarchy
System.Object
System.Collections.ObjectModel.Collection<T>
Microsoft.Reporting.WinForms.DataSourceCredentialsCollection
Syntax
public sealed class DataSourceCredentialsCollection : Collection<DataSourceCredentials>
public ref class DataSourceCredentialsCollection sealed : Collection<DataSourceCredentials^>
[<Sealed>]
type DataSourceCredentialsCollection =
class
inherit Collection<DataSourceCredentials>
end
Public NotInheritable Class DataSourceCredentialsCollection
Inherits Collection(Of DataSourceCredentials)
Constructors
Name | Description | |
---|---|---|
DataSourceCredentialsCollection() | Initializes a new instance of the DataSourceCredentialsCollection class. |
Properties
Name | Description | |
---|---|---|
Count | (Inherited from Collection<T>.) |
|
Item[Int32] | (Inherited from Collection<T>.) |
|
Item[String] | Gets the DataSourceCredentials object of the specified name from the collection. |
Methods
Name | Description | |
---|---|---|
Add(T) | (Inherited from Collection<T>.) |
|
Clear() | (Inherited from Collection<T>.) |
|
Contains(T) | (Inherited from Collection<T>.) |
|
CopyTo(T[], Int32) | (Inherited from Collection<T>.) |
|
Equals(Object) | (Inherited from Object.) |
|
GetEnumerator() | (Inherited from Collection<T>.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
IndexOf(T) | (Inherited from Collection<T>.) |
|
Insert(Int32, T) | (Inherited from Collection<T>.) |
|
Remove(T) | (Inherited from Collection<T>.) |
|
RemoveAt(Int32) | (Inherited from Collection<T>.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo(Array, Int32) | (Inherited from Collection<T>.) |
|
IEnumerable.GetEnumerator() | (Inherited from Collection<T>.) |
|
IList.Add(Object) | (Inherited from Collection<T>.) |
|
IList.Contains(Object) | (Inherited from Collection<T>.) |
|
IList.IndexOf(Object) | (Inherited from Collection<T>.) |
|
IList.Insert(Int32, Object) | (Inherited from Collection<T>.) |
|
IList.Remove(Object) | (Inherited from Collection<T>.) |
Remarks
This class is referenced by the Credentials property in ReportCredentialsEventArgs.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Reporting.WinForms Namespace
Return to top