Execute Method
See Also 
SourceCode.DeploymentTasks Namespace > Task Class : Execute Method



Glossary Item Box

Executes a task.

Syntax

Visual Basic (Declaration) 
Public MustOverride Function Execute() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Task
Dim value As Boolean
 
value = instance.Execute()
C# 
public abstract bool Execute()
C++/CLI 
public:
abstract bool Execute(); 

Return Value

true if the task executed successfully; otherwise, false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also