Winsmarts.com

Microsoft MVP

MVP Logo

Awarded the Microsoft MVP Award.

Hosted By

blah!bLaH!BLOG!!

SharePoint v4: New Feature

Posted on 3/3/2009 @ 8:27 AM in #Sharepoint | 3 comments | 5082 views

Wow, I am going to get in so much trouble for divulging this, but heck, I don't care (or maybe I do).

Last night, my friend Bjorn was poking around WSS v3 using Reflector, and he found something interesting -->

   1:    private static bool TryForceDeactivateFeatureAnyway(Guid featid, string urlScope);   
   2:    Declaring Type: Microsoft.SharePoint.SPFeature
   3:    Assembly: Microsoft.SharePoint, Version=12.0.0.0

Now, here is the exciting part. In the NEXT version of SharePoint, due for release in 2010, this method will no longer be "private", it will instead by "public".

This will allow you to write code as shown below ....

   1:  if (!TryForceDeactivateFeatureAnyway(featGuid, strScope))
   2:  {
   3:      SPFarm.Local.BlameSomeoneElse(strExcuse);
   4:  }

Good thinking on Microsoft's Part, because usually I have to give excuses in person in meetings, now I can do it right through code in a much more automated and efficient manner. And if you're still wondering, yes, this is a joke, there is nothing I know or can tell about v4. 


On 3/3/2009 8:36:37 AM Walter Lounsbery said ..
I am lobbying for this feature! Actually, there is a secret handshake in Outlook that does something very similar.


On 3/3/2009 9:53:51 AM Peter said ..
Well played sir, well played.


On 3/25/2009 9:23:07 PM Laxmikant said ..
Good One! :)

Please post your comments:


Your feedback will be submitted for moderation, and will appear after it is approved.

Name:  
Email (optional): Your email address will not be posted.
URL (optional):
Comments: HTML will be ignored, URLs will be converted to hyperlinks  
Enter the text you see in the box:
 

Site designed and maintained by Sahil Malik | All Rights Reserved. ©2007 WinSmarts.com.