CustomFields.CheckInCustomFields 方法
签入指定的企业自定义域。
命名空间: WebSvcCustomFields
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CustomFields/CheckInCustomFields", 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 Sub CheckInCustomFields ( _
array As Guid(), _
force As Boolean _
)
用法
Dim instance As CustomFields
Dim array As Guid()
Dim force As Boolean
instance.CheckInCustomFields(array, force)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CustomFields/CheckInCustomFields", 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 void CheckInCustomFields(
Guid[] array,
bool force
)
参数
array
类型:[]自定义域 Guid 的数组。
force
类型:System.Boolean如果true,强制签入。
备注
代码示例,请参阅UpdateCustomFields2。
Project Server 权限
权限 |
说明 |
---|---|
允许用户修改企业自定义域和查阅表格值的定义。全局权限。 |
如果用户没有签出的自定义域, CheckInCustomFields方法还需要管理权限,若要强制签入。