ASExecuteDDLTask.TaskDisplayName Property
Applies To: SQL Server 2016 Preview
Gets the unique name for the Analysis Services Execute DDL task.
Namespace: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Assembly: Microsoft.SqlServer.ASTasks (in Microsoft.SqlServer.ASTasks.dll)
Syntax
[BrowsableAttribute(false)]
public static string TaskDisplayName { get; }
public:
[BrowsableAttribute(false)]
property String^ TaskDisplayName {
static String^ get();
}
[<BrowsableAttribute(false)>]
static member TaskDisplayName : string with get
<BrowsableAttribute(False)>
Public Shared ReadOnly Property TaskDisplayName As String
Property Value
Type: System.String
The unique name for the Analysis Services Execute DDL task.
Remarks
This is the localizable display name of the task.
Examples
Legacy Code Example
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)
See Also
ASExecuteDDLTask Class
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask Namespace
Return to top