Freigeben über


EditConnection-Methode (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

Parameter

Rückgabewert

Typ: System. . :: . .Boolean
true if the connection was modified.