Share via


IDtsConnectionService Members

Include Protected Members
Include Inherited Members

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

The IDtsConnectionService type exposes the following members.

Methods

  Name Description
Public method AddConnectionToPackage(ConnectionManager) Adds existing connections to a package designer so that the designer is aware of a new connection manager
Public method CreateConnection(String) Creates a new connection using the connection type specified as a parameter.
Public method CreateConnection(String, ConnectionManagerUIArgs) Creates a new connection using the connection type specified as a parameter.
Public method CreateConnectionFromDataSource() Displays a list of existing data sources and allows users to create connection managers based on data sources.
Public method EditConnection(ConnectionManager) Edits a specific existing connection and returns a value that indicates whether the connection was modified.
Public method EditConnection(ConnectionManager, ConnectionManagerUIArgs) Edits a specific existing connection and returns a value to indicate whether the connection was modified.
Public method GetAMOObject(ConnectionManager) Retrieves the AMO object for an OLAP connection.
Public method GetConnections() Retrieves all connection managers in the current package.
Public method GetConnectionsOfType(String) Returns all connections of the specified type found in the current package.
Public method GetDataSource(ConnectionManager) Retrieves the DataSource object for a connection.
Public method SetDataSourceID(ConnectionManager, String) Allows the connection string for a run-time connection manager to be in synchronization with the connection string of a Data Source object, if both are in the same project. This synchronization is done whenever a package is opened in the designer.
Public method SetReferencedProject(ConnectionManager, String) Sets the referenced project to a connection manager.

Top

Properties

  Name Description
Public property IsDesignerOnline Gets or sets a Boolean indicating whether the designer is working in an offline mode or online mode.

Top