Table of Contents

Class WebFarmHelper

Namespace
CMS.Helpers
Assembly
CMS.Helpers.dll

Web farm helper

public static class WebFarmHelper
Inheritance
object
WebFarmHelper

Properties

ServerName

Returns unique identifier of the server

public static string ServerName { get; }

Property Value

string

WebFarmEnabled

Returns true if the web farm is enabled

public static bool WebFarmEnabled { get; }

Property Value

bool

Methods

CreateTask(WebFarmTaskBase)

Creates task.

public static bool CreateTask(WebFarmTaskBase task)

Parameters

task WebFarmTaskBase

Web farm task with its data to be created.

Returns

bool

Returns true if the task was created (web farm is set up and task was allowed)