Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Shipping Namespace / IShipZoneRepository Interface / IsAssociatedToCountry Method
The ship zone ID to test
The country code to test
In This Topic
    IsAssociatedToCountry Method (IShipZoneRepository)
    In This Topic
    Indicates whether a ShipZone to Country association exists in the database
    Syntax
    bool IsAssociatedToCountry( 
       int shipZoneId,
       string countryCode
    )

    Parameters

    shipZoneId
    The ship zone ID to test
    countryCode
    The country code to test

    Return Value

    True if the association exists in the database, false otherwise.
    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