Welcome to my personal blog, All the information in this bogs is my ideas,findings and thoughts on .Net, Asp.Net and SharePoint.
ALL POSTING ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND
August 2008 - Posts
-
1: namespace MyNewProfileHandler 2: { 3: public class MyUserProfileHandler : MySiteProfileHandler 4: { 5: public override void SetMySiteOwner(Microsoft.Office.Server.ServerContext context, UserProfile profile, string newOwner) 6: { 7: base .SetMySiteOwner(context, Read More...
|
-
Removing Association 1: SPSite site = new SPSite( "http://localhost" ); 2: SPWeb web = site.OpenWeb(); 3: SPList list = web.Lists[ "Shared Documents" ]; 4: SPWorkflowAssociation _association = null ; 5: foreach (SPWorkflowAssociation association in list.WorkflowAssociations) Read More...
|
-
1: SPSite spSite = new SPSite( "http://localhost" ); 2: SPWeb spWeb = spSite.OpenWeb(); 3: SPList spList = spWeb.Lists[ "Shared Documents" ]; 4: SPList workflowlist = spWeb.Lists[ "NewHistoryLibary" ]; 5: SPWorkflowAssociation association = spList.WorkflowAssociations[0]; Read More...
|