private static void CreateManagedPath(string path, SPWebApplication webApp) { SPPrefixCollection prefixColl = webApp.Prefixes; if (prefixColl.Contains(path) == false) { SPPrefix newPrefix = webApp.Prefixes.Add(path, SPPrefixType.ExplicitInclusion); } }
public SPManagedPathEntity(SPPrefix prefix) { _underlyingObject = prefix; }
public static string GetPrefixTypeString(this SPPrefix prefix) { return(prefix.PrefixType.ToString()); }