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
)
매개 변수
- sqlConnection
형식: System.Data.SqlClient. . :: . .SqlConnection
A SqlConnection system object that specifies connection parameters associated with the referenced connection.