Share via


LookupTableDataSet.LookupTablesRow.MOD_DATE property

Gets or sets the most recent modification date of the lookup table.

Namespace:  WebSvcLookupTable
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
Public Property MOD_DATE As DateTime
    Get
    Set
'Usage
Dim instance As LookupTableDataSet.LookupTablesRow
Dim value As DateTime

value = instance.MOD_DATE

instance.MOD_DATE = value
public DateTime MOD_DATE { get; set; }

Property value

Type: System.DateTime
True if the property is null; otherwise, False.

Remarks

To help understand the MOD_DATE property, suppose lut is a LookupTableWS.LookupTableDataSet object that contains one lookup table (LookupTableWS is the name for a reference to the LookupTable Web service). The name of the lookup table is "Location", and the lookup table is not checked out.

If you serialize lut to an XML file, the LookupTables element has the following values.

<LookupTables>
    <LT_UID>5ee9b465-489c-4083-bb26-0694918103f6</LT_UID>
    <LT_NAME>Location</LT_NAME>
    <LT_SORT_ORDER_ENUM>1</LT_SORT_ORDER_ENUM>
    <LT_PRIMARY_LCID>1033</LT_PRIMARY_LCID>
    <LT_FILL_ALL_LEVELS>false</LT_FILL_ALL_LEVELS>
    <LT_CHECKOUTDATE>2011-08-28T10:19:47.72-07:00</LT_CHECKOUTDATE>
    <MOD_DATE>2011-08-28T10:19:00.59-07:00</MOD_DATE>
</LookupTables>

The local System.DateTime value of lut.LookupTables[0].MOD_DATE is 8/28/2011 10:19:47 AM. The local time is seven hours earlier than Greenwich Mean Time.

For more information and examples, see Walkthrough: Creating a Hierarchical Lookup Table.

See also

Reference

LookupTableDataSet.LookupTablesRow class

LookupTableDataSet.LookupTablesRow members

WebSvcLookupTable namespace