Microsoft.Protocols.TestSuites.MS_COPYS.MS_COPYSAdapter.CopyIntoItemsLocal C# (CSharp) Method

CopyIntoItemsLocal() public method

A method is used to copy a file when the destination of the operation is on the same protocol server as the source location.
public CopyIntoItemsLocal ( string sourceUrl, string destinationUrls ) : CopyIntoItemsLocalResponse
sourceUrl string A parameter represents the location of the file in the source location.
destinationUrls string A parameter represents a collection of destination location. The operation will try to copy files to that locations.
return CopyIntoItemsLocalResponse
        public CopyIntoItemsLocalResponse CopyIntoItemsLocal(string sourceUrl, string[] destinationUrls)
        {
            CopyIntoItemsLocalResponse copyIntoItemsLocalResponse;
            uint copyIntoItemsLocalResult;
            CopyResult[] results;

            try
            {
                copyIntoItemsLocalResult = this.copySoapService.CopyIntoItemsLocal(sourceUrl, destinationUrls, out results);
                copyIntoItemsLocalResponse = new CopyIntoItemsLocalResponse(copyIntoItemsLocalResult, results);
            }
            catch (SoapException)
            {
                throw;
            }

            this.VerifyCopyIntoItemsLocalOperationCapture(copyIntoItemsLocalResponse, destinationUrls);
            return copyIntoItemsLocalResponse;
        }