EditConnection méthode (ConnectionManager, ConnectionManagerUIArgs)
Edits a specific existing connection and returns a value to indicate whether the connection was modified.
Espace de noms : Microsoft.SqlServer.Dts.Runtime.Design
Assembly : Microsoft.SqlServer.Dts.Design (dans Microsoft.SqlServer.Dts.Design.dll)
Syntaxe
'Déclaration
Function EditConnection ( _
connectionManager As ConnectionManager, _
connectionUIArg As ConnectionManagerUIArgs _
) As Boolean
'Utilisation
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
Paramètres
- 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.
Valeur de retour
Type : System. . :: . .Boolean
true if the connection was modified.