共用方式為


Project.GetWinprojURLs 方法 (Project)

將與使用中企業專案相關的各種 URL 傳回為 XML 字串。

語法

expressionGetWinprojURLs

表達 代表 Project 物件的變數。

傳回值

Variant

範例

以下為 XML 結構描述定義的範例。

<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="WinprojURLsDataSet" 
           targetNamespace="http://schemas.microsoft.com/office/project/server/webservices/WinprojURLsDataSet/"
 xmlns:mstns="http://schemas.microsoft.com/office/project/server/webservices/WinprojURLsDataSet/" 
           xmlns="http://schemas.microsoft.com/office/project/server/webservices/WinprojURLsDataSet/"
 xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
 xmlns:NameSpace1="urn:schemas-microsoft-com:xml-msdatasource" attributeFormDefault="qualified"
 elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" Modifier="AutoLayout, AnsiClass, NotPublic, Public" 
                  xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections></Connections>
        <Tables></Tables>
        <Sources></Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="WinprojURLsDataSet" msdata:IsDataSet="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="WinprojURLs">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PROJECT_CENTER_URL" type="xs:string" minOccurs="0" />
              <xs:element name="RESOURCE_CENTER_URL" type="xs:string" minOccurs="0" />
              <xs:element name="PORTFOLIO_ANALYZER_URL" type="xs:string" minOccurs="0" />
              <xs:element name="GLOBAL_ISSUES_URL" type="xs:string" minOccurs="0" />
              <xs:element name="GLOBAL_RISKS_URL" type="xs:string" minOccurs="0" />
              <xs:element name="GLOBAL_DOCUMENTS_URL" type="xs:string" minOccurs="0" />
              <xs:element name="STATUS_REPORTS_URL" type="xs:string" minOccurs="0" />
              <xs:element name="APPROVALS_URL" type="xs:string" minOccurs="0" />
              <xs:element name="TIMESHEETS_URL" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="WinprojURLsDataSet" 
           targetNamespace="http://schemas.microsoft.com/office/project/server/webservices/WinprojURLsDataSet/"
 xmlns:mstns="http://schemas.microsoft.com/office/project/server/webservices/WinprojURLsDataSet/" 
           xmlns="http://schemas.microsoft.com/office/project/server/webservices/WinprojURLsDataSet/"
 xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
 xmlns:NameSpace1="urn:schemas-microsoft-com:xml-msdatasource" attributeFormDefault="qualified"
 elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" Modifier="AutoLayout, AnsiClass, NotPublic, Public" 
                  xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections></Connections>
        <Tables></Tables>
        <Sources></Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="WinprojURLsDataSet" msdata:IsDataSet="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="WinprojURLs">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PROJECT_CENTER_URL" type="xs:string" minOccurs="0" />
              <xs:element name="RESOURCE_CENTER_URL" type="xs:string" minOccurs="0" />
              <xs:element name="PORTFOLIO_ANALYZER_URL" type="xs:string" minOccurs="0" />
              <xs:element name="GLOBAL_ISSUES_URL" type="xs:string" minOccurs="0" />
              <xs:element name="GLOBAL_RISKS_URL" type="xs:string" minOccurs="0" />
              <xs:element name="GLOBAL_DOCUMENTS_URL" type="xs:string" minOccurs="0" />
              <xs:element name="STATUS_REPORTS_URL" type="xs:string" minOccurs="0" />
              <xs:element name="APPROVALS_URL" type="xs:string" minOccurs="0" />
              <xs:element name="TIMESHEETS_URL" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應