IMiningModelDrillThroughHandler.ShowDrillThrough 메서드

Displays the results of the specified drillthrough operation.

네임스페이스:  Microsoft.DataWarehouse.Interfaces
어셈블리:  Microsoft.DataWarehouse.Interfaces(Microsoft.DataWarehouse.Interfaces.dll)

구문

‘선언
Sub ShowDrillThrough
‘사용 방법
Dim instance As IMiningModelDrillThroughHandler

instance.ShowDrillThrough()
void ShowDrillThrough()
void ShowDrillThrough()
abstract ShowDrillThrough : unit -> unit
function ShowDrillThrough()

주의

The ShowDrillThrough method is called when drill-through results need to be displayed.

For more information about drillthrough, see 드릴스루 쿼리(데이터 마이닝). For information about setting drillthrough permissions, see AllowDrillThrough and AllowDrillThrough.

For example, if a user in SQL Server Management Studio opens a mining model in the viewer and selects one of the drillthrough options from the shortcut menu, the ShowDrillThrough method is called to display drillthrough results for the selected node.

Hosting applications can use the Connection and QueryString properties to construct and execute the command used in the ShowDrillThrough method. Other properties, such as MiningModelName and NodeText) can be used with the ShowDrillThrough method to indicate the model and node that the drillthrough results apply to.

The following example illustrates the use of this method:

public void ShowDrillThrough()
     {
          IDbCommand command = Connection.CreateCommand();
          command.CommandText = QueryString;
          IDataReader reader = command.ExecuteReader(CommandBehavior.SequentialAccess);
while (reader.Read())
        {
        // Render this row.
        }
    }

참고 항목

참조

IMiningModelDrillThroughHandler 인터페이스

Microsoft.DataWarehouse.Interfaces 네임스페이스