IDtsConnectionService Members
Provides a service that can be used by various user interfaces to create new connections.
The following tables list the members exposed by the IDtsConnectionService type.
Public Properties
名称 | Description | |
---|---|---|
IsDesignerOnline | Gets or sets a Boolean indicating whether the designer is working in an offline mode or online mode. |
顶部
Public Methods
名称 | Description | |
---|---|---|
AddConnectionToPackage | Adds existing connections to a package designer so that the designer is aware of a new connection manager | |
CreateConnection | Overloaded. Creates a new connection. | |
CreateConnectionFromDataSource | Displays a list of existing data sources and allows users to create connection managers based on data sources. | |
EditConnection | Overloaded. Edits an existing connection. | |
GetAMOObject | Retrieves the AMO object for an OLAP connection. | |
GetConnections | Retrieves all connection managers in the current package. | |
GetConnectionsOfType | Returns all connections of the specified type found in the current package. | |
GetDataSource | Retrieves the DataSource object for a connection. | |
SetDataSourceID | 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. | |
SetReferencedProject | Sets the referenced project to a connection manager. |
顶部
请参阅
参考
IDtsConnectionService Interface
Microsoft.SqlServer.Dts.Runtime.Design Namespace