Share via


SecureStoreCredentialCollection Class

Represents a read-only collection class for a Secure Store credential.

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.ReadOnlyCollection<ISecureStoreCredential>
    Microsoft.BusinessData.Infrastructure.SecureStore.SecureStoreCredentialCollection

Namespace:  Microsoft.BusinessData.Infrastructure.SecureStore
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public NotInheritable Class SecureStoreCredentialCollection _
    Inherits ReadOnlyCollection(Of ISecureStoreCredential) _
    Implements IDisposable
'Usage
Dim instance As SecureStoreCredentialCollection
public sealed class SecureStoreCredentialCollection : ReadOnlyCollection<ISecureStoreCredential>, 
    IDisposable

Remarks

This class also implements the IDisposable interface. Call Dispose when you are finished using an object of this type. After calling Dispose, this object and the ISecureStoreCredential items contained in this collection will be in an unusable state.

Examples

Code Snippet: Get User Credentials Using the Default Secure Store Provider

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

Reference

SecureStoreCredentialCollection Members

Microsoft.BusinessData.Infrastructure.SecureStore Namespace