RewriteAliases.

RuleExists(ICakeContext, string, string) Method

Summary

Checks if rule exists on remote IIS.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
RewriteAliases

Syntax

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

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
server string The remote IIS server name.
name string The rewrite rule name.

Return Value

Type Description
bool true if exists