Interface IProjectDeleteOperation
Represents a project operation. Provides access to project information and settings, and provides functionality for deleting the project etc.
Namespace: SdlSdl.ProjectAutomationCore
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public interface IProjectDeleteOperation
Methods
Delete()
Deletes this project from the server.
Declaration
void Delete()
DeleteFilesAndDependencies(string)
Delete all project files with the specified name and all their dependencies from the project. This will delete all source and target language versions of the file and all their associated files, including auxiliary files and bilinugal reference files.
If any of the files to be deleted are locked or part of a current update exceptions will be thrown and none of the files are deleted.
Declaration
void DeleteFilesAndDependencies(string fileNameInProject)
Parameters
Type | Name | Description |
---|---|---|
string | fileNameInProject | The original filename with path from the root folder in the project |
DeleteFromServer()
Deletes the project from the server
Declaration
void DeleteFromServer()