共用方式為


IDtsConnectionService 介面

Provides a service that can be used by various user interfaces to create new connections.

命名空間:  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

備註

This service can be used by any kind of user interface, whether that be a task, connection manager, transform, log provider, or others.

範例

The following code example shows the use of the IDtsConnectionService.

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