AuthenticationInfoCollection.Add(AuthenticationInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Authentication information.
Returns
An object of any type that specifies the element to add to the collection.