共用方式為


DMQueryTask 類別

This class provides the properties and methods for the Data Mining Query task, which runs prediction queries based on data mining models built in Analysis Services. This class cannot be inherited.

命名空間:  Microsoft.SqlServer.Dts.Tasks.DMQueryTask
組件:  Microsoft.SqlServer.DMQueryTask (在 Microsoft.SqlServer.DMQueryTask.dll 中)

語法

'宣告
<GuidAttribute("A30DBD8E-A417-4bfe-8CE8-EEDE7A4B5AAB")> _
Public Class DMQueryTask _
    Inherits Task _
    Implements IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist, IDMQueryTask
'用途
Dim instance As DMQueryTask
[GuidAttribute("A30DBD8E-A417-4bfe-8CE8-EEDE7A4B5AAB")]
public class DMQueryTask : Task, 
    IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist, IDMQueryTask
[GuidAttribute(L"A30DBD8E-A417-4bfe-8CE8-EEDE7A4B5AAB")]
public ref class DMQueryTask : public Task, 
    IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist, IDMQueryTask
[<GuidAttribute("A30DBD8E-A417-4bfe-8CE8-EEDE7A4B5AAB")>]
type DMQueryTask =  
    class
        inherit Task
        interface IDTSBreakpointSite
        interface IDTSSuspend
        interface IDTSComponentPersist
        interface IDMQueryTask
    end
public class DMQueryTask extends Task implements IDTSBreakpointSite, IDTSSuspend, IDTSComponentPersist, IDMQueryTask

備註

For more information, see 資料採礦查詢工作.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime. . :: . .Task
      Microsoft.SqlServer.Dts.Tasks.DMQueryTask..::..DMQueryTask

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。