Share via


AuthenticationInfoCollection Class

Represents a table that contains the authentication labels that are used to populate the simple view of the connection dialog box.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.UI.ConnectionDlg.AuthenticationInfoCollection

Namespace:  Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly:  ConnectionDlg (in ConnectionDlg.dll)

Syntax

'Declaration
Public Class AuthenticationInfoCollection _
    Implements ICollection, IEnumerable
'Usage
Dim instance As AuthenticationInfoCollection
public class AuthenticationInfoCollection : ICollection, 
    IEnumerable
public ref class AuthenticationInfoCollection : ICollection, 
    IEnumerable
type AuthenticationInfoCollection =  
    class 
        interface ICollection 
        interface IEnumerable 
    end
public class AuthenticationInfoCollection implements ICollection, IEnumerable

The AuthenticationInfoCollection type exposes the following members.

Constructors

  Name Description
Public method AuthenticationInfoCollection() Initializes a new instance of the AuthenticationInfoCollection class with the default property values.
Public method AuthenticationInfoCollection(array<AuthenticationInfo[]) Initializes a new instance of the AuthenticationInfoCollection class with the specified entries parameter.
Public method AuthenticationInfoCollection(array<AuthenticationInfo[], Int32) Initializes a new instance of the AuthenticationInfoCollection class with the specified entries and default index parameters.

Top

Properties

  Name Description
Public property Count Gets the number of elements actually contained in the collection.
Public property DefaultIndex Gets or sets the index of the default object within the collection.
Public property IsSynchronized Gets a value indicating whether access to the collection is synchronized.
Public property Item Returns a specific element of a collection object either by position or by key. This property is read-only.
Public property SyncRoot Gets an object that can be used to synchronize access to the Collection object.

Top

Methods

  Name Description
Public method Add Adds authentication information to a collection.
Public method CopyTo Copies the elements of the ICollection interface to an array, starting at a particular Array index.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindByAuthenticationType Indicates the information collection that is searched by its authentication type.
Public method GetEnumerator Retrieves a reference to an enumerator object, which is used to iterate over a collection object.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field def Defines a value that specifies the default index.
Protected field entries Defines the contents of the authentication information collection.
Protected field syncObject Defines an object that represents a send/receive group that lets user configure different synchronization.

Top

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

Microsoft.SqlServer.Management.UI.ConnectionDlg Namespace