WebFarmAliases.

ServerExists(ICakeContext, string, string, string) Method

Summary

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

Syntax

public static bool ServerExists(this ICakeContext context, string server, string farm, string address)

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.
address string The server address.

Return Value

Type Description
bool true if removed