ASExecuteDDLTask.TaskDescription 属性

定义

获得分析服务执行DDL任务的描述。

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

属性值

分析服务执行DDL任务的描述。

属性

示例

以下代码示例通过使用TaskDisplayNameTaskDescription属性展示有关该ASExecuteDDLTask信息。

string taskInfo;  
taskInfo = String.Format("{0}: {1}", thTask.Properties("TaskDisplayName").GetValue(thTask), thTask.Properties("TaskDescription").GetValue(thTask));  
MessageBox.Show(taskInfo, "Analysis Services Execute DDL 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 Execute DDL Task", _  
  MessageBoxButtons.OK, MessageBoxIcon.Information)  

适用于