BuildDropProvider.CopyDirectory Method (String, String, array<String )
Recursively copies the contents of one directory into another and renames items in the existing list if they already exist on the server
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public MustOverride Function CopyDirectory ( _
sourceDirectory As String, _
targetDirectory As String, _
renameIfExists As String() _
) As String()
public abstract string[] CopyDirectory(
string sourceDirectory,
string targetDirectory,
string[] renameIfExists
)
public:
virtual array<String^>^ CopyDirectory(
String^ sourceDirectory,
String^ targetDirectory,
array<String^>^ renameIfExists
) abstract
abstract CopyDirectory :
sourceDirectory:string *
targetDirectory:string *
renameIfExists:string[] -> string[]
public abstract function CopyDirectory(
sourceDirectory : String,
targetDirectory : String,
renameIfExists : String[]
) : String[]
Parameters
sourceDirectory
Type: System.StringThe source directory of the copy operation
targetDirectory
Type: System.StringThe target directory of the copy operation
renameIfExists
Type: array<System.String[]The list of local items that must be renamed in case they already exist on the server
Return Value
Type: array<System.String[]
The list of (possibly) renamed local items
.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