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)

Syntax

'Declaration
Public Interface IMiningModelViewerControl2 _
    Inherits IMiningModelViewerControl
'Usage
Dim instance As IMiningModelViewerControl2
public interface IMiningModelViewerControl2 : IMiningModelViewerControl
public interface class IMiningModelViewerControl2 : IMiningModelViewerControl
type IMiningModelViewerControl2 =  
    interface 
        interface IMiningModelViewerControl 
    end
public interface IMiningModelViewerControl2 extends IMiningModelViewerControl

The IMiningModelViewerControl2 type exposes the following members.

Properties

  Name Description
Public property ConnectionString Infrastructure. Gets or sets a string used to open a connection. (Inherited from IMiningModelViewerControl.)
Public property DbConnection Specifies the connection to an instance of Analysis Services.
Public property MiningModelName Infrastructure. Gets or sets the name of the mining model. (Inherited from IMiningModelViewerControl.)
Public property ServiceProvider Infrastructure. Gets or sets the IServiceProvider for the control. (Inherited from IMiningModelViewerControl.)

Top

Methods

  Name Description
Public method LoadViewerData Infrastructure. Indicates whether the mining model loads viewer data. (Inherited from IMiningModelViewerControl.)
Public method ViewerActivated Infrastructure. Specifies the activated viewer. (Inherited from IMiningModelViewerControl.)

Top

Remarks

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

See Also

Reference

Microsoft.DataWarehouse.Interfaces Namespace