CustomFields.ReadCustomFieldsByEntity2 method
取得所有的企業自訂欄位指定的實體 (專案、 資源或工作),公式,是在程式語言相依格式。
Namespace: WebSvcCustomFields
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CustomFields/ReadCustomFieldsByEntity2", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadCustomFieldsByEntity2 ( _
entityUid As Guid _
) As CustomFieldDataSet
'用途
Dim instance As CustomFields
Dim entityUid As Guid
Dim returnValue As CustomFieldDataSet
returnValue = instance.ReadCustomFieldsByEntity2(entityUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CustomFields/ReadCustomFieldsByEntity2", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public CustomFieldDataSet ReadCustomFieldsByEntity2(
Guid entityUid
)
參數
entityUid
Type: System.Guid自訂欄位的專案、 資源或任務實體的 GUID。
傳回值
Type: WebSvcCustomFields.CustomFieldDataSet
備註
A new method in Project Server 2010. If a custom field or graphical indicator is calculated by a formula, the ReadCustomFieldsByEntity2 method converts formulas in the returned CustomFieldDataSet to a format that depends on the locale specified in the Regional and Language Options control panel of the computer running Project Server. By comparison, the ReadCustomFieldsByEntity method returns a CustomFieldDataSet where formulas are independent of locale.
Project Server Permissions
權限 |
說明 |
---|---|
Non-standard |
You must have either the ManageWorkflow global permission or the ChangeWorkflow global permission. If you have ChangeWorkflow permission, you must also have both the OpenProject category permission and the SaveProject category permission. |
Allows a user to connect to the Project Server database from Project Professional. Global permission. |
|
Allows a user to create portfolio analyses. Global permission. |
|
Allows a user to modify the definitions of enterprise custom fields and lookup table values. Global permission. |
|
Allows a user to manage Project Server users and groups. Global permission. |
|
Allows a user to create a project. Global permission. |
|
Allows a user to view resource allocation data. Global permission. |
|
Allows the user to manage workflows. Global permission. |
|