Compartir a través de


TaskDescription Propiedad

Returns a description of the Analysis Services Execute DDL task.

Espacio de nombres:  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Ensamblado:  Microsoft.SqlServer.ASTasks (en Microsoft.SqlServer.ASTasks.dll)

Sintaxis

'Declaración
<BrowsableAttribute(False)> _
Public Shared ReadOnly Property TaskDescription As String
    Get
'Uso
Dim value As String

value = ASExecuteDDLTask.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

Valor de la propiedad

Tipo: System. . :: . .String
The description of the Analysis Services Execute DDL task.

Ejemplos

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)