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

# Service CreateRule Method (Rule, Boolean)

Creates an inbox rule.

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

    public RuleOperationResponse CreateRule(
    	Rule rule,
    	bool removeOutlookRuleBlob
    )

    Public Function CreateRule (
    	rule As Rule,
    	removeOutlookRuleBlob As Boolean
    ) As RuleOperationResponse

#### Parameters

rule
  Type: Independentsoft.Exchange
  Rule
  The rule.
removeOutlookRuleBlob
  Type: System
  Boolean
  if set to true [remove outlook rule BLOB].

#### Return Value

Type: RuleOperationResponse
RuleOperationResponse.
See Also

#### Reference

Service Class
CreateRule Overload
Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de