次の方法で共有


IDtsConnectionService インターフェイス

新しい接続を作成するためにさまざまなユーザー インターフェイスで使用できるサービスを提供します。

名前空間:  Microsoft.SqlServer.Dts.Runtime.Design
アセンブリ:  Microsoft.SqlServer.Dts.Design (Microsoft.SqlServer.Dts.Design.dll)

構文

'宣言
Public Interface IDtsConnectionService
'使用
Dim instance As IDtsConnectionService
public interface IDtsConnectionService
public interface class IDtsConnectionService
type IDtsConnectionService =  interface end
public interface IDtsConnectionService

説明

このサービスは、タスク、接続マネージャ、変換、ログ プロバイダなど、どのような種類のユーザー インターフェイスでも使用できます。

使用例

次のコード例では、IDtsConnectionService の使い方を示します。

IDtsConnectionService dtsConnectionService = serviceProvider.GetService(typeof(IDtsConnectionService)) as IDtsConnectionService;