Método EditConnection (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 (em Microsoft.SqlServer.Dts.Design.dll)
Sintaxe
'Declaração
Function EditConnection ( _
connectionManager As ConnectionManager, _
connectionUIArg As ConnectionManagerUIArgs _
) As Boolean
'Uso
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
Parâmetros
- connectionManager
Tipo: Microsoft.SqlServer.Dts.Runtime. . :: . .ConnectionManager
The connection manager to edit.
- connectionUIArg
Tipo: 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.
Valor de retorno
Tipo: System. . :: . .Boolean
true if the connection was modified.
Consulte também