WebFarmAliases.

GetServerState(ICakeContext, string, string) Method

Summary

Gets server state in a web farm on local IIS.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
WebFarmAliases

Syntax

public static string GetServerState(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
string state of server