次の方法で共有


TaskDescription プロパティ

Analysis Services 処理タスクの説明を取得します。

名前空間:  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
Analysis Services 処理タスクの説明です。

使用例

次のコード サンプルは、TaskDisplayName プロパティと TaskDescription プロパティを使用して、DTSProcessingTask についての情報を表示します。

    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)