Edit

Share via


DataSourceProviderService Class

Definition

Implements the basic functionality required of a service for providing access to a data source at the EnvDTE.Project level.

public ref class DataSourceProviderService abstract
[System.Runtime.InteropServices.Guid("ABE5C1F0-C96E-40c4-A22D-4A5CEC899BDC")]
public abstract class DataSourceProviderService
[<System.Runtime.InteropServices.Guid("ABE5C1F0-C96E-40c4-A22D-4A5CEC899BDC")>]
type DataSourceProviderService = class
Public MustInherit Class DataSourceProviderService
Inheritance
DataSourceProviderService
Attributes

Constructors

DataSourceProviderService()

Initializes a new instance of the DataSourceProviderService class.

Properties

SupportsAddNewDataSource

When overridden in a derived class, gets the value indicating whether the service supports adding a new data source using InvokeAddNewDataSource(IWin32Window, FormStartPosition).

SupportsConfigureDataSource

When overridden in a derived class, gets the value indicating whether the service supports configuring data sources using InvokeConfigureDataSource(IWin32Window, FormStartPosition, DataSourceDescriptor).

Methods

AddDataSourceInstance(IDesignerHost, DataSourceDescriptor)

When overridden in a derived class, creates and returns an instance of the given data source, and adds it to the design surface.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetDataSources()

When overridden in a derived class, retrieves the collection of data sources at the EnvDTE.Project level.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
InvokeAddNewDataSource(IWin32Window, FormStartPosition)

When overridden in a derived class, invokes the Add New Data Source Wizard.

InvokeConfigureDataSource(IWin32Window, FormStartPosition, DataSourceDescriptor)

When overridden in a derived class, invokes the Configure Data Source dialog box on the specified data source.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
NotifyDataSourceComponentAdded(Object)

When overridden in a derived class, notifies the service that a component representing a data source was added to the design surface.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to