다음을 통해 공유


TaskDisplayName 속성

Returns the name of the Execute DDL task.

네임스페이스:  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
어셈블리:  Microsoft.SqlServer.ASTasks.dll의 Microsoft.SqlServer.ASTasks

구문

‘선언
<BrowsableAttribute(False)> _
Public Shared ReadOnly Property TaskDisplayName As String
    Get
‘사용 방법
Dim value As String

value = ASExecuteDDLTask.TaskDisplayName
[BrowsableAttribute(false)]
public static string TaskDisplayName { get; }
[BrowsableAttribute(false)]
public:
static property String^ TaskDisplayName {
    String^ get ();
}
[<BrowsableAttribute(false)>]
static member TaskDisplayName : string
static function get TaskDisplayName () : String

속성 값

형식: System. . :: . .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)