AuthenticationInfoCollection.Add(AuthenticationInfo) Method

Definition

Adds authentication information to a collection.

public:
 int Add(Microsoft::SqlServer::Management::UI::ConnectionDlg::AuthenticationInfo ^ ai);
public int Add (Microsoft.SqlServer.Management.UI.ConnectionDlg.AuthenticationInfo ai);
member this.Add : Microsoft.SqlServer.Management.UI.ConnectionDlg.AuthenticationInfo -> int
Public Function Add (ai As AuthenticationInfo) As Integer

Parameters

ai
AuthenticationInfo

Authentication information.

Returns

Int32

An object of any type that specifies the element to add to the collection.

Applies to