TaskDescription 属性

Gets the description of the Analysis Services Processing task.

命名空间:  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
程序集:  Microsoft.SqlServer.ASTasks(在 Microsoft.SqlServer.ASTasks.dll 中)

语法

声明
<BrowsableAttribute(False)> _
Public Shared ReadOnly Property TaskDescription As String
    Get
用法
Dim value As String

value = DTSProcessingTask.TaskDescription
[BrowsableAttribute(false)]
public static string TaskDescription { get; }
[BrowsableAttribute(false)]
public:
static property String^ TaskDescription {
    String^ get ();
}
[<BrowsableAttribute(false)>]
static member TaskDescription : string
static function get TaskDescription () : String

属性值

类型:System. . :: . .String
The description of the Analysis Services Processing task.

示例

The following code sample displays information about the DTSProcessingTask by using the TaskDisplayName and TaskDescription properties.

    string taskInfo;
    taskInfo = String.Format("{0}: {1}", thTask.Properties("TaskDisplayName").GetValue(thTask), thTask.Properties("TaskDescription").GetValue(thTask));
    MessageBox.Show(taskInfo, "Analysis Services Processing Task", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Dim taskInfo As String
    taskInfo = [String].Format("{0}: {1}", _
      thTask.Properties("TaskDisplayName").GetValue(thTask), _
      thTask.Properties("TaskDescription").GetValue(thTask))
    MessageBox.Show(taskInfo, "Analysis Services Processing Task", _
      MessageBoxButtons.OK, MessageBoxIcon.Information)