
If the project to delete is absent, this task returns an error. Additionally, if the "Default Project" is deleted, all of its contents (folder items, etc.) will be deleted and this project will be recreated on the next full reload.
The result of this task is always the true value.
C# | ![]() |
---|---|
// workspaceName is a repository workspace name. // projectName is a name of project to be deleted. deleteProjectTask.ExecuteAsync(workspaceName, projectName, new AsyncResponder(resultHandler, faultHandler)); |
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.DeleteProjectTask
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