LookupTableDataSet.LookupTablesDataTable.AddLookupTablesRow Method (Guid, String, Byte, Int32, Boolean, Guid, DateTime, DateTime)
Adds a new LookupTablesRow to the LookupTablesDataTable by using the specified parameters.
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
Public Function AddLookupTablesRow ( _
LT_UID As Guid, _
LT_NAME As String, _
LT_SORT_ORDER_ENUM As Byte, _
LT_PRIMARY_LCID As Integer, _
LT_FILL_ALL_LEVELS As Boolean, _
LT_CHECKOUTBY As Guid, _
LT_CHECKOUTDATE As DateTime, _
MOD_DATE As DateTime _
) As LookupTableDataSet.LookupTablesRow
'Usage
Dim instance As LookupTableDataSet.LookupTablesDataTable
Dim LT_UID As Guid
Dim LT_NAME As String
Dim LT_SORT_ORDER_ENUM As Byte
Dim LT_PRIMARY_LCID As Integer
Dim LT_FILL_ALL_LEVELS As Boolean
Dim LT_CHECKOUTBY As Guid
Dim LT_CHECKOUTDATE As DateTime
Dim MOD_DATE As DateTime
Dim returnValue As LookupTableDataSet.LookupTablesRow
returnValue = instance.AddLookupTablesRow(LT_UID, _
LT_NAME, LT_SORT_ORDER_ENUM, LT_PRIMARY_LCID, _
LT_FILL_ALL_LEVELS, LT_CHECKOUTBY, _
LT_CHECKOUTDATE, MOD_DATE)
public LookupTableDataSet.LookupTablesRow AddLookupTablesRow(
Guid LT_UID,
string LT_NAME,
byte LT_SORT_ORDER_ENUM,
int LT_PRIMARY_LCID,
bool LT_FILL_ALL_LEVELS,
Guid LT_CHECKOUTBY,
DateTime LT_CHECKOUTDATE,
DateTime MOD_DATE
)
Parameters
- LT_UID
Type: System.Guid
The unique identifier of the lookup table.
- LT_NAME
Type: System.String
The name of the lookup table.
- LT_SORT_ORDER_ENUM
Type: System.Byte
The sort order of the lookup table, specified by the LookupTables.SortOrder enumeration.
- LT_PRIMARY_LCID
Type: System.Int32
The primary locale identifier for the lookup table.
- LT_FILL_ALL_LEVELS
Type: System.Boolean
Indicates whether all levels of a hierarchical lookup table must have a value.
- LT_CHECKOUTBY
Type: System.Guid
The user who checked out the lookup table for editing.
- LT_CHECKOUTDATE
Type: System.DateTime
The date and time when the lookup table was checked out for editing.
- MOD_DATE
Type: System.DateTime
The date and time of the most recent modification.
Return Value
Type: [LookupTable Web service].LookupTableDataSet.LookupTablesRow
See Also
Reference
LookupTableDataSet.LookupTablesDataTable Class