共用方式為


IDTSRuntimeConnectionCollection100.GetRuntimeConnectionByName 方法

Retrieves the runtime connection of the IDTSRuntimeConnection100 object by name.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Function GetRuntimeConnectionByName ( _
    bstrName As String _
) As IDTSRuntimeConnection100
'用途
Dim instance As IDTSRuntimeConnectionCollection100 
Dim bstrName As String 
Dim returnValue As IDTSRuntimeConnection100 

returnValue = instance.GetRuntimeConnectionByName(bstrName)
IDTSRuntimeConnection100 GetRuntimeConnectionByName(
    string bstrName
)
IDTSRuntimeConnection100^ GetRuntimeConnectionByName(
    [InAttribute] String^ bstrName
)
abstract GetRuntimeConnectionByName : 
        bstrName:string -> IDTSRuntimeConnection100
function GetRuntimeConnectionByName(
    bstrName : String
) : IDTSRuntimeConnection100

參數

  • bstrName
    型別:System.String
    String containing the connection name.

傳回值

型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
The runtime connection.

請參閱

參考

IDTSRuntimeConnectionCollection100 介面

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間