Microsoft.SqlServer.DMQueryTask The namespace contains the members used by the Data Mining Query task. 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. Initializes a new instance of the class. Called by the run-time engine when a task or container is created, and is passed a manager to allow the task to create, remove, and check the status of breakpoints. This method is called by the runtime and is not used in code. The breakpoint manager specific for this task. Runs the task. A value from the enumeration. A collection of connections used by the task. A object for locking variables. An object that implements the interface. An object that implements the interface. The transaction object that the container is a part of. This value can be null. Executes the query found in the property. true indicates that the DMX query task executed successfully; false indicates that the DMX query task execution failed. A collection of connections used by the task. A object for locking variables. An object that implements the interface. An object that implements the interface. The transaction object that the container is a part of. This value can be null. This method is not callable by your application code. To load a package saved as .xml, use the method. The node that contains the information to be loaded. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. Resumes execution of the task after pausing. The task or container is resumed by the runtime engine. This method is not callable by your application code. To save a package as .xml, use the method. The XML document to save the information to. An object that implements the interface for raising events (errors, warnings, and so on) during persistence. Indicates that the executable needs to suspend. This method is called by the runtime engine. Verifies that the component is properly configured. A value from the enumeration. A collection of connections used by the task. A object for locking variables. An object that implements the interface. An object that implements the interface. A Boolean that indicates if a task should check if breakpoints are enabled. true to if the task should check if breakpoints are enabled. Returns a user-defined object. This field is read-only. A user-defined object. Gets or sets the connection string to an Analysis Services project or an Analysis Services database. A String that contains the connection string to an Analysis Services project or an Analysis Services database. Gets or sets a collection of variables that is used in a parameterized Data Mining Extensions (DMX) query. A collection of variables that is used in a parameterized Data Mining Extensions (DMX) query. Gets or sets the name of the mining model on which the query is based. A String that contains the name of the mining model. Gets or sets the name of the mining structure on which the query is based. A String that contains the name of the mining structure. Gets or sets the connection string to the OLE DB data source where the prediction query result will be stored. A String that contains the connection to the OLE DB data source. Gets or sets the name of the table where the results of the prediction query are written. A String that contains the name of the output table. Gets or sets the Boolean value that indicates if the prediction query should overwrite content in the destination table. true to overwrite the content in the destination table; false to append the results to the existing results. Gets or sets a String that contains the text that the transformation uses to create a prediction query. A String that contains the text that the transformation uses to create a prediction query. Gets or sets a collection of Integration Services variables that is used to store the DMX query results. A collection of Integration Services variables that is used to store the DMX query results. Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered. true if the task suspends when it encounters a breakpoint. Binds an SSIS package variable to a DMX query parameter. You can create a parameterized DMX query by referring to an InputParameter by its parameter name. The value of the SSIS package variable bound to the InputParameter is sent to the Analysis Services server when the DMX query is executed at package run time. Initializes a new instance of the class. Gets or sets the name of the SSIS package variable. A String containing the variable name. Gets or sets the name of the input parameter. A String containing the input parameter name. Defines the type of result set that the Data Mining Query task can use. The result set contains all of the rows returned by the Data Mining Extensions (DMX) query. The result set contains only the first row of the total rows returned by the DMX query. Binds the DMX query result to an SSIS package variable. At run time, the DMX query result will be assigned to the SSIS package variable. Initializes a new instance of the class. Gets or sets the name of the SSIS package variable. A String containing the name of the package variable. Gets or sets the name of the ResultParameter. A String containing the name of the ResultParameter. Gets or sets a value from the enumeration, indicating whether the SSIS package variable should be populated with the column value matching the in the first row of the DMX query result, or whether the variable should be populated with the entire DMX query result in the form of a DataTable. A value from the enumeration.