Security.SetTemplates 方法
命名空間: WebSvcSecurity
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/SetTemplates", 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 SetTemplates ( _
templates As SecurityTemplatesDataSet _
)
'用途
Dim instance As Security
Dim templates As SecurityTemplatesDataSet
instance.SetTemplates(templates)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/SetTemplates", 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 SetTemplates(
SecurityTemplatesDataSet templates
)
參數
templates
類型:WebSvcSecurity.SecurityTemplatesDataSet會包含一或多個安全性範本的更新資料。
備註
Project Server 權限
權限 |
描述 |
---|---|
可讓使用者管理 Project Server 安全性。通用權限。 |