TaskInfo 类
Contains information about a task installed on the local computer.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
Microsoft.SqlServer.Dts.Runtime..::..TaskInfo
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public NotInheritable Class TaskInfo _
Inherits DtsObject _
Implements IDTSName
用法
Dim instance As TaskInfo
public sealed class TaskInfo : DtsObject,
IDTSName
public ref class TaskInfo sealed : public DtsObject,
IDTSName
[<SealedAttribute>]
type TaskInfo =
class
inherit DtsObject
interface IDTSName
end
public final class TaskInfo extends DtsObject implements IDTSName
TaskInfo 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
CreationName | Returns the string used by the runtime to create an instance of the TaskInfo object and add the object to the TaskInfos collection. This property is read-only. | |
Description | Gets or sets a description for the task. | |
FileName | Returns the name of the task. This property is read-only. | |
FileNameVersionString | Returns the version of the implementation file. This property is read-only. | |
IconFile | Returns the fully qualified name of the file that holds the icon for the task. This property is read-only. | |
IconResource | The name of the .resource file or the .resx file that contains the icon to use when representing this task in the graphical user interface. This value is read-only. | |
ID | Returns the GUID used when creating the task. This property is read-only. | |
Name | Gets or sets the task name. | |
TaskContact | Returns the contact information for the task. This property is read-only. | |
TaskType | Returns a String that describes the type of task. This property is read-only. | |
UITypeName | Returns the assembly that implements the user interface for the task. This value is read-only. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | Determines whether two object instances are equal. (从 DtsObject 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | Returns the hash code for this instance. (从 DtsObject 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
注释
A TaskInfo object describes a task that is installed on the computer and that clients can instantiate. The registered task classes include those provided with Microsoft SQL Server and custom tasks provided by other vendors and implemented by users.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。