共用方式為


WssInterop.ReadWssData 方法

取得指定的專案project site的 SharePoint 網站的相關資訊。

命名空間:  WebSvcWssInterop
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/ReadWssData", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadWssData ( _
    projectUID As Guid _
) As ProjectWSSInfoDataSet
'用途
Dim instance As WssInterop
Dim projectUID As Guid
Dim returnValue As ProjectWSSInfoDataSet

returnValue = instance.ReadWssData(projectUID)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/ReadWssData", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ProjectWSSInfoDataSet ReadWssData(
    Guid projectUID
)

參數

傳回值

類型:WebSvcWssInterop.ProjectWSSInfoDataSet
ProjectWSSInfoDataSet提供專案和專案網站的資訊。

備註

ProjectWSSInfoDataSet包含PROJ_UID、 PROJ_NAME、 WSTS_SERVER_UID及WPROJ_STS_SUBWEB_NAME欄位。如果project site不是空白的其他資訊包含Project Web App系統管理員角色識別碼、 專案經理角色識別碼、 使用者角色識別碼、 Url project site及議題、 風險、 交付項目及檢視的清單。

Project Server 權限

其中一個下列權限,則需要。

權限

描述

LogOn

允許使用者登入 Project Server。通用權限。

ManageWindowsSharePointServices

可讓使用者管理project site網站。通用權限。

請參閱

參照

WssInterop 類別

WssInterop 成員

WebSvcWssInterop 命名空間