WebFarmAliases.

AddServer(ICakeContext, string, string) 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, string address)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
bool true if added