共用方式為


IDTSRuntimeConnectionCollection100.GetRuntimeConnectionByName(String) Method

Definition

Retrieves the runtime connection of the IDTSRuntimeConnection100 object by name.

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSRuntimeConnection100 ^ GetRuntimeConnectionByName(System::String ^ bstrName);
[System.Runtime.InteropServices.DispId(101)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100 GetRuntimeConnectionByName (string bstrName);
[<System.Runtime.InteropServices.DispId(101)>]
abstract member GetRuntimeConnectionByName : string -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
Public Function GetRuntimeConnectionByName (bstrName As String) As IDTSRuntimeConnection100

Parameters

bstrName
String

String containing the connection name.

Returns

The runtime connection.

Attributes

Applies to