WebFarmAliases.

AddServer(ICakeContext, string, string, WebFarmServerSettings) Method

Summary

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

Syntax

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

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
bool true if added