ReadWssData Method
TOC
Collapse the table of content
Expand the table of content

Project.ReadWssData Method (Project)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns the Project Workspace URLs for the active enterprise project as an XML string.

expression .ReadWssData(ProjectGuid)

expression A variable that represents a Project object.

Parameters

Name

Required/Optional

Data Type

Description

ProjectGuid

Required

String

A valid Project GUID.

Return Value

Variant

The following is an example of the XML schema definition.

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:mstns="http://schemas.microsoft.com/office/project/server/webservices/ProjectWSSInfoDataSet/" 
           xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" 
           xmlns="http://schemas.microsoft.com/office/project/server/webservices/ProjectWSSInfoDataSet/" 
           attributeFormDefault="qualified" elementFormDefault="qualified" 
           targetNamespace="http://schemas.microsoft.com/office/project/server/webservices/ProjectWSSInfoDataSet/" 
           id="ProjectWSSInfoDataSet" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="ProjectWSSInfoDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ProjWssInfo">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" 
                          name="WSS_SERVER_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" 
                          minOccurs="0" name="PROJECT_UID" type="xs:string" />
              <xs:element minOccurs="0" name="PROJECT_WORKSPACE_URL" type="xs:string" />
              <xs:element minOccurs="0" name="PROJECT_ISSUES_URL" type="xs:string" />
              <xs:element minOccurs="0" name="PROJECT_RISKS_URL" type="xs:string" />
              <xs:element minOccurs="0" name="PROJECT_DOCUMENTS_URL" type="xs:string" />
              <xs:element minOccurs="0" name="PROJECT_WORKSPACE_NAME" type="xs:string" />
              <xs:element minOccurs="0" name="PROJECT_WORKSPACE_VSERVER_URL" type="xs:string" />
              <xs:element minOccurs="0" name="PROJECT_NAME" type="xs:string" />
              <xs:element minOccurs="0" name="PROJECT_COMMITMENTS_URL" type="xs:string" />
              <xs:element minOccurs="0" name="WSS_PWA_ADMIN_ROLE_ID" type="xs:int" />
              <xs:element minOccurs="0" name="WSS_PWA_PROJECT_MANAGER_ROLE_ID" type="xs:int" />
              <xs:element minOccurs="0" name="WSS_PWA_TEAM_MEMBER_ROLE_ID" type="xs:int" />
              <xs:element minOccurs="0" name="WSS_PWA_READER_ROLE_ID" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique msdata:PrimaryKey="true" name="Constraint1">
      <xs:selector xpath=".//mstns:ProjWssInfo" />
      <xs:field xpath="mstns:WSS_SERVER_UID" />
    </xs:unique>
  </xs:element>
</xs:schema>

Show:
© 2016 Microsoft