Esri Business Analyst Server API for Silverlight 2.2 Reference
CopyProjectTask Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Client.BAServer.Tasks.Repository Namespace : CopyProjectTask Class

Glossary Item Box

The Copy Project task creates a copy of a project under another name.

Object Model

CopyProjectTask ClassAbstractClient ClassITokenProvider Interface

Syntax

Remarks

If the source project is absent, this task returns an error. If the target project already exists, this task has no effect.

The result of this task is true if the project was successfully copied.

Example

The code snippet below executes a Copy Project task.
C#Copy Code
// workspaceName is a repository workspace name.
// projectName is a source project name.
// newProjectName is a target project name.
            
copyProjectTask.ExecuteAsync(workspaceName, projectName, newProjectName, new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.AbstractTask
      ESRI.ArcGIS.Client.BACore.Client.BATask<TResult,TEventArgs>
         ESRI.ArcGIS.Client.BAServer.Tasks.BAServerTask<TResult>
            ESRI.ArcGIS.Client.BAServer.Tasks.Repository.CopyProjectTask

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 Esri, Inc. All Rights Reserved.