다음을 통해 공유


ServerConnection 생성자 (SqlConnection)

Initializes a new instance of the ServerConnection class with the specified connection parameters.

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

구문

‘선언
Public Sub New ( _
    sqlConnection As SqlConnection _
)
‘사용 방법
Dim sqlConnection As SqlConnection

Dim instance As New ServerConnection(sqlConnection)
public ServerConnection(
    SqlConnection sqlConnection
)
public:
ServerConnection(
    SqlConnection^ sqlConnection
)
new : 
        sqlConnection:SqlConnection -> ServerConnection
public function ServerConnection(
    sqlConnection : SqlConnection
)

매개 변수