Re: SMS SDK Automation.dll and Collection Rules



an example in c#:
SMSCollection oColl = oProvider.Collections.Get(CollIectionID);
foreach (SMSCollectionRule oRule in oColl.CollectionRules)
{
if (oRule.GetType() == typeof(SMSCollectionRuleQuery))
{
SMSCollectionRuleQuery oQuery = oColl.CollectionRules[0] as
SMSCollectionRuleQuery;
Console.WriteLine(oQuery.QueryExpression);
}
}

Regards
Roger

.


Loading