コード例 #1
0
 /// <summary>
 /// Copies the content of a space into another.
 /// TODO make enum for options and mode.
 /// </summary>
 /// <param name="sourceSpace">The source space to copy from.</param>
 /// <param name="targetSpace">The target space to copy to.</param>
 /// <param name="mode">Mode is either:
 /// copy: Items in from_SpaceID are copied to to_SpaceID.
 /// replicate: Makes the items in targetSpace the same as in sourceSpace, copying and deleting as necessary. Replicate is more commonly used than copy.
 ///
 /// Mode is case-sensitive, lowercase "copy" and "replicate".
 /// </param>
 /// <param name="options">
 /// See https://login.bws.birst.com/Help/Full/t_admin/systemops/administrative_commands.htm#copyspace
 /// </param>
 public string CopySpace(string sourceSpace, string targetSpace, string mode, string options)
 {
     return(_webService.copySpace(LoginToken, sourceSpace, targetSpace, mode, options));
 }