WebFarmAliases.

AddServer(ICakeContext, string, WebFarmServerSettings) Method

Summary

Add a server to a web farm on local IIS.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
WebFarmAliases

Syntax

public static bool AddServer(this ICakeContext context, string farm, WebFarmServerSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
farm string The web farm name.
settings WebFarmServerSettings The server settings.

Return Value

Type Description
bool true if added