GetDataSource 方法
Retrieves the DataSource object for a connection.
命名空間: Microsoft.SqlServer.Dts.Runtime.Design
組件: Microsoft.SqlServer.Dts.Design (在 Microsoft.SqlServer.Dts.Design.dll 中)
語法
'宣告
Function GetDataSource ( _
connectionManager As ConnectionManager _
) As Object
'用途
Dim instance As IDtsConnectionService
Dim connectionManager As ConnectionManager
Dim returnValue As Object
returnValue = instance.GetDataSource(connectionManager)
Object GetDataSource(
ConnectionManager connectionManager
)
Object^ GetDataSource(
ConnectionManager^ connectionManager
)
abstract GetDataSource :
connectionManager:ConnectionManager -> Object
function GetDataSource(
connectionManager : ConnectionManager
) : Object
參數
- connectionManager
型別:Microsoft.SqlServer.Dts.Runtime. . :: . .ConnectionManager
The connection manager that you want the data source for.
傳回值
型別:System. . :: . .Object
An object that contains the DataSource of the connection.