RewriteAliases.

DeleteRewriteRule(ICakeContext, string, string) Method

Summary

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

Syntax

public static bool DeleteRewriteRule(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 rule name.

Return Value

Type Description
bool true if deleted