SMOServerConn 생성자 (Boolean, String, String, String)

Initializes a new instance of the SMOServerConn class, initializing the authentication mode, user name, password, and server.

네임스페이스:  Microsoft.SqlServer.Dts.ManagedConnections
어셈블리:  Microsoft.SqlServer.ManagedConnections(Microsoft.SqlServer.ManagedConnections.dll)

구문

‘선언
Public Sub New ( _
    bUseWindowsAuthentication As Boolean, _
    UserName As String, _
    Password As String, _
    SqlServerName As String _
)
‘사용 방법
Dim bUseWindowsAuthentication As Boolean 
Dim UserName As String 
Dim Password As String 
Dim SqlServerName As String 

Dim instance As New SMOServerConn(bUseWindowsAuthentication, _
    UserName, Password, SqlServerName)

매개 변수

  • bUseWindowsAuthentication
    유형: System.Boolean
    A Boolean that specifies whether the connection manager uses Windows Authentication. true if Windows Authentication is used.
  • UserName
    유형: System.String
    The user name that the connection manager uses.
  • Password
    유형: System.String
    The password that the connection manager uses.
  • SqlServerName
    유형: System.String
    The name of the server to which you want to make the SMO connection.

참고 항목

참조

SMOServerConn 클래스

SMOServerConn 오버로드

Microsoft.SqlServer.Dts.ManagedConnections 네임스페이스