Efficiently testing if two postings are connected
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Efficiently testing if two postings are connected

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Joe C
Guest





Posted: Sat Oct 22, 2005 12:50 am    Post subject: Efficiently testing if two postings are connected Reply with quote

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
Back to top
Stefan [MSFT]
Guest





Posted: Mon Oct 24, 2005 12:51 pm    Post subject: Re: Efficiently testing if two postings are connected Reply with quote

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...
Quote:
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
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
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




New Topics Powered by phpBB