Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Adds existing connections to a package designer so that the designer is aware of a new connection manager
Namespace: Microsoft.SqlServer.Dts.Runtime.Design
Assembly: Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)
Syntax
'Declaration
Function AddConnectionToPackage ( _
connectionManager As ConnectionManager _
) As Boolean
'Usage
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
Parameter
- connectionManager
Typ: Microsoft.SqlServer.Dts.Runtime.ConnectionManager
The connect manager to register in the package designer.
Rückgabewert
Typ: System.Boolean
true if the connection is not nullein NULL-Verweis (Nothing in Visual Basic), false otherwise.
Hinweise
This function needs to be called only if a connection manager was added directly to the package without going through the CreateConnection method.