Project.ReadWssData method (Project)
Returns the Project Workspace URLs for the active enterprise project as an XML string.
Syntax
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
Example
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="https://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>
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.