LookupTableDataSet.LookupTablesRow.LT_CHECKOUTBY Property

Specifies the unique identifier of the user who has the lookup table checked out for modification.

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


Public Property LT_CHECKOUTBY As Guid
Dim instance As LookupTableDataSet.LookupTablesRow
Dim value As Guid

value = instance.LT_CHECKOUTBY

instance.LT_CHECKOUTBY = value
public Guid LT_CHECKOUTBY { get; set; }

Property Value

Type: System.Guid


Opening a lookup table in the Edit Lookup Table page of Project Web Access results in the lookup table being checked out.

Suppose lut is a LookupTableWS.LookupTableDataSet object which contains one lookup table (LookupTableWS is the name for a reference to the LookupTable Web service). The name of the lookup table is Location.

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


If the lut.LookupTables[0].LT_CHECKOUTBY value is a null reference (Nothing in Visual Basic), the XML file does not contain the LT_CHECKOUTBY child element.

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


The IsLutCheckedOut method shows a message box and returns false if the lookup table is not checked out. LookupTableWS is an arbitrary name for a reference to the LookupTable Web service, and lookupTable is an initialized LookupTableWS.LookupTable object.

private bool IsLutCheckedOut(Guid lutUid)
    bool isCheckedOut = true;
    Guid[] lutUids = { lutUid };

    LookupTableWS.LookupTableDataSet lut = 
        lookupTable.ReadLookupTablesByUids(lutUids, false, 1033);
    if (lut.LookupTables[0].IsLT_CHECKOUTBYNull())
        MessageBox.Show("Lookup table " + lut.LookupTables[0].LT_NAME 
            + " is not checked out.");
        isCheckedOut = false;
    return isCheckedOut;

See Also


LookupTableDataSet.LookupTablesRow Class

LookupTableDataSet.LookupTablesRow Members

WebSvcLookupTable Namespace