DataProfilingTask 类

Profiles selected columns and column relationships in a data source to discover the structure of an unfamiliar data source, and to identify problems with the data.

继承层次结构

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Task
      Microsoft.SqlServer.Dts.Tasks.DataProfilingTask.DataProfilingTask

命名空间:  Microsoft.SqlServer.Dts.Tasks.DataProfilingTask
程序集:  Microsoft.SqlServer.DataProfilingTask(在 Microsoft.SqlServer.DataProfilingTask.dll 中)

语法

声明
Public NotInheritable Class DataProfilingTask _
    Inherits Task _
    Implements IDTSComponentPersist
用法
Dim instance As DataProfilingTask
public sealed class DataProfilingTask : Task, 
    IDTSComponentPersist
public ref class DataProfilingTask sealed : public Task, 
    IDTSComponentPersist
[<SealedAttribute>]
type DataProfilingTask =  
    class 
        inherit Task 
        interface IDTSComponentPersist 
    end
public final class DataProfilingTask extends Task implements IDTSComponentPersist

DataProfilingTask 类型公开以下成员。

构造函数

  名称 说明
公共方法 DataProfilingTask Initializes a new instance of the DataProfilingTask class.

页首

属性

  名称 说明
公共属性 Destination Gets or sets the File connection manager or the package variable that contains the XML output that the Data Profiling task generates.
公共属性 DestinationType Gets or sets a value whether a File connection manager or a package variable contains the XML output the Data Profiling task generates.
公共属性 ExecutionValue Returns a user-defined object. This field is read-only. (从 Task 继承。)
公共属性 OverwriteDestination Gets or sets a value that indicates whether the Data Profiling task should overwrite the output file if the file already exists.
公共属性 ProfileInputXml 基础结构。Gets or sets an XML input of the DataProfilingTask.
公共属性 ProfileRequests Gets the collection of profile requests that the Data Profiling task will compute.
公共属性 Timeout Gets or sets the number of seconds after which the Data Profiling task should time out and stop running.
公共属性 Version *** Member deprecated; see Remarks. ***    Returns the version of the task. This property is read-only. (从 Task 继承。)

页首

方法

  名称 说明
公共方法 CanUpdate *** Member deprecated; see Remarks. ***    A Boolean that indicates whether the new package XML can update the old package XML. (从 Task 继承。)
公共方法 Equals Determines whether two object instances are equal. (从 DtsObject 继承。)
公共方法 Execute Runs the Data Profiling task. (覆盖 Task.Execute(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging, Object)。)
公共方法 GetConnectionID Gets a String containing the ID of the connection. (从 Task 继承。)
公共方法 GetConnectionName Gets a String containing the name of the connection. (从 Task 继承。)
公共方法 GetHashCode Returns the hash code for this instance. (从 DtsObject 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 InitializeTask Initializes the Data Profiling task. (覆盖 Task.InitializeTask(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging, EventInfos, LogEntryInfos, ObjectReferenceTracker)。)
公共方法 LoadFromXML Loads the definition of the task, in XML format, from the XML definition of the package.
公共方法 SaveToXML Saves the definition of the task, in XML format, into the XML definition of the package.
公共方法 ToString (从 Object 继承。)
公共方法 Update *** Member deprecated; see Remarks. ***    This method updates the old package XML with the new package XML if CanUpdate is set to true. (从 Task 继承。)
公共方法 Validate Determines whether the Data Profiling task is correctly configured. (覆盖 Task.Validate(Connections, VariableDispenser, IDTSComponentEvents, IDTSLogging)。)

页首

注释

The DataProfilingTask class is the main class in the Microsoft.SqlServer.Dts.Tasks.DataProfilingTask namespace. This class represents the Integration Services Data Profiling task, which can be used to profile and discover the structure of an unfamiliar data source, and to identify problems with the data.

For more information about the Data Profiling task, see the following topics:

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Tasks.DataProfilingTask 命名空间