Hi,
I want to use rule.dll in my application to create exchange rules. I use C#
and I can't add action to my rule.
myRule.Actions. here add method is missing.
How can I add action to my rule?
Thank you.
Tom Rizzo [MSFT] - 17 Jul 2004 16:26 GMT
What does your code look like?
Tom

Signature
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp
This posting is provided "AS IS" with no warranties, and confers no rights.
> Hi,
> I want to use rule.dll in my application to create exchange rules. I use C#
[quoted text clipped - 3 lines]
> How can I add action to my rule?
> Thank you.
Erkan ?ZKURT - 26 Jul 2004 15:22 GMT
Hi,
This is my code
MSExchange.Action objAction=new MSExchange.ActionClass();
objAction.ActionType=MSExchange.ACTION_TYPES.ACTION_COPY;
MSExchange.Rules objeRules=new MSExchange.RulesClass();
MSExchange.Rule objRule=new MSExchange.RuleClass();
objRule.Actions. Here Add method is missing
rule.dll working correctly in visual basic 6 and I solved my problem
by creating a dll that uses rule.dll in visual basic. But I still
wonder whether I can use rule.dll in c# or not?
Thank you