RewriteAliases.

DeleteRewriteRule(ICakeContext, string) Method

Summary

Deletes a rewrite rule from local IIS.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
RewriteAliases

Syntax

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

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
bool true if deleted