Recursively copies the contents of one directory into another.
Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public MustOverride Sub CopyDirectory ( _
    sourceDirectory As String, _
    targetDirectory As String _
)
public abstract void CopyDirectory(
    string sourceDirectory,
    string targetDirectory
)
public:
virtual void CopyDirectory(
    String^ sourceDirectory, 
    String^ targetDirectory
) abstract
abstract CopyDirectory : 
        sourceDirectory:string * 
        targetDirectory:string -> unit
public abstract function CopyDirectory(
    sourceDirectory : String, 
    targetDirectory : String
)
Parameters
- sourceDirectory 
 Type: System.String- The source directory of the copy operation 
- targetDirectory 
 Type: System.String- The target directory of the copy operation 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace