Partager via


LookupTable.ReadLookupTablesMultiLang Method

Gets multilanguage custom field lookup tables and corresponding code masks.

Namespace:  [LookupTable Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/LookupTable.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/LookupTable.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/LookupTable/ReadLookupTablesMultiLang", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/LookupTable/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/LookupTable/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadLookupTablesMultiLang ( _
    xmlFilter As String, _
    autoCheckOut As Boolean _
) As LookupTableMultiLangDataSet
'Usage
Dim instance As LookupTable
Dim xmlFilter As String
Dim autoCheckOut As Boolean
Dim returnValue As LookupTableMultiLangDataSet

returnValue = instance.ReadLookupTablesMultiLang(xmlFilter, _
    autoCheckOut)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/LookupTable/ReadLookupTablesMultiLang", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/LookupTable/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/LookupTable/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public LookupTableMultiLangDataSet ReadLookupTablesMultiLang(
    string xmlFilter,
    bool autoCheckOut
)

Parameters

  • xmlFilter
    Type: System.String
    XML filter to read specific data.
  • autoCheckOut
    Type: System.Boolean
    If true, check out for making changes.

Return Value

Type: [LookupTable Web service].LookupTableMultiLangDataSet

Remarks

The primary DataTable in a LookupTableMultiLangDataSet is the LookupTablesDataTable.

Note

The xmlFilter parameter works with the Criteria operators to filter rows only in the primary LookupTablesDataTable. For example, you cannot use filter with the ReadLookupTables method to filter rows in the LookupTableLanguagesDataTable. If you try to filter rows in a secondary DataTable, the PSI returns a FilterInvalid exception.

However, you can use the Fields.Add method to filter columns in the primary LookupTablesDataTable and the in secondary LookupTableLanguagesDataTable, LookupTableMaskStructuresDataTable, LookupTableMaskValuesDataTable, LookupTableStructuresDataTable, or LookupTableValuesDataTable.

For more information about the xmlFilter parameter, see How to: Use a Filter Parameter with PSI Methods.

Project Server Permissions

Permission

Description

LogOnToProjectServerFromProjectProfessional

Allows a user to connect to the Project Server database from Project Professional. Global permission.

ManageEnterpriseCustomFields

Allows the user to modify the definitions of Enterprise custom fields and lookup table values. Global permission.

See Also

Reference

LookupTable Class

LookupTable Members

LookupTable Web Service

Other Resources

How to: Use a Filter Parameter with PSI Methods