Copy Class (Copy)
Provides methods for copying files between SharePoint sites or within a SharePoint site.

Web Service: CopyWeb Reference: http://<Site>/_vti_bin/Copy.asmx
Syntax

Visual Basic (Declaration)
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DebuggerStepThroughAttribute> _
<DesignerCategoryAttribute("code")> _
<WebServiceBindingAttribute(Name:="CopySoap", Web Service:="http://schemas.microsoft.com/sharepoint/soap/")> _
Public Class Copy
    Inherits SoapHttpClientProtocol
Visual Basic (Usage)
Dim instance As Copy
C#
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DebuggerStepThroughAttribute] 
[DesignerCategoryAttribute("code")] 
[WebServiceBindingAttribute(Name="CopySoap", Web Service="http://schemas.microsoft.com/sharepoint/soap/")] 
public class Copy : SoapHttpClientProtocol
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Web.Services.Protocols.WebClientProtocol
         System.Web.Services.Protocols.HttpWebClientProtocol
           System.Web.Services.Protocols.SoapHttpClientProtocol
            Copy.Copy
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Tags :


Community Content

davidklein
Copy.asmx service can also be used to upload files not currently held in SharePoint
See http://ddkonline.blogspot.com/2008/01/uploading-files-to-moss-2007-via.html
Tags :

Page view tracker