SiteAliases.

RestartSite(ICakeContext, string) Method

Summary

Restarts site on local IIS.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
SiteAliases

Syntax

public static bool RestartSite(this ICakeContext context, string name)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
name string The site name.

Return Value

Type Description
bool true if restarted