Security.SetCategories 方法
命名空间: WebSvcSecurity
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/SetCategories", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub SetCategories ( _
categories As SecurityCategoriesDataSet _
)
用法
Dim instance As Security
Dim categories As SecurityCategoriesDataSet
instance.SetCategories(categories)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/SetCategories", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void SetCategories(
SecurityCategoriesDataSet categories
)
参数
categories
类型:WebSvcSecurity.SecurityCategoriesDataSet包含一个或多个安全类别的更新数据。
备注
Project Server 权限
权限 |
说明 |
---|---|
允许用户管理 Project Server 安全性。全局权限。 |