Export (0) Print
Expand All

Dws class

Exposes methods for managing Document Workspace sites and the data they contain.

Namespace:  WebSvcDWS
Assembly:  STSSOAP (in STSSOAP.dll)

[WebServiceBindingAttribute(Name = "DwsSoap", Namespace = "http://schemas.microsoft.com/sharepoint/soap/dws/")]
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 = 
    System.Net.CredentialCache.DefaultCredentials;

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

ADD
Show:
© 2014 Microsoft