SiteAliases.

RestartSite(ICakeContext, string, string) Method

Summary

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

Syntax

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

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
bool true if restarted