Admin.QueueADSyncJob 方法

运行与企业资源库的 Active Directory 同步。

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

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/QueueADSyncJob", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub QueueADSyncJob ( _
    jobUid As Guid, _
    erpSync As Boolean, _
    groupSync As Boolean _
)
用法
Dim instance As Admin
Dim jobUid As Guid
Dim erpSync As Boolean
Dim groupSync As Boolean

instance.QueueADSyncJob(jobUid, erpSync, _
    groupSync)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/QueueADSyncJob", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void QueueADSyncJob(
    Guid jobUid,
    bool erpSync,
    bool groupSync
)

参数

  • erpSync
    类型:System.Boolean

    指定是否将企业资源库同步。

备注

Project Server 权限

权限

说明

ManageActiveDirectorySettings

允许用户管理 Active Directory 设置。全局权限。

ManageSiteServices

允许用户管理服务 (如 Active Directory 设置和数据库超时。全局权限。

另请参阅

引用

Admin 类

Admin 成员

WebSvcAdmin 命名空间