共用方式為


IDtsConnectionService.EditConnection Method

Definition

Edits an existing connection.

Overloads

EditConnection(ConnectionManager)

Edits a specific existing connection and returns a value that indicates whether the connection was modified.

EditConnection(ConnectionManager, ConnectionManagerUIArgs)

Edits a specific existing connection and returns a value to indicate whether the connection was modified.

EditConnection(ConnectionManager)

Edits a specific existing connection and returns a value that indicates whether the connection was modified.

public:
 bool EditConnection(Microsoft::SqlServer::Dts::Runtime::ConnectionManager ^ connectionManager);
public bool EditConnection (Microsoft.SqlServer.Dts.Runtime.ConnectionManager connectionManager);
abstract member EditConnection : Microsoft.SqlServer.Dts.Runtime.ConnectionManager -> bool
Public Function EditConnection (connectionManager As ConnectionManager) As Boolean

Parameters

connectionManager
ConnectionManager

The connection manager to edit.

Returns

true if the connection was modified.

Applies to

EditConnection(ConnectionManager, ConnectionManagerUIArgs)

Edits a specific existing connection and returns a value to indicate whether the connection was modified.

public:
 bool EditConnection(Microsoft::SqlServer::Dts::Runtime::ConnectionManager ^ connectionManager, Microsoft::SqlServer::Dts::Runtime::Design::ConnectionManagerUIArgs ^ connectionUIArg);
public bool EditConnection (Microsoft.SqlServer.Dts.Runtime.ConnectionManager connectionManager, Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs connectionUIArg);
abstract member EditConnection : Microsoft.SqlServer.Dts.Runtime.ConnectionManager * Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs -> bool
Public Function EditConnection (connectionManager As ConnectionManager, connectionUIArg As ConnectionManagerUIArgs) As Boolean

Parameters

connectionManager
ConnectionManager

The connection manager to edit.

connectionUIArg
ConnectionManagerUIArgs

The context argument. For FILE connection managers, this argument is of type FileConnectionManagerUIArgs. For MULTIFILE connection managers, this argument is of type MultiFileConnectionManagerUIArgs.

Returns

true if the connection was modified.

Applies to