SqlConnectionInfo 생성자 (String, String, String)

Initializes a new instance of the SqlConnectionInfo class.

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

구문

‘선언
Public Sub New ( _
    serverName As String, _
    userName As String, _
    password As String _
)
‘사용 방법
Dim serverName As String 
Dim userName As String 
Dim password As String 

Dim instance As New SqlConnectionInfo(serverName, _
    userName, password)
public SqlConnectionInfo(
    string serverName,
    string userName,
    string password
)
public:
SqlConnectionInfo(
    String^ serverName, 
    String^ userName, 
    String^ password
)
new : 
        serverName:string * 
        userName:string * 
        password:string -> SqlConnectionInfo
public function SqlConnectionInfo(
    serverName : String, 
    userName : String, 
    password : String
)

매개 변수

  • serverName
    유형: System.String
    A String object value that specifies the instance of SQL Server.
  • userName
    유형: System.String
    A String object value that specifies the user who is connected to the instance of SQL Server.
  • password
    유형: System.String
    A String object value that specifies the password supplied by the user to connect to the instance of SQL Server.

참고 항목

참조

SqlConnectionInfo 클래스

SqlConnectionInfo 오버로드

Microsoft.SqlServer.Management.Common 네임스페이스