Esri Business Analyst Server API for Silverlight 2.2 Reference
ExecuteAsync(String,String,String,Object,String) Method
See Also  Send Feedback
ESRI.ArcGIS.Client.BAServer.Tasks.Repository Namespace > CopyProjectTask Class > ExecuteAsync Method : ExecuteAsync(String,String,String,Object,String) Method

workspaceName
Workspace name.
projectName
Project name.
newProjectName
New project name.
userState
A user-defined object that is passed to the method invoked when the asynchronous operation completes or fails.
destinationWorkspaceName
A name of destination workspace (available with Business Analyst Server 10.0 SP2). If this name is null or empty, the destination workspace will be the source workspace.

Glossary Item Box

Asynchronous executes a Copy Project task.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

workspaceName
Workspace name.
projectName
Project name.
newProjectName
New project name.
userState
A user-defined object that is passed to the method invoked when the asynchronous operation completes or fails.
destinationWorkspaceName
A name of destination workspace (available with Business Analyst Server 10.0 SP2). If this name is null or empty, the destination workspace will be the source workspace.

Remarks

A response can be received in two ways—using ESRI.ArcGIS.Client.BACore.Client.IResponder interfaces passed as the userState object and/or using listeners of the ExecuteCompleted and Failed events registered for this task.

The ESRI.ArcGIS.Client.BACore.Client.IResponder, if specified, is notified first. After that the received event is dispatched for listeners of this task. If a response is succesfully received, the result is assigned to the LastResult property of this task.

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.