Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IMiningModelViewerControl2 Interface

Extends an interface for IMiningModelViewerControl which supports passing an DbConnection object in addition to a connection string.

Namespace:  Microsoft.DataWarehouse.Interfaces
Assembly:  Microsoft.DataWarehouse.Interfaces (in Microsoft.DataWarehouse.Interfaces.dll)

public interface IMiningModelViewerControl2 : IMiningModelViewerControl

The IMiningModelViewerControl2 type exposes the following members.

  NameDescription
Public propertyConnectionStringInfrastructure. Gets or sets a string used to open a connection. (Inherited from IMiningModelViewerControl.)
Public propertyDbConnectionSpecifies the connection to an instance of Analysis Services.
Public propertyMiningModelNameInfrastructure. Gets or sets the name of the mining model. (Inherited from IMiningModelViewerControl.)
Public propertyServiceProviderInfrastructure. Gets or sets the IServiceProvider for the control. (Inherited from IMiningModelViewerControl.)
Top

  NameDescription
Public methodLoadViewerDataInfrastructure. Indicates whether the mining model loads viewer data. (Inherited from IMiningModelViewerControl.)
Public methodViewerActivatedInfrastructure. Specifies the activated viewer. (Inherited from IMiningModelViewerControl.)
Top

This interface is derived from IMiningModelViewerControl and allows you to pass an existing connection, instead of passing a connection string.

Community Additions

Show:
© 2015 Microsoft