SiteAliases.

SiteExists(ICakeContext, string) Method

Summary

Checks if site exists on local IIS.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
SiteAliases

Syntax

public static bool SiteExists(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 exists