You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Classes > BusinessRule Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
BusinessRule Class
C#
public class BusinessRule : Ektron.Cms.API.Common;
Visual Basic
Public Class BusinessRule
Inherits Ektron.Cms.API.Common

BusinessRule.vb

Business Rules allow you to define conditions for Web pages on your site. You choose an action based on whether the conditions are true or false when a site visitor browses your site. For example:

  • Condition - a site visitor visits your site for the first time
  • Action - add a cookie to the site visitor’s system and pop up a welcome message
With Business Rules, you do not write code to set conditions and initiate actions. You simply complete the information requested in the Business Rules wizard within the workarea, have your developer add a Business Rules server control to your Web form, and assign the server control the Business Rules Ruleset. 

 

.NET Assemblies BusinessRule API vs. BusinessRules Server Control API

The .NET Assemblies BusinessRule API allows you to work with results of a Business Rule. The BusinessRules server control API allows you to customize how and where a Business Rule is used on a Web page. 

To learn about the BusinessRules server control API, click here.

Name 
Description 
The methods of the BusinessRule class are listed here. 
 
Name 
Description 
 
This is the overview for the GetBusinessRules method overload. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!