exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FindItem Restriction help please

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Applications
Author Message
kettenbach



Joined: 01 Feb 2008
Posts: 1

PostPosted: Thu Jan 31, 2008 8:32 pm    Post subject: FindItem Restriction help please Reply with quote

How do I find a calendar Item that is a recurring appointment, but the
range has no end date? I have tried various restrictions against the
recurring property but none of them seem to be what I want as the
recurrence property has to attributes, Item and Item1, representing
the pattern and the range. I just need to find items that are
recurring, but have no end date. Any ideas? I have tried this, and
that property is not valid for that restriction.



FindItemType findItem = new FindItemType();

findItem.Traversal = ItemQueryTraversalType.Shallow;

findItem.ItemShape = new ItemResponseShapeType();

findItem.ItemShape.BaseShape = DefaultShapeNamesType.IdOnly;

findItem.ParentFolderIds = new BaseFolderIdType[] { new
DistinguishedFolderIdType(DistinguishedFolderIdNameType.calendar) };

PathToUnindexedFieldType rec = new PathToUnindexedFieldType();

rec.FieldURI = UnindexedFieldURIType.calendarRecurrence;



IsEqualToType equalTo = new IsEqualToType();

equalTo.Item = rec;

FieldURIOrConstantType constant = new FieldURIOrConstantType();

ConstantValueType constantValue = new ConstantValueType();

constantValue.Value = string.Empty;

constant.Item = constantValue;

equalTo.FieldURIOrConstant = constant;

findItem.Restriction = new RestrictionType();

findItem.Restriction.Item = equalTo;

Obviously, this is not want i want, this would look for CalendarItems
that have a recurrence property of "". I need items that have the
property and the Item1.EndDate is not null.


Thanks All,
~ck

Archived from group: microsoft>public>exchange>applications
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
FindItem Restriction help please How do I find a calendar Item that is a recurring appointment, but the range has no end date? I have tried various restrictions against the recurring property but none of them seem to be what I want as the recurrence property has to attributes, Item and I

email restriction Hi all. I have 2 questions. Firstly i have queries on email message restrictions in exchange 2003. My company has 2 deparments sales and accounts. A security group is created for each deparment and an email address namely sales@abc.com and

smtp restriction with except one domain Hi.. I have this group in AD who must have email restrictions. This group can receive and send emails from internal but must be blocked from sending emails to outside out of the office. But there is an exception that for external, they can receive and sen

Inbound Restriction on Exchange 5.5 Hello Everyone, I would like to ask for help regarding the requirements for a certain group of list to recieve emails coming from certain domains only.. (ex. @abc.com.). Would it be possible? I did try researching on

Internal Mail restriction limit Hello everybody, and thanks for reading. Tomorrow I will migrate Exchange 5.5 to 2003, and I have a few questions about setting the message size limits for internal mail flow and external mail flow. I want people could send mail inside the organization wi
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Applications All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group