다음을 통해 공유


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.

네임스페이스:  Microsoft.SqlServer.Management.UI.ConnectionDlg
어셈블리:  ConnectionDlg(ConnectionDlg.dll)

구문

‘선언
Public Sub New ( _
    authLabel As String, _
    userLabel As String, _
    pwdLabel As String, _
    type As Integer, _
    isWindowsAuth As Boolean _
)
‘사용 방법
Dim authLabel As String 
Dim userLabel As String 
Dim pwdLabel As String 
Dim type As Integer 
Dim isWindowsAuth As Boolean 

Dim instance As New AuthenticationInfo(authLabel, _
    userLabel, pwdLabel, type, isWindowsAuth)
public AuthenticationInfo(
    string authLabel,
    string userLabel,
    string pwdLabel,
    int type,
    bool isWindowsAuth
)
public:
AuthenticationInfo(
    String^ authLabel, 
    String^ userLabel, 
    String^ pwdLabel, 
    int type, 
    bool isWindowsAuth
)
new : 
        authLabel:string * 
        userLabel:string * 
        pwdLabel:string * 
        type:int * 
        isWindowsAuth:bool -> AuthenticationInfo
public function AuthenticationInfo(
    authLabel : String, 
    userLabel : String, 
    pwdLabel : String, 
    type : int, 
    isWindowsAuth : boolean
)

매개 변수

  • authLabel
    유형: System.String
    The label of the authentication.
  • isWindowsAuth
    유형: System.Boolean
    true if Windows is authenticated; otherwise, false.

참고 항목

참조

AuthenticationInfo 클래스

AuthenticationInfo 오버로드

Microsoft.SqlServer.Management.UI.ConnectionDlg 네임스페이스