共用方式為


ASExecuteDDLTask.TaskDescription Property

Returns a description of the Analysis Services Execute DDL task.

命名空間: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
組件: Microsoft.SqlServer.ASTasks (in microsoft.sqlserver.astasks.dll)

語法

'宣告
<BrowsableAttribute(False)> _
Public Shared ReadOnly Property TaskDescription As String
[BrowsableAttribute(false)] 
public static string TaskDescription { get; }
[BrowsableAttribute(false)] 
public:
static property String^ TaskDescription {
    String^ get ();
}
/** @property */
public static String get_TaskDescription ()
public static function get TaskDescription () : String

屬性值

The description of the Analysis Services Execute DDL task.

範例

The following code sample displays information about the ASExecuteDDLTask 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 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)

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ASExecuteDDLTask Class
ASExecuteDDLTask Members
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask Namespace