Class ServerBasedProjectOperations
Inheritance
Object
ServerBasedProjectOperations
Implements
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.ProjectAutomation.FileBased.ServerOperations
Assembly: Sdl.ProjectAutomation.FileBased.dll
Syntax
public class ServerBasedProjectOperations : IServerBasedProjectOperations
Constructors
ServerBasedProjectOperations(FileBasedProject)
Declaration
public ServerBasedProjectOperations(FileBasedProject fileBasedProject)
Parameters
Type | Name | Description |
---|---|---|
FileBasedProject | fileBasedProject |
Methods
UploadAndCheckinFiles(Guid[], String, EventHandler<ProgressEventArgs>)
Uploads the specifies including potentially related files that should be uploaded at the same time and checks them in.
Declaration
public int UploadAndCheckinFiles(Guid[] projectFileIds, string comment, EventHandler<ProgressEventArgs> progressEventHandler)
Parameters
Type | Name | Description |
---|---|---|
Guid[] | projectFileIds | The newly added files to upload and check-in. |
String | comment | A comment for the checkin. |
EventHandler<ProgressEventArgs> | progressEventHandler | Progress event handler. |
Returns
Type | Description |
---|---|
Int32 | no of files successfully uploaded and checked-in |
Remarks
The method is to be used for newly added files only When passing in a locally added target language file, the corresponding source file is checked in and also all the related new target language files; but no other existing modified target language files. When passing in a locally added source file, the source file and all corresponding target languages files are uploaded and checked in.