IDtsConnectionService.EditConnection Method (ConnectionManager, ConnectionManagerUIArgs)
Edits a specific existing connection and returns a value to indicate whether the connection was modified.
Namespace: Microsoft.SqlServer.Dts.Runtime.Design
Assembly: Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)
Syntax
'Declaration
Function EditConnection ( _
connectionManager As ConnectionManager, _
connectionUIArg As ConnectionManagerUIArgs _
) As Boolean
'Usage
Dim instance As IDtsConnectionService
Dim connectionManager As ConnectionManager
Dim connectionUIArg As ConnectionManagerUIArgs
Dim returnValue As Boolean
returnValue = instance.EditConnection(connectionManager, _
connectionUIArg)
bool EditConnection(
ConnectionManager connectionManager,
ConnectionManagerUIArgs connectionUIArg
)
bool EditConnection(
ConnectionManager^ connectionManager,
ConnectionManagerUIArgs^ connectionUIArg
)
abstract EditConnection :
connectionManager:ConnectionManager *
connectionUIArg:ConnectionManagerUIArgs -> bool
function EditConnection(
connectionManager : ConnectionManager,
connectionUIArg : ConnectionManagerUIArgs
) : boolean
Parameters
- connectionManager
Type: Microsoft.SqlServer.Dts.Runtime.ConnectionManager
The connection manager to edit.
- connectionUIArg
Type: Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs
The context argument. For FILE connection managers, this argument is of type FileConnectionManagerUIArgs. For MULTIFILE connection managers, this argument is of type MultiFileConnectionManagerUIArgs.
Return Value
Type: System.Boolean
true if the connection was modified.