共用方式為


IDtsConnectionService.GetDataSource(ConnectionManager) Method

Definition

Retrieves the DataSource object for a connection.

public:
 System::Object ^ GetDataSource(Microsoft::SqlServer::Dts::Runtime::ConnectionManager ^ connectionManager);
public object GetDataSource (Microsoft.SqlServer.Dts.Runtime.ConnectionManager connectionManager);
abstract member GetDataSource : Microsoft.SqlServer.Dts.Runtime.ConnectionManager -> obj
Public Function GetDataSource (connectionManager As ConnectionManager) As Object

Parameters

connectionManager
ConnectionManager

The connection manager that you want the data source for.

Returns

>An object that contains the DataSource of the connection.

Applies to