DTSProcessingTask.TaskDescription Property

Definition

获取 Analysis Services 处理任务的说明。Gets the description of the Analysis Services Processing task.

public:
 static property System::String ^ TaskDescription { System::String ^ get(); };
[System.ComponentModel.Browsable(false)]
public static string TaskDescription { get; }
member this.TaskDescription : string
Public Shared ReadOnly Property TaskDescription As String

Property Value

String

Analysis Services 处理任务的说明。The description of the Analysis Services Processing task.

Attributes

Examples

下面的代码示例 DTSProcessingTask 使用和属性显示有关的信息 TaskDisplayName TaskDescriptionThe 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)  

Applies to