Microsoft Content Management Server - Efficiently testing if two postings are connected

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > October 2005 > Efficiently testing if two postings are connected





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Efficiently testing if two postings are connected
Joe C

2005-10-24, 10:39 am

I am trying to figure out if there is some way of testing whether two
postings are connected, without having to loop through the
Posting.ConectedPostings collection on one of them.

Ideally I'd like a O(1) method that takes the two postings and returns true
if they are connected.

Any ideas?

Thanks!
Joe
Stefan [MSFT]

2005-10-24, 10:39 am

Hi Joe,

there is no such method build in but you could implement one on your own -
but the implementation would have to iterate.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Joe C" <JoeC@discussions.microsoft.com> wrote in message
news:32EDE9E0-4791-4599-BDFC-DC379773F67B@microsoft.com...
>I am trying to figure out if there is some way of testing whether two
> postings are connected, without having to loop through the
> Posting.ConectedPostings collection on one of them.
>
> Ideally I'd like a O(1) method that takes the two postings and returns
> true
> if they are connected.
>
> Any ideas?
>
> Thanks!
> Joe



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com