Export (0) Print
Expand All

Dws Class

Windows SharePoint Services 3
Exposes methods for managing Document Workspace sites and the data they contain.

Web Service: Document WorkspaceWeb Reference: http://<Site>/_vti_bin/Dws.asmx

[WebServiceBindingAttribute(Name="DwsSoap", Web Service="http://schemas.microsoft.com/sharepoint/soap/dws/")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
public class Dws : SoapHttpClientProtocol

The Document Workspace Web service is used by 2007 Microsoft Office system applications that support the Document Management pane.

The methods exposed by this Web service provide functionality in the following categories:

You must authenticate the user to the server (see Example), before calling the methods of the Document Workspace Web service.

The methods of the Document Workspace Web service operate on any type of SharePoint site, including sites that are not configured as Document Workspace sites. For example, you can use the GetDwsMetaData method to return information about any SharePoint site.

The following code example shows how to initialize a new instance of the Document Workspace Web service and authenticate the user to the server by using the credentials of the current user.

name.Dws dwsWebService = new name.Dws();
dwsWebService.Credentials = 

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

Community Additions

© 2014 Microsoft