Compartir a través de


IDtsConnectionService Miembros

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

El tipo IDtsConnectionService expone los siguientes miembros.

Métodos

  Nombre Descripción
Método publico AddConnectionToPackage Adds existing connections to a package designer so that the designer is aware of a new connection manager
Método publico CreateConnection(String) Creates a new connection using the connection type specified as a parameter.
Método publico CreateConnection(String, ConnectionManagerUIArgs) Creates a new connection using the connection type specified as a parameter.
Método publico CreateConnectionFromDataSource Displays a list of existing data sources and allows users to create connection managers based on data sources.
Método publico EditConnection(ConnectionManager) Edits a specific existing connection and returns a value that indicates whether the connection was modified.
Método publico EditConnection(ConnectionManager, ConnectionManagerUIArgs) Edits a specific existing connection and returns a value to indicate whether the connection was modified.
Método publico GetAMOObject Retrieves the AMO object for an OLAP connection.
Método publico GetConnections Retrieves all connection managers in the current package.
Método publico GetConnectionsOfType Returns all connections of the specified type found in the current package.
Método publico GetDataSource Retrieves the DataSource object for a connection.
Método publico 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.
Método publico SetReferencedProject Sets the referenced project to a connection manager.

Principio

Propiedades

  Nombre Descripción
Propiedad pública IsDesignerOnline Gets or sets a Boolean indicating whether the designer is working in an offline mode or online mode.

Principio