You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Classes > BusinessRule Class > BusinessRule Methods > GetBusinessRules Method > GetBusinessRules
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
BusinessRule.GetBusinessRules Method (String, String, String, String, String, String, String, String)

Method to get the results from a business rule by identifier. Accepts environmental parameters such as HTTPHost, URLString, Cookies, forms, etc. Returns a string representing the output of the evaluated ruleset. Identifier is a combination of the path/page/uniqueID of the business rules control.

C#
public String GetBusinessRules(String httpHost, String urlRest, String cookies, String formValues, String queryValues, String serverValues, String paramValues, String sRuleID);
Visual Basic
Public Function GetBusinessRules(ByVal httpHost As String, ByVal urlRest As String, ByVal cookies As String, ByVal formValues As String, ByVal queryValues As String, ByVal serverValues As String, ByVal paramValues As String, ByVal sRuleID As String) As String
Parameters 
Description 
httpHost 
The HTTP host the request is made on. 
urlRest 
not used 
cookies 
Cookie Value Collection 
formValues 
Form Value Collection 
queryValues 
Querystring Value Collection 
serverValues 
Server Variables Collection 
paramValues 
Custom Value Collection 
sRuleID 
String representing the identifier of the Ruleset. The identifier is a combination of the path/page/uniqueID of the business rules control. 

A string representing the output of the evaluated ruleset.

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!