Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / DbHelper Class / StoreSettingExists Method
the sql connection
Name of the store setting to look for
In This Topic
    StoreSettingExists Method
    In This Topic
    Determines if a store settings exists within store settings database table
    Syntax
    public static bool StoreSettingExists( 
       SqlConnection connection,
       string settingFieldName
    )

    Parameters

    connection
    the sql connection
    settingFieldName
    Name of the store setting to look for

    Return Value

    True if the setting exists already, false otherwise.
    Remarks
    This method assumes the table exists.
    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