다음을 통해 공유


SqlConnectionInfo 생성자 (ServerConnection, ConnectionType)

Initializes a new instance of the SqlConnectionInfo class.

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

구문

‘선언
Public Sub New ( _
    serverConnection As ServerConnection, _
    connectionType As ConnectionType _
)
‘사용 방법
Dim serverConnection As ServerConnection 
Dim connectionType As ConnectionType 

Dim instance As New SqlConnectionInfo(serverConnection, _
    connectionType)
public SqlConnectionInfo(
    ServerConnection serverConnection,
    ConnectionType connectionType
)
public:
SqlConnectionInfo(
    ServerConnection^ serverConnection, 
    ConnectionType connectionType
)
new : 
        serverConnection:ServerConnection * 
        connectionType:ConnectionType -> SqlConnectionInfo
public function SqlConnectionInfo(
    serverConnection : ServerConnection, 
    connectionType : ConnectionType
)

매개 변수

참고 항목

참조

SqlConnectionInfo 클래스

SqlConnectionInfo 오버로드

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