Class ServerBasedProjectOperations
Inheritance
System.Object
ServerBasedProjectOperations
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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 |
---|---|---|
System.Guid[] | projectFileIds | The newly added files to upload and check-in. |
System.String | comment | A comment for the checkin. |
System.EventHandler<ProgressEventArgs> | progressEventHandler | Progress event handler. |
Returns
Type | Description |
---|---|
System.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.