Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Shipping Namespace / IWarehouseRepository Interface / LoadForName Method
The name of the warehouse to load.
In This Topic
    LoadForName Method (IWarehouseRepository)
    In This Topic
    Loads a warehouse given the name.
    Syntax
    Warehouse LoadForName( 
       string name
    )

    Parameters

    name
    The name of the warehouse to load.

    Return Value

    If found, returns the warehouse instance. Otherwise returns null.
    Remarks
    If more than one matching warehouse is found, only the first match is returned.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also