WebFarmAliases.

SetServerUnavailable(ICakeContext, string, string, string) Method

Summary

Sets server to unavailable immediately in a web farm on remote IIS.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
WebFarmAliases

Syntax

public static void SetServerUnavailable(this ICakeContext context, string server, string farm, string address)

Attributes

Type Description
CakeMethodAliasAttribute
ObsoleteAttribute

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
void