This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.IIS.
Summary
Checks if rule exists on remote IIS.
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 |