Project.ReadProjectSyncSettings 方法

检索一组项目或 SharePoint 任务列表同步的同步数据。

命名空间:  WebSvcProject
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectSyncSettings", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadProjectSyncSettings ( _
    syncEntityUids As Guid(), _
    syncEntityUidType As SyncEntityUidType, _
    includeMappingData As Boolean _
) As SyncDataSet
用法
Dim instance As Project
Dim syncEntityUids As Guid()
Dim syncEntityUidType As SyncEntityUidType
Dim includeMappingData As Boolean
Dim returnValue As SyncDataSet

returnValue = instance.ReadProjectSyncSettings(syncEntityUids, _
    syncEntityUidType, includeMappingData)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectSyncSettings", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public SyncDataSet ReadProjectSyncSettings(
    Guid[] syncEntityUids,
    SyncEntityUidType syncEntityUidType,
    bool includeMappingData
)

参数

  • syncEntityUids
    类型:[]

    项目或已同步的 SharePoint 任务列表的 Guid。

  • includeMappingData
    类型:System.Boolean

    指定是否包含同步映射数据。

返回值

类型:WebSvcProject.SyncDataSet
包含每个已同步的项目或 SharePoint 任务列表同步设置。

备注

这是Project Server 2013中的新方法。ReadProjectSyncSettings方法所要求的项目或 SharePoint 任务列表所指定的syncEntityUids以前的CreateWssListSyncedProject方法或SyncProjectWithWss方法同步已。包括ReadProjectSyncSettings方法的代码示例请请参阅UpdateProjectSyncSettings

Project Server 权限

权限

说明

PublishProject

允许用户将项目发布到项目服务器已发布的数据库。

另请参阅

引用

Project 类

Project 成员

WebSvcProject 命名空间