public void ModifyWebSiteParameter(string webSiteID, WebSiteParameter param, object value) { DirectoryEntry entry = GetDirectoryEntry("/" + webSiteID); entry.Properties[param.ToString()].Value = value; entry.CommitChanges(); DisposeDirectoryEntry(entry); }
public object GetWebSiteParameter(string webSiteID, WebSiteParameter param) { object result = null; DirectoryEntry entry = GetDirectoryEntry("/" + webSiteID); result = entry.Properties[param.ToString()].Value; DisposeDirectoryEntry(entry); return(result); }
public object GetWebSiteParameter(string webSiteID, WebSiteParameter param) { object result = null; DirectoryEntry entry = GetDirectoryEntry("/" + webSiteID); result = entry.Properties[param.ToString()].Value; DisposeDirectoryEntry(entry); return result; }