Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Exchange
Service Class
Service Methods
DeleteRule Method
DeleteRule Method (IList(String))
DeleteRule Method (String)
DeleteRule Method (IList(String), Boolean)
DeleteRule Method (IList(String), String)
DeleteRule Method (String, Boolean)
DeleteRule Method (String, String)
DeleteRule Method (IList(String), String, Boolean)
DeleteRule Method (String, String, Boolean)

# Service DeleteRule Method (String, String)

Deletes the rule.

Namespace: Independentsoft.Exchange
Assembly: Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
C#
VB
Copy

    public RuleOperationResponse DeleteRule(
    	string ruleId,
    	string smtpEmailAddress
    )

    Public Function DeleteRule (
    	ruleId As String,
    	smtpEmailAddress As String
    ) As RuleOperationResponse

#### Parameters

ruleId
  Type: System
  String
  The rule identifier.
smtpEmailAddress
  Type: System
  String
  The SMTP email address.

#### Return Value

Type: RuleOperationResponse
RuleOperationResponse.
See Also

#### Reference

Service Class
DeleteRule Overload
Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de