Adds existing connections to a package designer so that the designer is aware of a new connection manager
네임스페이스: Microsoft.SqlServer.Dts.Runtime.Design
어셈블리: Microsoft.SqlServer.Dts.Design(Microsoft.SqlServer.Dts.Design.dll)
구문
‘선언
Function AddConnectionToPackage ( _
connectionManager As ConnectionManager _
) As Boolean
‘사용 방법
Dim instance As IDtsConnectionService
Dim connectionManager As ConnectionManager
Dim returnValue As Boolean
returnValue = instance.AddConnectionToPackage(connectionManager)
bool AddConnectionToPackage(
ConnectionManager connectionManager
)
bool AddConnectionToPackage(
ConnectionManager^ connectionManager
)
abstract AddConnectionToPackage :
connectionManager:ConnectionManager -> bool
function AddConnectionToPackage(
connectionManager : ConnectionManager
) : boolean
매개 변수
- connectionManager
유형: Microsoft.SqlServer.Dts.Runtime.ConnectionManager
The connect manager to register in the package designer.
반환 값
유형: System.Boolean
true if the connection is not nullnull 참조(Visual Basic에서는 Nothing), false otherwise.
주의
This function needs to be called only if a connection manager was added directly to the package without going through the CreateConnection method.