ASExecuteDDLTask.TaskDisplayName Property

Returns the name of the Execute DDL task.

命名空间: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
程序集: Microsoft.SqlServer.ASTasks (in microsoft.sqlserver.astasks.dll)

语法

声明
<BrowsableAttribute(False)> _
Public Shared ReadOnly Property TaskDisplayName As String
[BrowsableAttribute(false)] 
public static string TaskDisplayName { get; }
[BrowsableAttribute(false)] 
public:
static property String^ TaskDisplayName {
    String^ get ();
}
/** @property */
public static String get_TaskDisplayName ()
public static function get TaskDisplayName () : String

属性值

The name of the task.

备注

This is the localizable display name of the 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