WebFarmAliases.

ServerExists(ICakeContext, string, string) Method

Summary

Checks if server exists in a web farm on local IIS.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
WebFarmAliases

Syntax

public static bool ServerExists(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 removed