_Rules.Save(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves all rules in the Rules collection.
public void Save (object ShowProgress);
Public Sub Save (Optional ShowProgress As Object)
Parameters
- ShowProgress
- Object
True to display the progress dialog box, False to save rules without showing the progress.
Remarks
After you enable a rule, you must also save the rule by using Rules.Save so that the rule and its enabled state will persist beyond the current session. A rule is only enabled after it has been saved successfully.
Rules.Save can be an expensive operation in terms of performance on slow connections to Exchange server. For more information on using the progress dialog box, see Managing Rules in the Outlook Object Model
Saving rules that are incompatible or have improperly defined actions or conditions (such as an empty string for Text) will return an error.
The Exchange server limits the maximum number of rules that can be supported by a store. Rules.Save returns an error when this limit is reached.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應