SiteAliases.

SiteExists(ICakeContext, string, string) Method

Summary

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

Syntax

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