AuthenticationInfo Constructors
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.
Initializes a new instance of the AuthenticationInfo class.
Overloads
AuthenticationInfo() |
Initializes a new instance of the AuthenticationInfo class. |
AuthenticationInfo(String, String, String, Int32, Boolean) |
Initializes a new instance of the AuthenticationInfo class with the specified label of authentication, user, password, type of authentication, and whether Windows is authenticated. |
AuthenticationInfo()
Initializes a new instance of the AuthenticationInfo class.
public:
AuthenticationInfo();
public AuthenticationInfo ();
Public Sub New ()
Applies to
AuthenticationInfo(String, String, String, Int32, Boolean)
Initializes a new instance of the AuthenticationInfo class with the specified label of authentication, user, password, type of authentication, and whether Windows is authenticated.
public:
AuthenticationInfo(System::String ^ authLabel, System::String ^ userLabel, System::String ^ pwdLabel, int type, bool isWindowsAuth);
public AuthenticationInfo (string authLabel, string userLabel, string pwdLabel, int type, bool isWindowsAuth);
new Microsoft.SqlServer.Management.UI.ConnectionDlg.AuthenticationInfo : string * string * string * int * bool -> Microsoft.SqlServer.Management.UI.ConnectionDlg.AuthenticationInfo
Public Sub New (authLabel As String, userLabel As String, pwdLabel As String, type As Integer, isWindowsAuth As Boolean)
Parameters
- authLabel
- String
The label of the authentication.
- userLabel
- String
The label of the user.
- pwdLabel
- String
The label of the password.
- type
- Int32
The type of the authentication.
- isWindowsAuth
- Boolean
true
if Windows is authenticated; otherwise, false
.