diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/HostedSolution/ESPermission.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/HostedSolution/ESPermission.cs new file mode 100644 index 00000000..75af0759 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/HostedSolution/ESPermission.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace WebsitePanel.EnterpriseServer.Base.HostedSolution +{ + public class ESPermission + { + string displayName; + string account; + string access; + bool isGroup; + + public string DisplayName + { + get { return displayName; } + set { displayName = value; } + } + + public string Account + { + get { return account; } + set { account = value; } + } + + public string Access + { + get { return access; } + set { access = value; } + } + + public bool IsGroup + { + get { return isGroup; } + set { isGroup = value; } + } + } + +} diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Packages/Quotas.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Packages/Quotas.cs index 6e6bad12..8e3abc8f 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Packages/Quotas.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Packages/Quotas.cs @@ -234,5 +234,8 @@ order by rg.groupOrder public const string HELICON_ZOO = "HeliconZoo.*"; + public const string ENTERPRISESTORAGE_DISKSTORAGESPACE = "EnterpriseStorage.DiskStorageSpace"; + public const string ENTERPRISESTORAGE_FOLDERS = "EnterpriseStorage.Folders"; + } } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/WebsitePanel.EnterpriseServer.Base.csproj b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/WebsitePanel.EnterpriseServer.Base.csproj index e5ea3611..082f5542 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/WebsitePanel.EnterpriseServer.Base.csproj +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/WebsitePanel.EnterpriseServer.Base.csproj @@ -117,6 +117,7 @@ + diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/EnterpriseStorageProxy.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/EnterpriseStorageProxy.cs index 07f39bdf..d4a8196b 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/EnterpriseStorageProxy.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/EnterpriseStorageProxy.cs @@ -29,7 +29,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.6407 +// Runtime Version:2.0.50727.4984 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -37,489 +37,929 @@ //------------------------------------------------------------------------------ // -// This source code was auto-generated by wsdl, Version=2.0.50727.3038. +// This source code was auto-generated by wsdl, Version=2.0.50727.42. // + +using WebsitePanel.EnterpriseServer.Base.HostedSolution; using WebsitePanel.Providers; using WebsitePanel.Providers.Common; -using WebsitePanel.Providers.ResultObjects; +using WebsitePanel.Providers.HostedSolution; using WebsitePanel.Providers.OS; - -namespace WebsitePanel.EnterpriseServer { +namespace WebsitePanel.EnterpriseServer +{ using System.Xml.Serialization; using System.Web.Services; using System.ComponentModel; using System.Web.Services.Protocols; using System; using System.Diagnostics; - - + + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Web.Services.WebServiceBindingAttribute(Name="esEnterpriseStorageSoap", Namespace="http://smbsaas/websitepanel/enterpriseserver")] + [System.Web.Services.WebServiceBindingAttribute(Name = "esEnterpriseStorageSoap", Namespace = "http://smbsaas/websitepanel/enterpriseserver")] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceProviderItem))] - public partial class esEnterpriseStorage : Microsoft.Web.Services3.WebServicesClientProtocol { - + public partial class esEnterpriseStorage : Microsoft.Web.Services3.WebServicesClientProtocol + { + private System.Threading.SendOrPostCallback CheckFileServicesInstallationOperationCompleted; - + private System.Threading.SendOrPostCallback GetEnterpriseFoldersOperationCompleted; - + private System.Threading.SendOrPostCallback GetEnterpriseFolderOperationCompleted; - + private System.Threading.SendOrPostCallback CreateEnterpriseFolderOperationCompleted; - + private System.Threading.SendOrPostCallback DeleteEnterpriseFolderOperationCompleted; - - private System.Threading.SendOrPostCallback SetEnterpriseFolderQuotaOperationCompleted; - + + private System.Threading.SendOrPostCallback GetEnterpriseFolderPermissionsOperationCompleted; + + private System.Threading.SendOrPostCallback SetEnterpriseFolderPermissionsOperationCompleted; + + private System.Threading.SendOrPostCallback SearchESAccountsOperationCompleted; + + private System.Threading.SendOrPostCallback GetEnterpriseFoldersPagedOperationCompleted; + + private System.Threading.SendOrPostCallback RenameEnterpriseFolderOperationCompleted; + /// - public esEnterpriseStorage() { + public esEnterpriseStorage() + { this.Url = "http://localhost:9002/esEnterpriseStorage.asmx"; } - + /// public event CheckFileServicesInstallationCompletedEventHandler CheckFileServicesInstallationCompleted; - + /// public event GetEnterpriseFoldersCompletedEventHandler GetEnterpriseFoldersCompleted; - + /// public event GetEnterpriseFolderCompletedEventHandler GetEnterpriseFolderCompleted; - + /// public event CreateEnterpriseFolderCompletedEventHandler CreateEnterpriseFolderCompleted; - + /// public event DeleteEnterpriseFolderCompletedEventHandler DeleteEnterpriseFolderCompleted; - + /// - public event SetEnterpriseFolderQuotaCompletedEventHandler SetEnterpriseFolderQuotaCompleted; - + public event GetEnterpriseFolderPermissionsCompletedEventHandler GetEnterpriseFolderPermissionsCompleted; + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckFileServicesInstallation", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool CheckFileServicesInstallation(int serviceId) { + public event SetEnterpriseFolderPermissionsCompletedEventHandler SetEnterpriseFolderPermissionsCompleted; + + /// + public event SearchESAccountsCompletedEventHandler SearchESAccountsCompleted; + + /// + public event GetEnterpriseFoldersPagedCompletedEventHandler GetEnterpriseFoldersPagedCompleted; + + /// + public event RenameEnterpriseFolderCompletedEventHandler RenameEnterpriseFolderCompleted; + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckFileServicesInstallation", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool CheckFileServicesInstallation(int serviceId) + { object[] results = this.Invoke("CheckFileServicesInstallation", new object[] { serviceId}); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginCheckFileServicesInstallation(int serviceId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginCheckFileServicesInstallation(int serviceId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("CheckFileServicesInstallation", new object[] { serviceId}, callback, asyncState); } - + /// - public bool EndCheckFileServicesInstallation(System.IAsyncResult asyncResult) { + public bool EndCheckFileServicesInstallation(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void CheckFileServicesInstallationAsync(int serviceId) { + public void CheckFileServicesInstallationAsync(int serviceId) + { this.CheckFileServicesInstallationAsync(serviceId, null); } - + /// - public void CheckFileServicesInstallationAsync(int serviceId, object userState) { - if ((this.CheckFileServicesInstallationOperationCompleted == null)) { + public void CheckFileServicesInstallationAsync(int serviceId, object userState) + { + if ((this.CheckFileServicesInstallationOperationCompleted == null)) + { this.CheckFileServicesInstallationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckFileServicesInstallationOperationCompleted); } this.InvokeAsync("CheckFileServicesInstallation", new object[] { serviceId}, this.CheckFileServicesInstallationOperationCompleted, userState); } - - private void OnCheckFileServicesInstallationOperationCompleted(object arg) { - if ((this.CheckFileServicesInstallationCompleted != null)) { + + private void OnCheckFileServicesInstallationOperationCompleted(object arg) + { + if ((this.CheckFileServicesInstallationCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CheckFileServicesInstallationCompleted(this, new CheckFileServicesInstallationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetEnterpriseFolders", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SystemFile[] GetEnterpriseFolders(int itemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetEnterpriseFolders", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SystemFile[] GetEnterpriseFolders(int itemId) + { object[] results = this.Invoke("GetEnterpriseFolders", new object[] { itemId}); return ((SystemFile[])(results[0])); } - + /// - public System.IAsyncResult BeginGetEnterpriseFolders(int itemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetEnterpriseFolders(int itemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetEnterpriseFolders", new object[] { itemId}, callback, asyncState); } - + /// - public SystemFile[] EndGetEnterpriseFolders(System.IAsyncResult asyncResult) { + public SystemFile[] EndGetEnterpriseFolders(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((SystemFile[])(results[0])); } - + /// - public void GetEnterpriseFoldersAsync(int itemId) { + public void GetEnterpriseFoldersAsync(int itemId) + { this.GetEnterpriseFoldersAsync(itemId, null); } - + /// - public void GetEnterpriseFoldersAsync(int itemId, object userState) { - if ((this.GetEnterpriseFoldersOperationCompleted == null)) { + public void GetEnterpriseFoldersAsync(int itemId, object userState) + { + if ((this.GetEnterpriseFoldersOperationCompleted == null)) + { this.GetEnterpriseFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEnterpriseFoldersOperationCompleted); } this.InvokeAsync("GetEnterpriseFolders", new object[] { itemId}, this.GetEnterpriseFoldersOperationCompleted, userState); } - - private void OnGetEnterpriseFoldersOperationCompleted(object arg) { - if ((this.GetEnterpriseFoldersCompleted != null)) { + + private void OnGetEnterpriseFoldersOperationCompleted(object arg) + { + if ((this.GetEnterpriseFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetEnterpriseFoldersCompleted(this, new GetEnterpriseFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetEnterpriseFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SystemFile GetEnterpriseFolder(int itemId, string folderName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetEnterpriseFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SystemFile GetEnterpriseFolder(int itemId, string folderName) + { object[] results = this.Invoke("GetEnterpriseFolder", new object[] { itemId, folderName}); return ((SystemFile)(results[0])); } - + /// - public System.IAsyncResult BeginGetEnterpriseFolder(int itemId, string folderName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetEnterpriseFolder(int itemId, string folderName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetEnterpriseFolder", new object[] { itemId, folderName}, callback, asyncState); } - + /// - public SystemFile EndGetEnterpriseFolder(System.IAsyncResult asyncResult) { + public SystemFile EndGetEnterpriseFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((SystemFile)(results[0])); } - + /// - public void GetEnterpriseFolderAsync(int itemId, string folderName) { + public void GetEnterpriseFolderAsync(int itemId, string folderName) + { this.GetEnterpriseFolderAsync(itemId, folderName, null); } - + /// - public void GetEnterpriseFolderAsync(int itemId, string folderName, object userState) { - if ((this.GetEnterpriseFolderOperationCompleted == null)) { + public void GetEnterpriseFolderAsync(int itemId, string folderName, object userState) + { + if ((this.GetEnterpriseFolderOperationCompleted == null)) + { this.GetEnterpriseFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEnterpriseFolderOperationCompleted); } this.InvokeAsync("GetEnterpriseFolder", new object[] { itemId, folderName}, this.GetEnterpriseFolderOperationCompleted, userState); } - - private void OnGetEnterpriseFolderOperationCompleted(object arg) { - if ((this.GetEnterpriseFolderCompleted != null)) { + + private void OnGetEnterpriseFolderOperationCompleted(object arg) + { + if ((this.GetEnterpriseFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetEnterpriseFolderCompleted(this, new GetEnterpriseFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CreateEnterpriseFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject CreateEnterpriseFolder(int itemId, string folderName, long quota) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CreateEnterpriseFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject CreateEnterpriseFolder(int itemId, string folderName) + { object[] results = this.Invoke("CreateEnterpriseFolder", new object[] { itemId, - folderName, - quota}); + folderName}); return ((ResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginCreateEnterpriseFolder(int itemId, string folderName, long quota, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginCreateEnterpriseFolder(int itemId, string folderName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("CreateEnterpriseFolder", new object[] { itemId, - folderName, - quota}, callback, asyncState); + folderName}, callback, asyncState); } - + /// - public ResultObject EndCreateEnterpriseFolder(System.IAsyncResult asyncResult) { + public ResultObject EndCreateEnterpriseFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } - + /// - public void CreateEnterpriseFolderAsync(int itemId, string folderName, long quota) { - this.CreateEnterpriseFolderAsync(itemId, folderName, quota, null); + public void CreateEnterpriseFolderAsync(int itemId, string folderName) + { + this.CreateEnterpriseFolderAsync(itemId, folderName, null); } - + /// - public void CreateEnterpriseFolderAsync(int itemId, string folderName, long quota, object userState) { - if ((this.CreateEnterpriseFolderOperationCompleted == null)) { + public void CreateEnterpriseFolderAsync(int itemId, string folderName, object userState) + { + if ((this.CreateEnterpriseFolderOperationCompleted == null)) + { this.CreateEnterpriseFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateEnterpriseFolderOperationCompleted); } this.InvokeAsync("CreateEnterpriseFolder", new object[] { itemId, - folderName, - quota}, this.CreateEnterpriseFolderOperationCompleted, userState); + folderName}, this.CreateEnterpriseFolderOperationCompleted, userState); } - - private void OnCreateEnterpriseFolderOperationCompleted(object arg) { - if ((this.CreateEnterpriseFolderCompleted != null)) { + + private void OnCreateEnterpriseFolderOperationCompleted(object arg) + { + if ((this.CreateEnterpriseFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CreateEnterpriseFolderCompleted(this, new CreateEnterpriseFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteEnterpriseFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject DeleteEnterpriseFolder(int itemId, string folderName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteEnterpriseFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject DeleteEnterpriseFolder(int itemId, string folderName) + { object[] results = this.Invoke("DeleteEnterpriseFolder", new object[] { itemId, folderName}); return ((ResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginDeleteEnterpriseFolder(int itemId, string folderName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteEnterpriseFolder(int itemId, string folderName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteEnterpriseFolder", new object[] { itemId, folderName}, callback, asyncState); } - + /// - public ResultObject EndDeleteEnterpriseFolder(System.IAsyncResult asyncResult) { + public ResultObject EndDeleteEnterpriseFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } - + /// - public void DeleteEnterpriseFolderAsync(int itemId, string folderName) { + public void DeleteEnterpriseFolderAsync(int itemId, string folderName) + { this.DeleteEnterpriseFolderAsync(itemId, folderName, null); } - + /// - public void DeleteEnterpriseFolderAsync(int itemId, string folderName, object userState) { - if ((this.DeleteEnterpriseFolderOperationCompleted == null)) { + public void DeleteEnterpriseFolderAsync(int itemId, string folderName, object userState) + { + if ((this.DeleteEnterpriseFolderOperationCompleted == null)) + { this.DeleteEnterpriseFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteEnterpriseFolderOperationCompleted); } this.InvokeAsync("DeleteEnterpriseFolder", new object[] { itemId, folderName}, this.DeleteEnterpriseFolderOperationCompleted, userState); } - - private void OnDeleteEnterpriseFolderOperationCompleted(object arg) { - if ((this.DeleteEnterpriseFolderCompleted != null)) { + + private void OnDeleteEnterpriseFolderOperationCompleted(object arg) + { + if ((this.DeleteEnterpriseFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteEnterpriseFolderCompleted(this, new DeleteEnterpriseFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetEnterpriseFolderQuota", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject SetEnterpriseFolderQuota(int itemId, string folderName, long quota) { - object[] results = this.Invoke("SetEnterpriseFolderQuota", new object[] { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetEnterpriseFolderPermissions", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ESPermission[] GetEnterpriseFolderPermissions(int itemId, string folderName) + { + object[] results = this.Invoke("GetEnterpriseFolderPermissions", new object[] { + itemId, + folderName}); + return ((ESPermission[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetEnterpriseFolderPermissions(int itemId, string folderName, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetEnterpriseFolderPermissions", new object[] { + itemId, + folderName}, callback, asyncState); + } + + /// + public ESPermission[] EndGetEnterpriseFolderPermissions(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ESPermission[])(results[0])); + } + + /// + public void GetEnterpriseFolderPermissionsAsync(int itemId, string folderName) + { + this.GetEnterpriseFolderPermissionsAsync(itemId, folderName, null); + } + + /// + public void GetEnterpriseFolderPermissionsAsync(int itemId, string folderName, object userState) + { + if ((this.GetEnterpriseFolderPermissionsOperationCompleted == null)) + { + this.GetEnterpriseFolderPermissionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEnterpriseFolderPermissionsOperationCompleted); + } + this.InvokeAsync("GetEnterpriseFolderPermissions", new object[] { + itemId, + folderName}, this.GetEnterpriseFolderPermissionsOperationCompleted, userState); + } + + private void OnGetEnterpriseFolderPermissionsOperationCompleted(object arg) + { + if ((this.GetEnterpriseFolderPermissionsCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetEnterpriseFolderPermissionsCompleted(this, new GetEnterpriseFolderPermissionsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetEnterpriseFolderPermissions", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject SetEnterpriseFolderPermissions(int itemId, string folderName, ESPermission[] permission) + { + object[] results = this.Invoke("SetEnterpriseFolderPermissions", new object[] { itemId, folderName, - quota}); + permission}); return ((ResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginSetEnterpriseFolderQuota(int itemId, string folderName, long quota, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("SetEnterpriseFolderQuota", new object[] { + public System.IAsyncResult BeginSetEnterpriseFolderPermissions(int itemId, string folderName, ESPermission[] permission, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("SetEnterpriseFolderPermissions", new object[] { itemId, folderName, - quota}, callback, asyncState); + permission}, callback, asyncState); } - + /// - public ResultObject EndSetEnterpriseFolderQuota(System.IAsyncResult asyncResult) { + public ResultObject EndSetEnterpriseFolderPermissions(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } - + /// - public void SetEnterpriseFolderQuotaAsync(int itemId, string folderName, long quota) { - this.SetEnterpriseFolderQuotaAsync(itemId, folderName, quota, null); + public void SetEnterpriseFolderPermissionsAsync(int itemId, string folderName, ESPermission[] permission) + { + this.SetEnterpriseFolderPermissionsAsync(itemId, folderName, permission, null); } - + /// - public void SetEnterpriseFolderQuotaAsync(int itemId, string folderName, long quota, object userState) { - if ((this.SetEnterpriseFolderQuotaOperationCompleted == null)) { - this.SetEnterpriseFolderQuotaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetEnterpriseFolderQuotaOperationCompleted); + public void SetEnterpriseFolderPermissionsAsync(int itemId, string folderName, ESPermission[] permission, object userState) + { + if ((this.SetEnterpriseFolderPermissionsOperationCompleted == null)) + { + this.SetEnterpriseFolderPermissionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetEnterpriseFolderPermissionsOperationCompleted); } - this.InvokeAsync("SetEnterpriseFolderQuota", new object[] { + this.InvokeAsync("SetEnterpriseFolderPermissions", new object[] { itemId, folderName, - quota}, this.SetEnterpriseFolderQuotaOperationCompleted, userState); + permission}, this.SetEnterpriseFolderPermissionsOperationCompleted, userState); } - - private void OnSetEnterpriseFolderQuotaOperationCompleted(object arg) { - if ((this.SetEnterpriseFolderQuotaCompleted != null)) { + + private void OnSetEnterpriseFolderPermissionsOperationCompleted(object arg) + { + if ((this.SetEnterpriseFolderPermissionsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.SetEnterpriseFolderQuotaCompleted(this, new SetEnterpriseFolderQuotaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + this.SetEnterpriseFolderPermissionsCompleted(this, new SetEnterpriseFolderPermissionsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - public new void CancelAsync(object userState) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SearchESAccounts", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ExchangeAccount[] SearchESAccounts(int itemId, string filterColumn, string filterValue, string sortColumn) + { + object[] results = this.Invoke("SearchESAccounts", new object[] { + itemId, + filterColumn, + filterValue, + sortColumn}); + return ((ExchangeAccount[])(results[0])); + } + + /// + public System.IAsyncResult BeginSearchESAccounts(int itemId, string filterColumn, string filterValue, string sortColumn, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("SearchESAccounts", new object[] { + itemId, + filterColumn, + filterValue, + sortColumn}, callback, asyncState); + } + + /// + public ExchangeAccount[] EndSearchESAccounts(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ExchangeAccount[])(results[0])); + } + + /// + public void SearchESAccountsAsync(int itemId, string filterColumn, string filterValue, string sortColumn) + { + this.SearchESAccountsAsync(itemId, filterColumn, filterValue, sortColumn, null); + } + + /// + public void SearchESAccountsAsync(int itemId, string filterColumn, string filterValue, string sortColumn, object userState) + { + if ((this.SearchESAccountsOperationCompleted == null)) + { + this.SearchESAccountsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchESAccountsOperationCompleted); + } + this.InvokeAsync("SearchESAccounts", new object[] { + itemId, + filterColumn, + filterValue, + sortColumn}, this.SearchESAccountsOperationCompleted, userState); + } + + private void OnSearchESAccountsOperationCompleted(object arg) + { + if ((this.SearchESAccountsCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SearchESAccountsCompleted(this, new SearchESAccountsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetEnterpriseFoldersPaged", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SystemFilesPaged GetEnterpriseFoldersPaged(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows) + { + object[] results = this.Invoke("GetEnterpriseFoldersPaged", new object[] { + itemId, + filterValue, + sortColumn, + startRow, + maximumRows}); + return ((SystemFilesPaged)(results[0])); + } + + /// + public System.IAsyncResult BeginGetEnterpriseFoldersPaged(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetEnterpriseFoldersPaged", new object[] { + itemId, + filterValue, + sortColumn, + startRow, + maximumRows}, callback, asyncState); + } + + /// + public SystemFilesPaged EndGetEnterpriseFoldersPaged(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SystemFilesPaged)(results[0])); + } + + /// + public void GetEnterpriseFoldersPagedAsync(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows) + { + this.GetEnterpriseFoldersPagedAsync(itemId, filterValue, sortColumn, startRow, maximumRows, null); + } + + /// + public void GetEnterpriseFoldersPagedAsync(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) + { + if ((this.GetEnterpriseFoldersPagedOperationCompleted == null)) + { + this.GetEnterpriseFoldersPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEnterpriseFoldersPagedOperationCompleted); + } + this.InvokeAsync("GetEnterpriseFoldersPaged", new object[] { + itemId, + filterValue, + sortColumn, + startRow, + maximumRows}, this.GetEnterpriseFoldersPagedOperationCompleted, userState); + } + + private void OnGetEnterpriseFoldersPagedOperationCompleted(object arg) + { + if ((this.GetEnterpriseFoldersPagedCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetEnterpriseFoldersPagedCompleted(this, new GetEnterpriseFoldersPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RenameEnterpriseFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SystemFile RenameEnterpriseFolder(int itemId, string oldName, string newName) + { + object[] results = this.Invoke("RenameEnterpriseFolder", new object[] { + itemId, + oldName, + newName}); + return ((SystemFile)(results[0])); + } + + /// + public System.IAsyncResult BeginRenameEnterpriseFolder(int itemId, string oldName, string newName, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("RenameEnterpriseFolder", new object[] { + itemId, + oldName, + newName}, callback, asyncState); + } + + /// + public SystemFile EndRenameEnterpriseFolder(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SystemFile)(results[0])); + } + + /// + public void RenameEnterpriseFolderAsync(int itemId, string oldName, string newName) + { + this.RenameEnterpriseFolderAsync(itemId, oldName, newName, null); + } + + /// + public void RenameEnterpriseFolderAsync(int itemId, string oldName, string newName, object userState) + { + if ((this.RenameEnterpriseFolderOperationCompleted == null)) + { + this.RenameEnterpriseFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRenameEnterpriseFolderOperationCompleted); + } + this.InvokeAsync("RenameEnterpriseFolder", new object[] { + itemId, + oldName, + newName}, this.RenameEnterpriseFolderOperationCompleted, userState); + } + + private void OnRenameEnterpriseFolderOperationCompleted(object arg) + { + if ((this.RenameEnterpriseFolderCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RenameEnterpriseFolderCompleted(this, new RenameEnterpriseFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + public new void CancelAsync(object userState) + { base.CancelAsync(userState); } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CheckFileServicesInstallationCompletedEventHandler(object sender, CheckFileServicesInstallationCompletedEventArgs e); - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CheckFileServicesInstallationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class CheckFileServicesInstallationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal CheckFileServicesInstallationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal CheckFileServicesInstallationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public bool Result { - get { + public bool Result + { + get + { this.RaiseExceptionIfNecessary(); return ((bool)(this.results[0])); } } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetEnterpriseFoldersCompletedEventHandler(object sender, GetEnterpriseFoldersCompletedEventArgs e); - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetEnterpriseFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetEnterpriseFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetEnterpriseFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetEnterpriseFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SystemFile[] Result { - get { + public SystemFile[] Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SystemFile[])(this.results[0])); } } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetEnterpriseFolderCompletedEventHandler(object sender, GetEnterpriseFolderCompletedEventArgs e); - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetEnterpriseFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetEnterpriseFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SystemFile Result { - get { + public SystemFile Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SystemFile)(this.results[0])); } } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CreateEnterpriseFolderCompletedEventHandler(object sender, CreateEnterpriseFolderCompletedEventArgs e); - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CreateEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class CreateEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal CreateEnterpriseFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal CreateEnterpriseFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void DeleteEnterpriseFolderCompletedEventHandler(object sender, DeleteEnterpriseFolderCompletedEventArgs e); - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class DeleteEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal DeleteEnterpriseFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal DeleteEnterpriseFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] - public delegate void SetEnterpriseFolderQuotaCompletedEventHandler(object sender, SetEnterpriseFolderQuotaCompletedEventArgs e); - + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetEnterpriseFolderPermissionsCompletedEventHandler(object sender, GetEnterpriseFolderPermissionsCompletedEventArgs e); + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SetEnterpriseFolderQuotaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetEnterpriseFolderPermissionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal SetEnterpriseFolderQuotaCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetEnterpriseFolderPermissionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ESPermission[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((ESPermission[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SetEnterpriseFolderPermissionsCompletedEventHandler(object sender, SetEnterpriseFolderPermissionsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SetEnterpriseFolderPermissionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal SetEnterpriseFolderPermissionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SearchESAccountsCompletedEventHandler(object sender, SearchESAccountsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SearchESAccountsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal SearchESAccountsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public ExchangeAccount[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((ExchangeAccount[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetEnterpriseFoldersPagedCompletedEventHandler(object sender, GetEnterpriseFoldersPagedCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetEnterpriseFoldersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetEnterpriseFoldersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public SystemFilesPaged Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((SystemFilesPaged)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void RenameEnterpriseFolderCompletedEventHandler(object sender, RenameEnterpriseFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RenameEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal RenameEnterpriseFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public SystemFile Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((SystemFile)(this.results[0])); + } + } + } } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/WebServersProxy.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/WebServersProxy.cs index c6c29465..f3735ef4 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/WebServersProxy.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/WebServersProxy.cs @@ -25,11 +25,10 @@ // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.5466 +// Runtime Version:2.0.50727.4984 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -39,7 +38,14 @@ // // This source code was auto-generated by wsdl, Version=2.0.50727.42. // -namespace WebsitePanel.EnterpriseServer { + +using WebsitePanel.Providers; +using WebsitePanel.Providers.Common; +using WebsitePanel.Providers.ResultObjects; +using WebsitePanel.Providers.Web; + +namespace WebsitePanel.EnterpriseServer +{ using System.Xml.Serialization; using System.Web.Services; using System.ComponentModel; @@ -47,478 +53,1931 @@ namespace WebsitePanel.EnterpriseServer { using System; using System.Diagnostics; using System.Data; - using WebsitePanel.Providers; - using WebsitePanel.Providers.Common; - using WebsitePanel.Providers.Web; - using WebsitePanel.Providers.ResultObjects; - - + + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Web.Services.WebServiceBindingAttribute(Name="esWebServersSoap", Namespace="http://smbsaas/websitepanel/enterpriseserver")] + [System.Web.Services.WebServiceBindingAttribute(Name = "esWebServersSoap", Namespace = "http://smbsaas/websitepanel/enterpriseserver")] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceProviderItem))] - public partial class esWebServers : Microsoft.Web.Services3.WebServicesClientProtocol { - - private System.Threading.SendOrPostCallback GetRawWebSitesPagedOperationCompleted; - - private System.Threading.SendOrPostCallback GetWebSitesOperationCompleted; - - private System.Threading.SendOrPostCallback GetWebSiteOperationCompleted; - - private System.Threading.SendOrPostCallback GetVirtualDirectoriesOperationCompleted; - - private System.Threading.SendOrPostCallback GetVirtualDirectoryOperationCompleted; - - private System.Threading.SendOrPostCallback GetWebSitePointersOperationCompleted; - - private System.Threading.SendOrPostCallback AddWebSitePointerOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteWebSitePointerOperationCompleted; - - private System.Threading.SendOrPostCallback AddWebSiteOperationCompleted; - - private System.Threading.SendOrPostCallback AddVirtualDirectoryOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateWebSiteOperationCompleted; - - private System.Threading.SendOrPostCallback InstallFrontPageOperationCompleted; - - private System.Threading.SendOrPostCallback UninstallFrontPageOperationCompleted; - - private System.Threading.SendOrPostCallback ChangeFrontPagePasswordOperationCompleted; - - private System.Threading.SendOrPostCallback RepairWebSiteOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateVirtualDirectoryOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteWebSiteOperationCompleted; - - private System.Threading.SendOrPostCallback SwitchWebSiteToDedicatedIPOperationCompleted; - - private System.Threading.SendOrPostCallback SwitchWebSiteToSharedIPOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteVirtualDirectoryOperationCompleted; - - private System.Threading.SendOrPostCallback ChangeSiteStateOperationCompleted; - - private System.Threading.SendOrPostCallback ChangeAppPoolStateOperationCompleted; - - private System.Threading.SendOrPostCallback GetAppPoolStateOperationCompleted; - - private System.Threading.SendOrPostCallback GetSharedSSLDomainsOperationCompleted; - - private System.Threading.SendOrPostCallback GetRawSSLFoldersPagedOperationCompleted; - - private System.Threading.SendOrPostCallback GetSharedSSLFoldersOperationCompleted; - - private System.Threading.SendOrPostCallback GetSharedSSLFolderOperationCompleted; - - private System.Threading.SendOrPostCallback AddSharedSSLFolderOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateSharedSSLFolderOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteSharedSSLFolderOperationCompleted; - - private System.Threading.SendOrPostCallback InstallSecuredFoldersOperationCompleted; - - private System.Threading.SendOrPostCallback UninstallSecuredFoldersOperationCompleted; - - private System.Threading.SendOrPostCallback GetSecuredFoldersOperationCompleted; - - private System.Threading.SendOrPostCallback GetSecuredFolderOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateSecuredFolderOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteSecuredFolderOperationCompleted; - - private System.Threading.SendOrPostCallback GetSecuredUsersOperationCompleted; - - private System.Threading.SendOrPostCallback GetSecuredUserOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateSecuredUserOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteSecuredUserOperationCompleted; - - private System.Threading.SendOrPostCallback GetSecuredGroupsOperationCompleted; - - private System.Threading.SendOrPostCallback GetSecuredGroupOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateSecuredGroupOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteSecuredGroupOperationCompleted; - - private System.Threading.SendOrPostCallback GrantWebDeployPublishingAccessOperationCompleted; - - private System.Threading.SendOrPostCallback SaveWebDeployPublishingProfileOperationCompleted; - - private System.Threading.SendOrPostCallback RevokeWebDeployPublishingAccessOperationCompleted; - - private System.Threading.SendOrPostCallback GetWebDeployPublishingProfileOperationCompleted; - - private System.Threading.SendOrPostCallback ChangeWebDeployPublishingPasswordOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeStatusOperationCompleted; - - private System.Threading.SendOrPostCallback InstallHeliconApeOperationCompleted; - - private System.Threading.SendOrPostCallback EnableHeliconApeOperationCompleted; - - private System.Threading.SendOrPostCallback DisableHeliconApeOperationCompleted; - - private System.Threading.SendOrPostCallback EnableHeliconApeGloballyOperationCompleted; - - private System.Threading.SendOrPostCallback DisableHeliconApeGloballyOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeFoldersOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeHttpdFolderOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeFolderOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateHeliconApeFolderOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateHeliconApeHttpdFolderOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteHeliconApeFolderOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeUsersOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeUserOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateHeliconApeUserOperationCompleted; - + public partial class esWebServers : Microsoft.Web.Services3.WebServicesClientProtocol + { + private System.Threading.SendOrPostCallback DeleteHeliconApeUserOperationCompleted; - + private System.Threading.SendOrPostCallback GetHeliconApeGroupsOperationCompleted; - + private System.Threading.SendOrPostCallback GetHeliconApeGroupOperationCompleted; - + private System.Threading.SendOrPostCallback UpdateHeliconApeGroupOperationCompleted; - + private System.Threading.SendOrPostCallback DeleteHeliconApeGroupOperationCompleted; - + private System.Threading.SendOrPostCallback GetZooApplicationsOperationCompleted; - + private System.Threading.SendOrPostCallback SetZooEnvironmentVariableOperationCompleted; - + private System.Threading.SendOrPostCallback SetZooConsoleEnabledOperationCompleted; - + private System.Threading.SendOrPostCallback SetZooConsoleDisabledOperationCompleted; - + private System.Threading.SendOrPostCallback GrantWebManagementAccessOperationCompleted; - + private System.Threading.SendOrPostCallback RevokeWebManagementAccessOperationCompleted; - + private System.Threading.SendOrPostCallback ChangeWebManagementAccessPasswordOperationCompleted; - + private System.Threading.SendOrPostCallback CertificateRequestOperationCompleted; - + private System.Threading.SendOrPostCallback InstallCertificateOperationCompleted; - + private System.Threading.SendOrPostCallback InstallPfxOperationCompleted; - + private System.Threading.SendOrPostCallback GetPendingCertificatesOperationCompleted; - + private System.Threading.SendOrPostCallback GetSSLCertificateByIDOperationCompleted; - + private System.Threading.SendOrPostCallback GetSiteCertOperationCompleted; - + private System.Threading.SendOrPostCallback CheckSSLForWebsiteOperationCompleted; - + private System.Threading.SendOrPostCallback CheckSSLForDomainOperationCompleted; - + private System.Threading.SendOrPostCallback ExportCertificateOperationCompleted; - + private System.Threading.SendOrPostCallback GetCertificatesForSiteOperationCompleted; - + private System.Threading.SendOrPostCallback DeleteCertificateOperationCompleted; - + private System.Threading.SendOrPostCallback ImportCertificateOperationCompleted; - + private System.Threading.SendOrPostCallback CheckCertificateOperationCompleted; - + private System.Threading.SendOrPostCallback DeleteCertificateRequestOperationCompleted; - + + private System.Threading.SendOrPostCallback GetDirectoryBrowseEnabledOperationCompleted; + + private System.Threading.SendOrPostCallback SetDirectoryBrowseEnabledOperationCompleted; + + private System.Threading.SendOrPostCallback GetRawWebSitesPagedOperationCompleted; + + private System.Threading.SendOrPostCallback GetWebSitesOperationCompleted; + + private System.Threading.SendOrPostCallback GetWebSiteOperationCompleted; + + private System.Threading.SendOrPostCallback GetVirtualDirectoriesOperationCompleted; + + private System.Threading.SendOrPostCallback GetVirtualDirectoryOperationCompleted; + + private System.Threading.SendOrPostCallback GetWebSitePointersOperationCompleted; + + private System.Threading.SendOrPostCallback AddWebSitePointerOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteWebSitePointerOperationCompleted; + + private System.Threading.SendOrPostCallback AddWebSiteOperationCompleted; + + private System.Threading.SendOrPostCallback AddVirtualDirectoryOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateWebSiteOperationCompleted; + + private System.Threading.SendOrPostCallback InstallFrontPageOperationCompleted; + + private System.Threading.SendOrPostCallback UninstallFrontPageOperationCompleted; + + private System.Threading.SendOrPostCallback ChangeFrontPagePasswordOperationCompleted; + + private System.Threading.SendOrPostCallback RepairWebSiteOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateVirtualDirectoryOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteWebSiteOperationCompleted; + + private System.Threading.SendOrPostCallback SwitchWebSiteToDedicatedIPOperationCompleted; + + private System.Threading.SendOrPostCallback SwitchWebSiteToSharedIPOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteVirtualDirectoryOperationCompleted; + + private System.Threading.SendOrPostCallback ChangeSiteStateOperationCompleted; + + private System.Threading.SendOrPostCallback ChangeAppPoolStateOperationCompleted; + + private System.Threading.SendOrPostCallback GetAppPoolStateOperationCompleted; + + private System.Threading.SendOrPostCallback GetSharedSSLDomainsOperationCompleted; + + private System.Threading.SendOrPostCallback GetRawSSLFoldersPagedOperationCompleted; + + private System.Threading.SendOrPostCallback GetSharedSSLFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback GetSharedSSLFolderOperationCompleted; + + private System.Threading.SendOrPostCallback AddSharedSSLFolderOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateSharedSSLFolderOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteSharedSSLFolderOperationCompleted; + + private System.Threading.SendOrPostCallback InstallSecuredFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback UninstallSecuredFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecuredFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecuredFolderOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateSecuredFolderOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteSecuredFolderOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecuredUsersOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecuredUserOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateSecuredUserOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteSecuredUserOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecuredGroupsOperationCompleted; + + private System.Threading.SendOrPostCallback GetSecuredGroupOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateSecuredGroupOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteSecuredGroupOperationCompleted; + + private System.Threading.SendOrPostCallback GrantWebDeployPublishingAccessOperationCompleted; + + private System.Threading.SendOrPostCallback SaveWebDeployPublishingProfileOperationCompleted; + + private System.Threading.SendOrPostCallback RevokeWebDeployPublishingAccessOperationCompleted; + + private System.Threading.SendOrPostCallback GetWebDeployPublishingProfileOperationCompleted; + + private System.Threading.SendOrPostCallback ChangeWebDeployPublishingPasswordOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeStatusOperationCompleted; + + private System.Threading.SendOrPostCallback InstallHeliconApeOperationCompleted; + + private System.Threading.SendOrPostCallback EnableHeliconApeOperationCompleted; + + private System.Threading.SendOrPostCallback DisableHeliconApeOperationCompleted; + + private System.Threading.SendOrPostCallback EnableHeliconApeGloballyOperationCompleted; + + private System.Threading.SendOrPostCallback DisableHeliconApeGloballyOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeHttpdFolderOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeFolderOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateHeliconApeFolderOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateHeliconApeHttpdFolderOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteHeliconApeFolderOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeUsersOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeUserOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateHeliconApeUserOperationCompleted; + /// - public esWebServers() { + public esWebServers() + { this.Url = "http://localhost:9002/esWebServers.asmx"; } - - /// - public event GetRawWebSitesPagedCompletedEventHandler GetRawWebSitesPagedCompleted; - - /// - public event GetWebSitesCompletedEventHandler GetWebSitesCompleted; - - /// - public event GetWebSiteCompletedEventHandler GetWebSiteCompleted; - - /// - public event GetVirtualDirectoriesCompletedEventHandler GetVirtualDirectoriesCompleted; - - /// - public event GetVirtualDirectoryCompletedEventHandler GetVirtualDirectoryCompleted; - - /// - public event GetWebSitePointersCompletedEventHandler GetWebSitePointersCompleted; - - /// - public event AddWebSitePointerCompletedEventHandler AddWebSitePointerCompleted; - - /// - public event DeleteWebSitePointerCompletedEventHandler DeleteWebSitePointerCompleted; - - /// - public event AddWebSiteCompletedEventHandler AddWebSiteCompleted; - - /// - public event AddVirtualDirectoryCompletedEventHandler AddVirtualDirectoryCompleted; - - /// - public event UpdateWebSiteCompletedEventHandler UpdateWebSiteCompleted; - - /// - public event InstallFrontPageCompletedEventHandler InstallFrontPageCompleted; - - /// - public event UninstallFrontPageCompletedEventHandler UninstallFrontPageCompleted; - - /// - public event ChangeFrontPagePasswordCompletedEventHandler ChangeFrontPagePasswordCompleted; - - /// - public event RepairWebSiteCompletedEventHandler RepairWebSiteCompleted; - - /// - public event UpdateVirtualDirectoryCompletedEventHandler UpdateVirtualDirectoryCompleted; - - /// - public event DeleteWebSiteCompletedEventHandler DeleteWebSiteCompleted; - - /// - public event SwitchWebSiteToDedicatedIPCompletedEventHandler SwitchWebSiteToDedicatedIPCompleted; - - /// - public event SwitchWebSiteToSharedIPCompletedEventHandler SwitchWebSiteToSharedIPCompleted; - - /// - public event DeleteVirtualDirectoryCompletedEventHandler DeleteVirtualDirectoryCompleted; - - /// - public event ChangeSiteStateCompletedEventHandler ChangeSiteStateCompleted; - - /// - public event ChangeAppPoolStateCompletedEventHandler ChangeAppPoolStateCompleted; - - /// - public event GetAppPoolStateCompletedEventHandler GetAppPoolStateCompleted; - - /// - public event GetSharedSSLDomainsCompletedEventHandler GetSharedSSLDomainsCompleted; - - /// - public event GetRawSSLFoldersPagedCompletedEventHandler GetRawSSLFoldersPagedCompleted; - - /// - public event GetSharedSSLFoldersCompletedEventHandler GetSharedSSLFoldersCompleted; - - /// - public event GetSharedSSLFolderCompletedEventHandler GetSharedSSLFolderCompleted; - - /// - public event AddSharedSSLFolderCompletedEventHandler AddSharedSSLFolderCompleted; - - /// - public event UpdateSharedSSLFolderCompletedEventHandler UpdateSharedSSLFolderCompleted; - - /// - public event DeleteSharedSSLFolderCompletedEventHandler DeleteSharedSSLFolderCompleted; - - /// - public event InstallSecuredFoldersCompletedEventHandler InstallSecuredFoldersCompleted; - - /// - public event UninstallSecuredFoldersCompletedEventHandler UninstallSecuredFoldersCompleted; - - /// - public event GetSecuredFoldersCompletedEventHandler GetSecuredFoldersCompleted; - - /// - public event GetSecuredFolderCompletedEventHandler GetSecuredFolderCompleted; - - /// - public event UpdateSecuredFolderCompletedEventHandler UpdateSecuredFolderCompleted; - - /// - public event DeleteSecuredFolderCompletedEventHandler DeleteSecuredFolderCompleted; - - /// - public event GetSecuredUsersCompletedEventHandler GetSecuredUsersCompleted; - - /// - public event GetSecuredUserCompletedEventHandler GetSecuredUserCompleted; - - /// - public event UpdateSecuredUserCompletedEventHandler UpdateSecuredUserCompleted; - - /// - public event DeleteSecuredUserCompletedEventHandler DeleteSecuredUserCompleted; - - /// - public event GetSecuredGroupsCompletedEventHandler GetSecuredGroupsCompleted; - - /// - public event GetSecuredGroupCompletedEventHandler GetSecuredGroupCompleted; - - /// - public event UpdateSecuredGroupCompletedEventHandler UpdateSecuredGroupCompleted; - - /// - public event DeleteSecuredGroupCompletedEventHandler DeleteSecuredGroupCompleted; - - /// - public event GrantWebDeployPublishingAccessCompletedEventHandler GrantWebDeployPublishingAccessCompleted; - - /// - public event SaveWebDeployPublishingProfileCompletedEventHandler SaveWebDeployPublishingProfileCompleted; - - /// - public event RevokeWebDeployPublishingAccessCompletedEventHandler RevokeWebDeployPublishingAccessCompleted; - - /// - public event GetWebDeployPublishingProfileCompletedEventHandler GetWebDeployPublishingProfileCompleted; - - /// - public event ChangeWebDeployPublishingPasswordCompletedEventHandler ChangeWebDeployPublishingPasswordCompleted; - - /// - public event GetHeliconApeStatusCompletedEventHandler GetHeliconApeStatusCompleted; - - /// - public event InstallHeliconApeCompletedEventHandler InstallHeliconApeCompleted; - - /// - public event EnableHeliconApeCompletedEventHandler EnableHeliconApeCompleted; - - /// - public event DisableHeliconApeCompletedEventHandler DisableHeliconApeCompleted; - - /// - public event EnableHeliconApeGloballyCompletedEventHandler EnableHeliconApeGloballyCompleted; - - /// - public event DisableHeliconApeGloballyCompletedEventHandler DisableHeliconApeGloballyCompleted; - - /// - public event GetHeliconApeFoldersCompletedEventHandler GetHeliconApeFoldersCompleted; - - /// - public event GetHeliconApeHttpdFolderCompletedEventHandler GetHeliconApeHttpdFolderCompleted; - - /// - public event GetHeliconApeFolderCompletedEventHandler GetHeliconApeFolderCompleted; - - /// - public event UpdateHeliconApeFolderCompletedEventHandler UpdateHeliconApeFolderCompleted; - - /// - public event UpdateHeliconApeHttpdFolderCompletedEventHandler UpdateHeliconApeHttpdFolderCompleted; - - /// - public event DeleteHeliconApeFolderCompletedEventHandler DeleteHeliconApeFolderCompleted; - - /// - public event GetHeliconApeUsersCompletedEventHandler GetHeliconApeUsersCompleted; - - /// - public event GetHeliconApeUserCompletedEventHandler GetHeliconApeUserCompleted; - - /// - public event UpdateHeliconApeUserCompletedEventHandler UpdateHeliconApeUserCompleted; - + /// public event DeleteHeliconApeUserCompletedEventHandler DeleteHeliconApeUserCompleted; - + /// public event GetHeliconApeGroupsCompletedEventHandler GetHeliconApeGroupsCompleted; - + /// public event GetHeliconApeGroupCompletedEventHandler GetHeliconApeGroupCompleted; - + /// public event UpdateHeliconApeGroupCompletedEventHandler UpdateHeliconApeGroupCompleted; - + /// public event DeleteHeliconApeGroupCompletedEventHandler DeleteHeliconApeGroupCompleted; - + /// public event GetZooApplicationsCompletedEventHandler GetZooApplicationsCompleted; - + /// public event SetZooEnvironmentVariableCompletedEventHandler SetZooEnvironmentVariableCompleted; - + /// public event SetZooConsoleEnabledCompletedEventHandler SetZooConsoleEnabledCompleted; - + /// public event SetZooConsoleDisabledCompletedEventHandler SetZooConsoleDisabledCompleted; - + /// public event GrantWebManagementAccessCompletedEventHandler GrantWebManagementAccessCompleted; - + /// public event RevokeWebManagementAccessCompletedEventHandler RevokeWebManagementAccessCompleted; - + /// public event ChangeWebManagementAccessPasswordCompletedEventHandler ChangeWebManagementAccessPasswordCompleted; - + /// public event CertificateRequestCompletedEventHandler CertificateRequestCompleted; - + /// public event InstallCertificateCompletedEventHandler InstallCertificateCompleted; - + /// public event InstallPfxCompletedEventHandler InstallPfxCompleted; - + /// public event GetPendingCertificatesCompletedEventHandler GetPendingCertificatesCompleted; - + /// public event GetSSLCertificateByIDCompletedEventHandler GetSSLCertificateByIDCompleted; - + /// public event GetSiteCertCompletedEventHandler GetSiteCertCompleted; - + /// public event CheckSSLForWebsiteCompletedEventHandler CheckSSLForWebsiteCompleted; - + /// public event CheckSSLForDomainCompletedEventHandler CheckSSLForDomainCompleted; - + /// public event ExportCertificateCompletedEventHandler ExportCertificateCompleted; - + /// public event GetCertificatesForSiteCompletedEventHandler GetCertificatesForSiteCompleted; - + /// public event DeleteCertificateCompletedEventHandler DeleteCertificateCompleted; - + /// public event ImportCertificateCompletedEventHandler ImportCertificateCompleted; - + /// public event CheckCertificateCompletedEventHandler CheckCertificateCompleted; - + /// public event DeleteCertificateRequestCompletedEventHandler DeleteCertificateRequestCompleted; - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawWebSitesPaged", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawWebSitesPaged(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) { + public event GetDirectoryBrowseEnabledCompletedEventHandler GetDirectoryBrowseEnabledCompleted; + + /// + public event SetDirectoryBrowseEnabledCompletedEventHandler SetDirectoryBrowseEnabledCompleted; + + /// + public event GetRawWebSitesPagedCompletedEventHandler GetRawWebSitesPagedCompleted; + + /// + public event GetWebSitesCompletedEventHandler GetWebSitesCompleted; + + /// + public event GetWebSiteCompletedEventHandler GetWebSiteCompleted; + + /// + public event GetVirtualDirectoriesCompletedEventHandler GetVirtualDirectoriesCompleted; + + /// + public event GetVirtualDirectoryCompletedEventHandler GetVirtualDirectoryCompleted; + + /// + public event GetWebSitePointersCompletedEventHandler GetWebSitePointersCompleted; + + /// + public event AddWebSitePointerCompletedEventHandler AddWebSitePointerCompleted; + + /// + public event DeleteWebSitePointerCompletedEventHandler DeleteWebSitePointerCompleted; + + /// + public event AddWebSiteCompletedEventHandler AddWebSiteCompleted; + + /// + public event AddVirtualDirectoryCompletedEventHandler AddVirtualDirectoryCompleted; + + /// + public event UpdateWebSiteCompletedEventHandler UpdateWebSiteCompleted; + + /// + public event InstallFrontPageCompletedEventHandler InstallFrontPageCompleted; + + /// + public event UninstallFrontPageCompletedEventHandler UninstallFrontPageCompleted; + + /// + public event ChangeFrontPagePasswordCompletedEventHandler ChangeFrontPagePasswordCompleted; + + /// + public event RepairWebSiteCompletedEventHandler RepairWebSiteCompleted; + + /// + public event UpdateVirtualDirectoryCompletedEventHandler UpdateVirtualDirectoryCompleted; + + /// + public event DeleteWebSiteCompletedEventHandler DeleteWebSiteCompleted; + + /// + public event SwitchWebSiteToDedicatedIPCompletedEventHandler SwitchWebSiteToDedicatedIPCompleted; + + /// + public event SwitchWebSiteToSharedIPCompletedEventHandler SwitchWebSiteToSharedIPCompleted; + + /// + public event DeleteVirtualDirectoryCompletedEventHandler DeleteVirtualDirectoryCompleted; + + /// + public event ChangeSiteStateCompletedEventHandler ChangeSiteStateCompleted; + + /// + public event ChangeAppPoolStateCompletedEventHandler ChangeAppPoolStateCompleted; + + /// + public event GetAppPoolStateCompletedEventHandler GetAppPoolStateCompleted; + + /// + public event GetSharedSSLDomainsCompletedEventHandler GetSharedSSLDomainsCompleted; + + /// + public event GetRawSSLFoldersPagedCompletedEventHandler GetRawSSLFoldersPagedCompleted; + + /// + public event GetSharedSSLFoldersCompletedEventHandler GetSharedSSLFoldersCompleted; + + /// + public event GetSharedSSLFolderCompletedEventHandler GetSharedSSLFolderCompleted; + + /// + public event AddSharedSSLFolderCompletedEventHandler AddSharedSSLFolderCompleted; + + /// + public event UpdateSharedSSLFolderCompletedEventHandler UpdateSharedSSLFolderCompleted; + + /// + public event DeleteSharedSSLFolderCompletedEventHandler DeleteSharedSSLFolderCompleted; + + /// + public event InstallSecuredFoldersCompletedEventHandler InstallSecuredFoldersCompleted; + + /// + public event UninstallSecuredFoldersCompletedEventHandler UninstallSecuredFoldersCompleted; + + /// + public event GetSecuredFoldersCompletedEventHandler GetSecuredFoldersCompleted; + + /// + public event GetSecuredFolderCompletedEventHandler GetSecuredFolderCompleted; + + /// + public event UpdateSecuredFolderCompletedEventHandler UpdateSecuredFolderCompleted; + + /// + public event DeleteSecuredFolderCompletedEventHandler DeleteSecuredFolderCompleted; + + /// + public event GetSecuredUsersCompletedEventHandler GetSecuredUsersCompleted; + + /// + public event GetSecuredUserCompletedEventHandler GetSecuredUserCompleted; + + /// + public event UpdateSecuredUserCompletedEventHandler UpdateSecuredUserCompleted; + + /// + public event DeleteSecuredUserCompletedEventHandler DeleteSecuredUserCompleted; + + /// + public event GetSecuredGroupsCompletedEventHandler GetSecuredGroupsCompleted; + + /// + public event GetSecuredGroupCompletedEventHandler GetSecuredGroupCompleted; + + /// + public event UpdateSecuredGroupCompletedEventHandler UpdateSecuredGroupCompleted; + + /// + public event DeleteSecuredGroupCompletedEventHandler DeleteSecuredGroupCompleted; + + /// + public event GrantWebDeployPublishingAccessCompletedEventHandler GrantWebDeployPublishingAccessCompleted; + + /// + public event SaveWebDeployPublishingProfileCompletedEventHandler SaveWebDeployPublishingProfileCompleted; + + /// + public event RevokeWebDeployPublishingAccessCompletedEventHandler RevokeWebDeployPublishingAccessCompleted; + + /// + public event GetWebDeployPublishingProfileCompletedEventHandler GetWebDeployPublishingProfileCompleted; + + /// + public event ChangeWebDeployPublishingPasswordCompletedEventHandler ChangeWebDeployPublishingPasswordCompleted; + + /// + public event GetHeliconApeStatusCompletedEventHandler GetHeliconApeStatusCompleted; + + /// + public event InstallHeliconApeCompletedEventHandler InstallHeliconApeCompleted; + + /// + public event EnableHeliconApeCompletedEventHandler EnableHeliconApeCompleted; + + /// + public event DisableHeliconApeCompletedEventHandler DisableHeliconApeCompleted; + + /// + public event EnableHeliconApeGloballyCompletedEventHandler EnableHeliconApeGloballyCompleted; + + /// + public event DisableHeliconApeGloballyCompletedEventHandler DisableHeliconApeGloballyCompleted; + + /// + public event GetHeliconApeFoldersCompletedEventHandler GetHeliconApeFoldersCompleted; + + /// + public event GetHeliconApeHttpdFolderCompletedEventHandler GetHeliconApeHttpdFolderCompleted; + + /// + public event GetHeliconApeFolderCompletedEventHandler GetHeliconApeFolderCompleted; + + /// + public event UpdateHeliconApeFolderCompletedEventHandler UpdateHeliconApeFolderCompleted; + + /// + public event UpdateHeliconApeHttpdFolderCompletedEventHandler UpdateHeliconApeHttpdFolderCompleted; + + /// + public event DeleteHeliconApeFolderCompletedEventHandler DeleteHeliconApeFolderCompleted; + + /// + public event GetHeliconApeUsersCompletedEventHandler GetHeliconApeUsersCompleted; + + /// + public event GetHeliconApeUserCompletedEventHandler GetHeliconApeUserCompleted; + + /// + public event UpdateHeliconApeUserCompletedEventHandler UpdateHeliconApeUserCompleted; + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteHeliconApeUser", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DeleteHeliconApeUser(int siteItemId, string userName) + { + object[] results = this.Invoke("DeleteHeliconApeUser", new object[] { + siteItemId, + userName}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteHeliconApeUser(int siteItemId, string userName, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("DeleteHeliconApeUser", new object[] { + siteItemId, + userName}, callback, asyncState); + } + + /// + public int EndDeleteHeliconApeUser(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void DeleteHeliconApeUserAsync(int siteItemId, string userName) + { + this.DeleteHeliconApeUserAsync(siteItemId, userName, null); + } + + /// + public void DeleteHeliconApeUserAsync(int siteItemId, string userName, object userState) + { + if ((this.DeleteHeliconApeUserOperationCompleted == null)) + { + this.DeleteHeliconApeUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteHeliconApeUserOperationCompleted); + } + this.InvokeAsync("DeleteHeliconApeUser", new object[] { + siteItemId, + userName}, this.DeleteHeliconApeUserOperationCompleted, userState); + } + + private void OnDeleteHeliconApeUserOperationCompleted(object arg) + { + if ((this.DeleteHeliconApeUserCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteHeliconApeUserCompleted(this, new DeleteHeliconApeUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeGroups", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebGroup[] GetHeliconApeGroups(int siteItemId) + { + object[] results = this.Invoke("GetHeliconApeGroups", new object[] { + siteItemId}); + return ((WebGroup[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetHeliconApeGroups(int siteItemId, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetHeliconApeGroups", new object[] { + siteItemId}, callback, asyncState); + } + + /// + public WebGroup[] EndGetHeliconApeGroups(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((WebGroup[])(results[0])); + } + + /// + public void GetHeliconApeGroupsAsync(int siteItemId) + { + this.GetHeliconApeGroupsAsync(siteItemId, null); + } + + /// + public void GetHeliconApeGroupsAsync(int siteItemId, object userState) + { + if ((this.GetHeliconApeGroupsOperationCompleted == null)) + { + this.GetHeliconApeGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeGroupsOperationCompleted); + } + this.InvokeAsync("GetHeliconApeGroups", new object[] { + siteItemId}, this.GetHeliconApeGroupsOperationCompleted, userState); + } + + private void OnGetHeliconApeGroupsOperationCompleted(object arg) + { + if ((this.GetHeliconApeGroupsCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetHeliconApeGroupsCompleted(this, new GetHeliconApeGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeGroup", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebGroup GetHeliconApeGroup(int siteItemId, string groupName) + { + object[] results = this.Invoke("GetHeliconApeGroup", new object[] { + siteItemId, + groupName}); + return ((WebGroup)(results[0])); + } + + /// + public System.IAsyncResult BeginGetHeliconApeGroup(int siteItemId, string groupName, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetHeliconApeGroup", new object[] { + siteItemId, + groupName}, callback, asyncState); + } + + /// + public WebGroup EndGetHeliconApeGroup(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((WebGroup)(results[0])); + } + + /// + public void GetHeliconApeGroupAsync(int siteItemId, string groupName) + { + this.GetHeliconApeGroupAsync(siteItemId, groupName, null); + } + + /// + public void GetHeliconApeGroupAsync(int siteItemId, string groupName, object userState) + { + if ((this.GetHeliconApeGroupOperationCompleted == null)) + { + this.GetHeliconApeGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeGroupOperationCompleted); + } + this.InvokeAsync("GetHeliconApeGroup", new object[] { + siteItemId, + groupName}, this.GetHeliconApeGroupOperationCompleted, userState); + } + + private void OnGetHeliconApeGroupOperationCompleted(object arg) + { + if ((this.GetHeliconApeGroupCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetHeliconApeGroupCompleted(this, new GetHeliconApeGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateHeliconApeGroup", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UpdateHeliconApeGroup(int siteItemId, WebGroup group) + { + object[] results = this.Invoke("UpdateHeliconApeGroup", new object[] { + siteItemId, + group}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginUpdateHeliconApeGroup(int siteItemId, WebGroup group, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("UpdateHeliconApeGroup", new object[] { + siteItemId, + group}, callback, asyncState); + } + + /// + public int EndUpdateHeliconApeGroup(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void UpdateHeliconApeGroupAsync(int siteItemId, WebGroup group) + { + this.UpdateHeliconApeGroupAsync(siteItemId, group, null); + } + + /// + public void UpdateHeliconApeGroupAsync(int siteItemId, WebGroup group, object userState) + { + if ((this.UpdateHeliconApeGroupOperationCompleted == null)) + { + this.UpdateHeliconApeGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateHeliconApeGroupOperationCompleted); + } + this.InvokeAsync("UpdateHeliconApeGroup", new object[] { + siteItemId, + group}, this.UpdateHeliconApeGroupOperationCompleted, userState); + } + + private void OnUpdateHeliconApeGroupOperationCompleted(object arg) + { + if ((this.UpdateHeliconApeGroupCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateHeliconApeGroupCompleted(this, new UpdateHeliconApeGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteHeliconApeGroup", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DeleteHeliconApeGroup(int siteItemId, string groupName) + { + object[] results = this.Invoke("DeleteHeliconApeGroup", new object[] { + siteItemId, + groupName}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteHeliconApeGroup(int siteItemId, string groupName, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("DeleteHeliconApeGroup", new object[] { + siteItemId, + groupName}, callback, asyncState); + } + + /// + public int EndDeleteHeliconApeGroup(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void DeleteHeliconApeGroupAsync(int siteItemId, string groupName) + { + this.DeleteHeliconApeGroupAsync(siteItemId, groupName, null); + } + + /// + public void DeleteHeliconApeGroupAsync(int siteItemId, string groupName, object userState) + { + if ((this.DeleteHeliconApeGroupOperationCompleted == null)) + { + this.DeleteHeliconApeGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteHeliconApeGroupOperationCompleted); + } + this.InvokeAsync("DeleteHeliconApeGroup", new object[] { + siteItemId, + groupName}, this.DeleteHeliconApeGroupOperationCompleted, userState); + } + + private void OnDeleteHeliconApeGroupOperationCompleted(object arg) + { + if ((this.DeleteHeliconApeGroupCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteHeliconApeGroupCompleted(this, new DeleteHeliconApeGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetZooApplications", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebVirtualDirectory[] GetZooApplications(int siteItemId) + { + object[] results = this.Invoke("GetZooApplications", new object[] { + siteItemId}); + return ((WebVirtualDirectory[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetZooApplications(int siteItemId, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetZooApplications", new object[] { + siteItemId}, callback, asyncState); + } + + /// + public WebVirtualDirectory[] EndGetZooApplications(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((WebVirtualDirectory[])(results[0])); + } + + /// + public void GetZooApplicationsAsync(int siteItemId) + { + this.GetZooApplicationsAsync(siteItemId, null); + } + + /// + public void GetZooApplicationsAsync(int siteItemId, object userState) + { + if ((this.GetZooApplicationsOperationCompleted == null)) + { + this.GetZooApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetZooApplicationsOperationCompleted); + } + this.InvokeAsync("GetZooApplications", new object[] { + siteItemId}, this.GetZooApplicationsOperationCompleted, userState); + } + + private void OnGetZooApplicationsOperationCompleted(object arg) + { + if ((this.GetZooApplicationsCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetZooApplicationsCompleted(this, new GetZooApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetZooEnvironmentVariable", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public StringResultObject SetZooEnvironmentVariable(int siteItemId, string appName, string envName, string envValue) + { + object[] results = this.Invoke("SetZooEnvironmentVariable", new object[] { + siteItemId, + appName, + envName, + envValue}); + return ((StringResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginSetZooEnvironmentVariable(int siteItemId, string appName, string envName, string envValue, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("SetZooEnvironmentVariable", new object[] { + siteItemId, + appName, + envName, + envValue}, callback, asyncState); + } + + /// + public StringResultObject EndSetZooEnvironmentVariable(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((StringResultObject)(results[0])); + } + + /// + public void SetZooEnvironmentVariableAsync(int siteItemId, string appName, string envName, string envValue) + { + this.SetZooEnvironmentVariableAsync(siteItemId, appName, envName, envValue, null); + } + + /// + public void SetZooEnvironmentVariableAsync(int siteItemId, string appName, string envName, string envValue, object userState) + { + if ((this.SetZooEnvironmentVariableOperationCompleted == null)) + { + this.SetZooEnvironmentVariableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetZooEnvironmentVariableOperationCompleted); + } + this.InvokeAsync("SetZooEnvironmentVariable", new object[] { + siteItemId, + appName, + envName, + envValue}, this.SetZooEnvironmentVariableOperationCompleted, userState); + } + + private void OnSetZooEnvironmentVariableOperationCompleted(object arg) + { + if ((this.SetZooEnvironmentVariableCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SetZooEnvironmentVariableCompleted(this, new SetZooEnvironmentVariableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetZooConsoleEnabled", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public StringResultObject SetZooConsoleEnabled(int siteItemId, string appName) + { + object[] results = this.Invoke("SetZooConsoleEnabled", new object[] { + siteItemId, + appName}); + return ((StringResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginSetZooConsoleEnabled(int siteItemId, string appName, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("SetZooConsoleEnabled", new object[] { + siteItemId, + appName}, callback, asyncState); + } + + /// + public StringResultObject EndSetZooConsoleEnabled(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((StringResultObject)(results[0])); + } + + /// + public void SetZooConsoleEnabledAsync(int siteItemId, string appName) + { + this.SetZooConsoleEnabledAsync(siteItemId, appName, null); + } + + /// + public void SetZooConsoleEnabledAsync(int siteItemId, string appName, object userState) + { + if ((this.SetZooConsoleEnabledOperationCompleted == null)) + { + this.SetZooConsoleEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetZooConsoleEnabledOperationCompleted); + } + this.InvokeAsync("SetZooConsoleEnabled", new object[] { + siteItemId, + appName}, this.SetZooConsoleEnabledOperationCompleted, userState); + } + + private void OnSetZooConsoleEnabledOperationCompleted(object arg) + { + if ((this.SetZooConsoleEnabledCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SetZooConsoleEnabledCompleted(this, new SetZooConsoleEnabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetZooConsoleDisabled", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public StringResultObject SetZooConsoleDisabled(int siteItemId, string appName) + { + object[] results = this.Invoke("SetZooConsoleDisabled", new object[] { + siteItemId, + appName}); + return ((StringResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginSetZooConsoleDisabled(int siteItemId, string appName, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("SetZooConsoleDisabled", new object[] { + siteItemId, + appName}, callback, asyncState); + } + + /// + public StringResultObject EndSetZooConsoleDisabled(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((StringResultObject)(results[0])); + } + + /// + public void SetZooConsoleDisabledAsync(int siteItemId, string appName) + { + this.SetZooConsoleDisabledAsync(siteItemId, appName, null); + } + + /// + public void SetZooConsoleDisabledAsync(int siteItemId, string appName, object userState) + { + if ((this.SetZooConsoleDisabledOperationCompleted == null)) + { + this.SetZooConsoleDisabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetZooConsoleDisabledOperationCompleted); + } + this.InvokeAsync("SetZooConsoleDisabled", new object[] { + siteItemId, + appName}, this.SetZooConsoleDisabledOperationCompleted, userState); + } + + private void OnSetZooConsoleDisabledOperationCompleted(object arg) + { + if ((this.SetZooConsoleDisabledCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SetZooConsoleDisabledCompleted(this, new SetZooConsoleDisabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GrantWebManagementAccess", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject GrantWebManagementAccess(int siteItemId, string accountName, string accountPassword) + { + object[] results = this.Invoke("GrantWebManagementAccess", new object[] { + siteItemId, + accountName, + accountPassword}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginGrantWebManagementAccess(int siteItemId, string accountName, string accountPassword, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GrantWebManagementAccess", new object[] { + siteItemId, + accountName, + accountPassword}, callback, asyncState); + } + + /// + public ResultObject EndGrantWebManagementAccess(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void GrantWebManagementAccessAsync(int siteItemId, string accountName, string accountPassword) + { + this.GrantWebManagementAccessAsync(siteItemId, accountName, accountPassword, null); + } + + /// + public void GrantWebManagementAccessAsync(int siteItemId, string accountName, string accountPassword, object userState) + { + if ((this.GrantWebManagementAccessOperationCompleted == null)) + { + this.GrantWebManagementAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGrantWebManagementAccessOperationCompleted); + } + this.InvokeAsync("GrantWebManagementAccess", new object[] { + siteItemId, + accountName, + accountPassword}, this.GrantWebManagementAccessOperationCompleted, userState); + } + + private void OnGrantWebManagementAccessOperationCompleted(object arg) + { + if ((this.GrantWebManagementAccessCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GrantWebManagementAccessCompleted(this, new GrantWebManagementAccessCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RevokeWebManagementAccess", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void RevokeWebManagementAccess(int siteItemId) + { + this.Invoke("RevokeWebManagementAccess", new object[] { + siteItemId}); + } + + /// + public System.IAsyncResult BeginRevokeWebManagementAccess(int siteItemId, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("RevokeWebManagementAccess", new object[] { + siteItemId}, callback, asyncState); + } + + /// + public void EndRevokeWebManagementAccess(System.IAsyncResult asyncResult) + { + this.EndInvoke(asyncResult); + } + + /// + public void RevokeWebManagementAccessAsync(int siteItemId) + { + this.RevokeWebManagementAccessAsync(siteItemId, null); + } + + /// + public void RevokeWebManagementAccessAsync(int siteItemId, object userState) + { + if ((this.RevokeWebManagementAccessOperationCompleted == null)) + { + this.RevokeWebManagementAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRevokeWebManagementAccessOperationCompleted); + } + this.InvokeAsync("RevokeWebManagementAccess", new object[] { + siteItemId}, this.RevokeWebManagementAccessOperationCompleted, userState); + } + + private void OnRevokeWebManagementAccessOperationCompleted(object arg) + { + if ((this.RevokeWebManagementAccessCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RevokeWebManagementAccessCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ChangeWebManagementAccessPassword", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject ChangeWebManagementAccessPassword(int siteItemId, string accountPassword) + { + object[] results = this.Invoke("ChangeWebManagementAccessPassword", new object[] { + siteItemId, + accountPassword}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginChangeWebManagementAccessPassword(int siteItemId, string accountPassword, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("ChangeWebManagementAccessPassword", new object[] { + siteItemId, + accountPassword}, callback, asyncState); + } + + /// + public ResultObject EndChangeWebManagementAccessPassword(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void ChangeWebManagementAccessPasswordAsync(int siteItemId, string accountPassword) + { + this.ChangeWebManagementAccessPasswordAsync(siteItemId, accountPassword, null); + } + + /// + public void ChangeWebManagementAccessPasswordAsync(int siteItemId, string accountPassword, object userState) + { + if ((this.ChangeWebManagementAccessPasswordOperationCompleted == null)) + { + this.ChangeWebManagementAccessPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeWebManagementAccessPasswordOperationCompleted); + } + this.InvokeAsync("ChangeWebManagementAccessPassword", new object[] { + siteItemId, + accountPassword}, this.ChangeWebManagementAccessPasswordOperationCompleted, userState); + } + + private void OnChangeWebManagementAccessPasswordOperationCompleted(object arg) + { + if ((this.ChangeWebManagementAccessPasswordCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ChangeWebManagementAccessPasswordCompleted(this, new ChangeWebManagementAccessPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CertificateRequest", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate CertificateRequest(SSLCertificate certificate, int siteItemId) + { + object[] results = this.Invoke("CertificateRequest", new object[] { + certificate, + siteItemId}); + return ((SSLCertificate)(results[0])); + } + + /// + public System.IAsyncResult BeginCertificateRequest(SSLCertificate certificate, int siteItemId, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("CertificateRequest", new object[] { + certificate, + siteItemId}, callback, asyncState); + } + + /// + public SSLCertificate EndCertificateRequest(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate)(results[0])); + } + + /// + public void CertificateRequestAsync(SSLCertificate certificate, int siteItemId) + { + this.CertificateRequestAsync(certificate, siteItemId, null); + } + + /// + public void CertificateRequestAsync(SSLCertificate certificate, int siteItemId, object userState) + { + if ((this.CertificateRequestOperationCompleted == null)) + { + this.CertificateRequestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCertificateRequestOperationCompleted); + } + this.InvokeAsync("CertificateRequest", new object[] { + certificate, + siteItemId}, this.CertificateRequestOperationCompleted, userState); + } + + private void OnCertificateRequestOperationCompleted(object arg) + { + if ((this.CertificateRequestCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CertificateRequestCompleted(this, new CertificateRequestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallCertificate", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject InstallCertificate(SSLCertificate certificate, int siteItemId) + { + object[] results = this.Invoke("InstallCertificate", new object[] { + certificate, + siteItemId}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginInstallCertificate(SSLCertificate certificate, int siteItemId, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("InstallCertificate", new object[] { + certificate, + siteItemId}, callback, asyncState); + } + + /// + public ResultObject EndInstallCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void InstallCertificateAsync(SSLCertificate certificate, int siteItemId) + { + this.InstallCertificateAsync(certificate, siteItemId, null); + } + + /// + public void InstallCertificateAsync(SSLCertificate certificate, int siteItemId, object userState) + { + if ((this.InstallCertificateOperationCompleted == null)) + { + this.InstallCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallCertificateOperationCompleted); + } + this.InvokeAsync("InstallCertificate", new object[] { + certificate, + siteItemId}, this.InstallCertificateOperationCompleted, userState); + } + + private void OnInstallCertificateOperationCompleted(object arg) + { + if ((this.InstallCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.InstallCertificateCompleted(this, new InstallCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallPfx", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject InstallPfx([System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")] byte[] certificate, int siteItemId, string password) + { + object[] results = this.Invoke("InstallPfx", new object[] { + certificate, + siteItemId, + password}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginInstallPfx(byte[] certificate, int siteItemId, string password, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("InstallPfx", new object[] { + certificate, + siteItemId, + password}, callback, asyncState); + } + + /// + public ResultObject EndInstallPfx(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void InstallPfxAsync(byte[] certificate, int siteItemId, string password) + { + this.InstallPfxAsync(certificate, siteItemId, password, null); + } + + /// + public void InstallPfxAsync(byte[] certificate, int siteItemId, string password, object userState) + { + if ((this.InstallPfxOperationCompleted == null)) + { + this.InstallPfxOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallPfxOperationCompleted); + } + this.InvokeAsync("InstallPfx", new object[] { + certificate, + siteItemId, + password}, this.InstallPfxOperationCompleted, userState); + } + + private void OnInstallPfxOperationCompleted(object arg) + { + if ((this.InstallPfxCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.InstallPfxCompleted(this, new InstallPfxCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetPendingCertificates", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate[] GetPendingCertificates(int siteItemId) + { + object[] results = this.Invoke("GetPendingCertificates", new object[] { + siteItemId}); + return ((SSLCertificate[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetPendingCertificates(int siteItemId, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetPendingCertificates", new object[] { + siteItemId}, callback, asyncState); + } + + /// + public SSLCertificate[] EndGetPendingCertificates(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate[])(results[0])); + } + + /// + public void GetPendingCertificatesAsync(int siteItemId) + { + this.GetPendingCertificatesAsync(siteItemId, null); + } + + /// + public void GetPendingCertificatesAsync(int siteItemId, object userState) + { + if ((this.GetPendingCertificatesOperationCompleted == null)) + { + this.GetPendingCertificatesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPendingCertificatesOperationCompleted); + } + this.InvokeAsync("GetPendingCertificates", new object[] { + siteItemId}, this.GetPendingCertificatesOperationCompleted, userState); + } + + private void OnGetPendingCertificatesOperationCompleted(object arg) + { + if ((this.GetPendingCertificatesCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetPendingCertificatesCompleted(this, new GetPendingCertificatesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSSLCertificateByID", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate GetSSLCertificateByID(int Id) + { + object[] results = this.Invoke("GetSSLCertificateByID", new object[] { + Id}); + return ((SSLCertificate)(results[0])); + } + + /// + public System.IAsyncResult BeginGetSSLCertificateByID(int Id, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetSSLCertificateByID", new object[] { + Id}, callback, asyncState); + } + + /// + public SSLCertificate EndGetSSLCertificateByID(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate)(results[0])); + } + + /// + public void GetSSLCertificateByIDAsync(int Id) + { + this.GetSSLCertificateByIDAsync(Id, null); + } + + /// + public void GetSSLCertificateByIDAsync(int Id, object userState) + { + if ((this.GetSSLCertificateByIDOperationCompleted == null)) + { + this.GetSSLCertificateByIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSSLCertificateByIDOperationCompleted); + } + this.InvokeAsync("GetSSLCertificateByID", new object[] { + Id}, this.GetSSLCertificateByIDOperationCompleted, userState); + } + + private void OnGetSSLCertificateByIDOperationCompleted(object arg) + { + if ((this.GetSSLCertificateByIDCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSSLCertificateByIDCompleted(this, new GetSSLCertificateByIDCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSiteCert", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate GetSiteCert(int siteID) + { + object[] results = this.Invoke("GetSiteCert", new object[] { + siteID}); + return ((SSLCertificate)(results[0])); + } + + /// + public System.IAsyncResult BeginGetSiteCert(int siteID, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetSiteCert", new object[] { + siteID}, callback, asyncState); + } + + /// + public SSLCertificate EndGetSiteCert(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate)(results[0])); + } + + /// + public void GetSiteCertAsync(int siteID) + { + this.GetSiteCertAsync(siteID, null); + } + + /// + public void GetSiteCertAsync(int siteID, object userState) + { + if ((this.GetSiteCertOperationCompleted == null)) + { + this.GetSiteCertOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSiteCertOperationCompleted); + } + this.InvokeAsync("GetSiteCert", new object[] { + siteID}, this.GetSiteCertOperationCompleted, userState); + } + + private void OnGetSiteCertOperationCompleted(object arg) + { + if ((this.GetSiteCertCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSiteCertCompleted(this, new GetSiteCertCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckSSLForWebsite", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int CheckSSLForWebsite(int siteID, bool renewal) + { + object[] results = this.Invoke("CheckSSLForWebsite", new object[] { + siteID, + renewal}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginCheckSSLForWebsite(int siteID, bool renewal, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("CheckSSLForWebsite", new object[] { + siteID, + renewal}, callback, asyncState); + } + + /// + public int EndCheckSSLForWebsite(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void CheckSSLForWebsiteAsync(int siteID, bool renewal) + { + this.CheckSSLForWebsiteAsync(siteID, renewal, null); + } + + /// + public void CheckSSLForWebsiteAsync(int siteID, bool renewal, object userState) + { + if ((this.CheckSSLForWebsiteOperationCompleted == null)) + { + this.CheckSSLForWebsiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckSSLForWebsiteOperationCompleted); + } + this.InvokeAsync("CheckSSLForWebsite", new object[] { + siteID, + renewal}, this.CheckSSLForWebsiteOperationCompleted, userState); + } + + private void OnCheckSSLForWebsiteOperationCompleted(object arg) + { + if ((this.CheckSSLForWebsiteCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckSSLForWebsiteCompleted(this, new CheckSSLForWebsiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckSSLForDomain", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject CheckSSLForDomain(string domain, int siteID) + { + object[] results = this.Invoke("CheckSSLForDomain", new object[] { + domain, + siteID}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginCheckSSLForDomain(string domain, int siteID, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("CheckSSLForDomain", new object[] { + domain, + siteID}, callback, asyncState); + } + + /// + public ResultObject EndCheckSSLForDomain(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void CheckSSLForDomainAsync(string domain, int siteID) + { + this.CheckSSLForDomainAsync(domain, siteID, null); + } + + /// + public void CheckSSLForDomainAsync(string domain, int siteID, object userState) + { + if ((this.CheckSSLForDomainOperationCompleted == null)) + { + this.CheckSSLForDomainOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckSSLForDomainOperationCompleted); + } + this.InvokeAsync("CheckSSLForDomain", new object[] { + domain, + siteID}, this.CheckSSLForDomainOperationCompleted, userState); + } + + private void OnCheckSSLForDomainOperationCompleted(object arg) + { + if ((this.CheckSSLForDomainCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckSSLForDomainCompleted(this, new CheckSSLForDomainCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ExportCertificate", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + [return: System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")] + public byte[] ExportCertificate(int siteId, string serialNumber, string password) + { + object[] results = this.Invoke("ExportCertificate", new object[] { + siteId, + serialNumber, + password}); + return ((byte[])(results[0])); + } + + /// + public System.IAsyncResult BeginExportCertificate(int siteId, string serialNumber, string password, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("ExportCertificate", new object[] { + siteId, + serialNumber, + password}, callback, asyncState); + } + + /// + public byte[] EndExportCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((byte[])(results[0])); + } + + /// + public void ExportCertificateAsync(int siteId, string serialNumber, string password) + { + this.ExportCertificateAsync(siteId, serialNumber, password, null); + } + + /// + public void ExportCertificateAsync(int siteId, string serialNumber, string password, object userState) + { + if ((this.ExportCertificateOperationCompleted == null)) + { + this.ExportCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnExportCertificateOperationCompleted); + } + this.InvokeAsync("ExportCertificate", new object[] { + siteId, + serialNumber, + password}, this.ExportCertificateOperationCompleted, userState); + } + + private void OnExportCertificateOperationCompleted(object arg) + { + if ((this.ExportCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ExportCertificateCompleted(this, new ExportCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetCertificatesForSite", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate[] GetCertificatesForSite(int siteId) + { + object[] results = this.Invoke("GetCertificatesForSite", new object[] { + siteId}); + return ((SSLCertificate[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetCertificatesForSite(int siteId, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetCertificatesForSite", new object[] { + siteId}, callback, asyncState); + } + + /// + public SSLCertificate[] EndGetCertificatesForSite(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate[])(results[0])); + } + + /// + public void GetCertificatesForSiteAsync(int siteId) + { + this.GetCertificatesForSiteAsync(siteId, null); + } + + /// + public void GetCertificatesForSiteAsync(int siteId, object userState) + { + if ((this.GetCertificatesForSiteOperationCompleted == null)) + { + this.GetCertificatesForSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCertificatesForSiteOperationCompleted); + } + this.InvokeAsync("GetCertificatesForSite", new object[] { + siteId}, this.GetCertificatesForSiteOperationCompleted, userState); + } + + private void OnGetCertificatesForSiteOperationCompleted(object arg) + { + if ((this.GetCertificatesForSiteCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetCertificatesForSiteCompleted(this, new GetCertificatesForSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteCertificate", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject DeleteCertificate(int siteId, SSLCertificate certificate) + { + object[] results = this.Invoke("DeleteCertificate", new object[] { + siteId, + certificate}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteCertificate(int siteId, SSLCertificate certificate, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("DeleteCertificate", new object[] { + siteId, + certificate}, callback, asyncState); + } + + /// + public ResultObject EndDeleteCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void DeleteCertificateAsync(int siteId, SSLCertificate certificate) + { + this.DeleteCertificateAsync(siteId, certificate, null); + } + + /// + public void DeleteCertificateAsync(int siteId, SSLCertificate certificate, object userState) + { + if ((this.DeleteCertificateOperationCompleted == null)) + { + this.DeleteCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteCertificateOperationCompleted); + } + this.InvokeAsync("DeleteCertificate", new object[] { + siteId, + certificate}, this.DeleteCertificateOperationCompleted, userState); + } + + private void OnDeleteCertificateOperationCompleted(object arg) + { + if ((this.DeleteCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteCertificateCompleted(this, new DeleteCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ImportCertificate", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject ImportCertificate(int siteId) + { + object[] results = this.Invoke("ImportCertificate", new object[] { + siteId}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginImportCertificate(int siteId, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("ImportCertificate", new object[] { + siteId}, callback, asyncState); + } + + /// + public ResultObject EndImportCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void ImportCertificateAsync(int siteId) + { + this.ImportCertificateAsync(siteId, null); + } + + /// + public void ImportCertificateAsync(int siteId, object userState) + { + if ((this.ImportCertificateOperationCompleted == null)) + { + this.ImportCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnImportCertificateOperationCompleted); + } + this.InvokeAsync("ImportCertificate", new object[] { + siteId}, this.ImportCertificateOperationCompleted, userState); + } + + private void OnImportCertificateOperationCompleted(object arg) + { + if ((this.ImportCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ImportCertificateCompleted(this, new ImportCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckCertificate", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject CheckCertificate(int siteId) + { + object[] results = this.Invoke("CheckCertificate", new object[] { + siteId}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginCheckCertificate(int siteId, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("CheckCertificate", new object[] { + siteId}, callback, asyncState); + } + + /// + public ResultObject EndCheckCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void CheckCertificateAsync(int siteId) + { + this.CheckCertificateAsync(siteId, null); + } + + /// + public void CheckCertificateAsync(int siteId, object userState) + { + if ((this.CheckCertificateOperationCompleted == null)) + { + this.CheckCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckCertificateOperationCompleted); + } + this.InvokeAsync("CheckCertificate", new object[] { + siteId}, this.CheckCertificateOperationCompleted, userState); + } + + private void OnCheckCertificateOperationCompleted(object arg) + { + if ((this.CheckCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckCertificateCompleted(this, new CheckCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteCertificateRequest", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject DeleteCertificateRequest(int siteId, int csrID) + { + object[] results = this.Invoke("DeleteCertificateRequest", new object[] { + siteId, + csrID}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteCertificateRequest(int siteId, int csrID, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("DeleteCertificateRequest", new object[] { + siteId, + csrID}, callback, asyncState); + } + + /// + public ResultObject EndDeleteCertificateRequest(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void DeleteCertificateRequestAsync(int siteId, int csrID) + { + this.DeleteCertificateRequestAsync(siteId, csrID, null); + } + + /// + public void DeleteCertificateRequestAsync(int siteId, int csrID, object userState) + { + if ((this.DeleteCertificateRequestOperationCompleted == null)) + { + this.DeleteCertificateRequestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteCertificateRequestOperationCompleted); + } + this.InvokeAsync("DeleteCertificateRequest", new object[] { + siteId, + csrID}, this.DeleteCertificateRequestOperationCompleted, userState); + } + + private void OnDeleteCertificateRequestOperationCompleted(object arg) + { + if ((this.DeleteCertificateRequestCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteCertificateRequestCompleted(this, new DeleteCertificateRequestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetDirectoryBrowseEnabled", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool GetDirectoryBrowseEnabled(int itemId, string site) + { + object[] results = this.Invoke("GetDirectoryBrowseEnabled", new object[] { + itemId, + site}); + return ((bool)(results[0])); + } + + /// + public System.IAsyncResult BeginGetDirectoryBrowseEnabled(int itemId, string site, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetDirectoryBrowseEnabled", new object[] { + itemId, + site}, callback, asyncState); + } + + /// + public bool EndGetDirectoryBrowseEnabled(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((bool)(results[0])); + } + + /// + public void GetDirectoryBrowseEnabledAsync(int itemId, string site) + { + this.GetDirectoryBrowseEnabledAsync(itemId, site, null); + } + + /// + public void GetDirectoryBrowseEnabledAsync(int itemId, string site, object userState) + { + if ((this.GetDirectoryBrowseEnabledOperationCompleted == null)) + { + this.GetDirectoryBrowseEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDirectoryBrowseEnabledOperationCompleted); + } + this.InvokeAsync("GetDirectoryBrowseEnabled", new object[] { + itemId, + site}, this.GetDirectoryBrowseEnabledOperationCompleted, userState); + } + + private void OnGetDirectoryBrowseEnabledOperationCompleted(object arg) + { + if ((this.GetDirectoryBrowseEnabledCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetDirectoryBrowseEnabledCompleted(this, new GetDirectoryBrowseEnabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetDirectoryBrowseEnabled", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void SetDirectoryBrowseEnabled(int itemId, string site, bool enabled) + { + this.Invoke("SetDirectoryBrowseEnabled", new object[] { + itemId, + site, + enabled}); + } + + /// + public System.IAsyncResult BeginSetDirectoryBrowseEnabled(int itemId, string site, bool enabled, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("SetDirectoryBrowseEnabled", new object[] { + itemId, + site, + enabled}, callback, asyncState); + } + + /// + public void EndSetDirectoryBrowseEnabled(System.IAsyncResult asyncResult) + { + this.EndInvoke(asyncResult); + } + + /// + public void SetDirectoryBrowseEnabledAsync(int itemId, string site, bool enabled) + { + this.SetDirectoryBrowseEnabledAsync(itemId, site, enabled, null); + } + + /// + public void SetDirectoryBrowseEnabledAsync(int itemId, string site, bool enabled, object userState) + { + if ((this.SetDirectoryBrowseEnabledOperationCompleted == null)) + { + this.SetDirectoryBrowseEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetDirectoryBrowseEnabledOperationCompleted); + } + this.InvokeAsync("SetDirectoryBrowseEnabled", new object[] { + itemId, + site, + enabled}, this.SetDirectoryBrowseEnabledOperationCompleted, userState); + } + + private void OnSetDirectoryBrowseEnabledOperationCompleted(object arg) + { + if ((this.SetDirectoryBrowseEnabledCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SetDirectoryBrowseEnabledCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawWebSitesPaged", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawWebSitesPaged(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) + { object[] results = this.Invoke("GetRawWebSitesPaged", new object[] { packageId, filterColumn, @@ -528,9 +1987,10 @@ namespace WebsitePanel.EnterpriseServer { maximumRows}); return ((System.Data.DataSet)(results[0])); } - + /// - public System.IAsyncResult BeginGetRawWebSitesPaged(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetRawWebSitesPaged(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetRawWebSitesPaged", new object[] { packageId, filterColumn, @@ -539,21 +1999,25 @@ namespace WebsitePanel.EnterpriseServer { startRow, maximumRows}, callback, asyncState); } - + /// - public System.Data.DataSet EndGetRawWebSitesPaged(System.IAsyncResult asyncResult) { + public System.Data.DataSet EndGetRawWebSitesPaged(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((System.Data.DataSet)(results[0])); } - + /// - public void GetRawWebSitesPagedAsync(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) { + public void GetRawWebSitesPagedAsync(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) + { this.GetRawWebSitesPagedAsync(packageId, filterColumn, filterValue, sortColumn, startRow, maximumRows, null); } - + /// - public void GetRawWebSitesPagedAsync(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) { - if ((this.GetRawWebSitesPagedOperationCompleted == null)) { + public void GetRawWebSitesPagedAsync(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) + { + if ((this.GetRawWebSitesPagedOperationCompleted == null)) + { this.GetRawWebSitesPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawWebSitesPagedOperationCompleted); } this.InvokeAsync("GetRawWebSitesPaged", new object[] { @@ -564,257 +2028,305 @@ namespace WebsitePanel.EnterpriseServer { startRow, maximumRows}, this.GetRawWebSitesPagedOperationCompleted, userState); } - - private void OnGetRawWebSitesPagedOperationCompleted(object arg) { - if ((this.GetRawWebSitesPagedCompleted != null)) { + + private void OnGetRawWebSitesPagedOperationCompleted(object arg) + { + if ((this.GetRawWebSitesPagedCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetRawWebSitesPagedCompleted(this, new GetRawWebSitesPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebSites", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebSite[] GetWebSites(int packageId, bool recursive) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebSites", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebSite[] GetWebSites(int packageId, bool recursive) + { object[] results = this.Invoke("GetWebSites", new object[] { packageId, recursive}); return ((WebSite[])(results[0])); } - + /// - public System.IAsyncResult BeginGetWebSites(int packageId, bool recursive, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetWebSites(int packageId, bool recursive, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetWebSites", new object[] { packageId, recursive}, callback, asyncState); } - + /// - public WebSite[] EndGetWebSites(System.IAsyncResult asyncResult) { + public WebSite[] EndGetWebSites(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebSite[])(results[0])); } - + /// - public void GetWebSitesAsync(int packageId, bool recursive) { + public void GetWebSitesAsync(int packageId, bool recursive) + { this.GetWebSitesAsync(packageId, recursive, null); } - + /// - public void GetWebSitesAsync(int packageId, bool recursive, object userState) { - if ((this.GetWebSitesOperationCompleted == null)) { + public void GetWebSitesAsync(int packageId, bool recursive, object userState) + { + if ((this.GetWebSitesOperationCompleted == null)) + { this.GetWebSitesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWebSitesOperationCompleted); } this.InvokeAsync("GetWebSites", new object[] { packageId, recursive}, this.GetWebSitesOperationCompleted, userState); } - - private void OnGetWebSitesOperationCompleted(object arg) { - if ((this.GetWebSitesCompleted != null)) { + + private void OnGetWebSitesOperationCompleted(object arg) + { + if ((this.GetWebSitesCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetWebSitesCompleted(this, new GetWebSitesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebSite", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebSite GetWebSite(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebSite", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebSite GetWebSite(int siteItemId) + { object[] results = this.Invoke("GetWebSite", new object[] { siteItemId}); return ((WebSite)(results[0])); } - + /// - public System.IAsyncResult BeginGetWebSite(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetWebSite(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetWebSite", new object[] { siteItemId}, callback, asyncState); } - + /// - public WebSite EndGetWebSite(System.IAsyncResult asyncResult) { + public WebSite EndGetWebSite(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebSite)(results[0])); } - + /// - public void GetWebSiteAsync(int siteItemId) { + public void GetWebSiteAsync(int siteItemId) + { this.GetWebSiteAsync(siteItemId, null); } - + /// - public void GetWebSiteAsync(int siteItemId, object userState) { - if ((this.GetWebSiteOperationCompleted == null)) { + public void GetWebSiteAsync(int siteItemId, object userState) + { + if ((this.GetWebSiteOperationCompleted == null)) + { this.GetWebSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWebSiteOperationCompleted); } this.InvokeAsync("GetWebSite", new object[] { siteItemId}, this.GetWebSiteOperationCompleted, userState); } - - private void OnGetWebSiteOperationCompleted(object arg) { - if ((this.GetWebSiteCompleted != null)) { + + private void OnGetWebSiteOperationCompleted(object arg) + { + if ((this.GetWebSiteCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetWebSiteCompleted(this, new GetWebSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetVirtualDirectories", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebVirtualDirectory[] GetVirtualDirectories(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetVirtualDirectories", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebVirtualDirectory[] GetVirtualDirectories(int siteItemId) + { object[] results = this.Invoke("GetVirtualDirectories", new object[] { siteItemId}); return ((WebVirtualDirectory[])(results[0])); } - + /// - public System.IAsyncResult BeginGetVirtualDirectories(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetVirtualDirectories(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetVirtualDirectories", new object[] { siteItemId}, callback, asyncState); } - + /// - public WebVirtualDirectory[] EndGetVirtualDirectories(System.IAsyncResult asyncResult) { + public WebVirtualDirectory[] EndGetVirtualDirectories(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebVirtualDirectory[])(results[0])); } - + /// - public void GetVirtualDirectoriesAsync(int siteItemId) { + public void GetVirtualDirectoriesAsync(int siteItemId) + { this.GetVirtualDirectoriesAsync(siteItemId, null); } - + /// - public void GetVirtualDirectoriesAsync(int siteItemId, object userState) { - if ((this.GetVirtualDirectoriesOperationCompleted == null)) { + public void GetVirtualDirectoriesAsync(int siteItemId, object userState) + { + if ((this.GetVirtualDirectoriesOperationCompleted == null)) + { this.GetVirtualDirectoriesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVirtualDirectoriesOperationCompleted); } this.InvokeAsync("GetVirtualDirectories", new object[] { siteItemId}, this.GetVirtualDirectoriesOperationCompleted, userState); } - - private void OnGetVirtualDirectoriesOperationCompleted(object arg) { - if ((this.GetVirtualDirectoriesCompleted != null)) { + + private void OnGetVirtualDirectoriesOperationCompleted(object arg) + { + if ((this.GetVirtualDirectoriesCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetVirtualDirectoriesCompleted(this, new GetVirtualDirectoriesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetVirtualDirectory", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebVirtualDirectory GetVirtualDirectory(int siteItemId, string vdirName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetVirtualDirectory", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebVirtualDirectory GetVirtualDirectory(int siteItemId, string vdirName) + { object[] results = this.Invoke("GetVirtualDirectory", new object[] { siteItemId, vdirName}); return ((WebVirtualDirectory)(results[0])); } - + /// - public System.IAsyncResult BeginGetVirtualDirectory(int siteItemId, string vdirName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetVirtualDirectory(int siteItemId, string vdirName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetVirtualDirectory", new object[] { siteItemId, vdirName}, callback, asyncState); } - + /// - public WebVirtualDirectory EndGetVirtualDirectory(System.IAsyncResult asyncResult) { + public WebVirtualDirectory EndGetVirtualDirectory(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebVirtualDirectory)(results[0])); } - + /// - public void GetVirtualDirectoryAsync(int siteItemId, string vdirName) { + public void GetVirtualDirectoryAsync(int siteItemId, string vdirName) + { this.GetVirtualDirectoryAsync(siteItemId, vdirName, null); } - + /// - public void GetVirtualDirectoryAsync(int siteItemId, string vdirName, object userState) { - if ((this.GetVirtualDirectoryOperationCompleted == null)) { + public void GetVirtualDirectoryAsync(int siteItemId, string vdirName, object userState) + { + if ((this.GetVirtualDirectoryOperationCompleted == null)) + { this.GetVirtualDirectoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVirtualDirectoryOperationCompleted); } this.InvokeAsync("GetVirtualDirectory", new object[] { siteItemId, vdirName}, this.GetVirtualDirectoryOperationCompleted, userState); } - - private void OnGetVirtualDirectoryOperationCompleted(object arg) { - if ((this.GetVirtualDirectoryCompleted != null)) { + + private void OnGetVirtualDirectoryOperationCompleted(object arg) + { + if ((this.GetVirtualDirectoryCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetVirtualDirectoryCompleted(this, new GetVirtualDirectoryCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebSitePointers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public DomainInfo[] GetWebSitePointers(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebSitePointers", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public DomainInfo[] GetWebSitePointers(int siteItemId) + { object[] results = this.Invoke("GetWebSitePointers", new object[] { siteItemId}); return ((DomainInfo[])(results[0])); } - + /// - public System.IAsyncResult BeginGetWebSitePointers(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetWebSitePointers(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetWebSitePointers", new object[] { siteItemId}, callback, asyncState); } - + /// - public DomainInfo[] EndGetWebSitePointers(System.IAsyncResult asyncResult) { + public DomainInfo[] EndGetWebSitePointers(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((DomainInfo[])(results[0])); } - + /// - public void GetWebSitePointersAsync(int siteItemId) { + public void GetWebSitePointersAsync(int siteItemId) + { this.GetWebSitePointersAsync(siteItemId, null); } - + /// - public void GetWebSitePointersAsync(int siteItemId, object userState) { - if ((this.GetWebSitePointersOperationCompleted == null)) { + public void GetWebSitePointersAsync(int siteItemId, object userState) + { + if ((this.GetWebSitePointersOperationCompleted == null)) + { this.GetWebSitePointersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWebSitePointersOperationCompleted); } this.InvokeAsync("GetWebSitePointers", new object[] { siteItemId}, this.GetWebSitePointersOperationCompleted, userState); } - - private void OnGetWebSitePointersOperationCompleted(object arg) { - if ((this.GetWebSitePointersCompleted != null)) { + + private void OnGetWebSitePointersOperationCompleted(object arg) + { + if ((this.GetWebSitePointersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetWebSitePointersCompleted(this, new GetWebSitePointersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddWebSitePointer", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int AddWebSitePointer(int siteItemId, string hostName, int domainId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddWebSitePointer", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int AddWebSitePointer(int siteItemId, string hostName, int domainId) + { object[] results = this.Invoke("AddWebSitePointer", new object[] { siteItemId, hostName, domainId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginAddWebSitePointer(int siteItemId, string hostName, int domainId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginAddWebSitePointer(int siteItemId, string hostName, int domainId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("AddWebSitePointer", new object[] { siteItemId, hostName, domainId}, callback, asyncState); } - + /// - public int EndAddWebSitePointer(System.IAsyncResult asyncResult) { + public int EndAddWebSitePointer(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void AddWebSitePointerAsync(int siteItemId, string hostName, int domainId) { + public void AddWebSitePointerAsync(int siteItemId, string hostName, int domainId) + { this.AddWebSitePointerAsync(siteItemId, hostName, domainId, null); } - + /// - public void AddWebSitePointerAsync(int siteItemId, string hostName, int domainId, object userState) { - if ((this.AddWebSitePointerOperationCompleted == null)) { + public void AddWebSitePointerAsync(int siteItemId, string hostName, int domainId, object userState) + { + if ((this.AddWebSitePointerOperationCompleted == null)) + { this.AddWebSitePointerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddWebSitePointerOperationCompleted); } this.InvokeAsync("AddWebSitePointer", new object[] { @@ -822,61 +2334,72 @@ namespace WebsitePanel.EnterpriseServer { hostName, domainId}, this.AddWebSitePointerOperationCompleted, userState); } - - private void OnAddWebSitePointerOperationCompleted(object arg) { - if ((this.AddWebSitePointerCompleted != null)) { + + private void OnAddWebSitePointerOperationCompleted(object arg) + { + if ((this.AddWebSitePointerCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddWebSitePointerCompleted(this, new AddWebSitePointerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteWebSitePointer", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DeleteWebSitePointer(int siteItemId, int domainId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteWebSitePointer", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DeleteWebSitePointer(int siteItemId, int domainId) + { object[] results = this.Invoke("DeleteWebSitePointer", new object[] { siteItemId, domainId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginDeleteWebSitePointer(int siteItemId, int domainId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteWebSitePointer(int siteItemId, int domainId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteWebSitePointer", new object[] { siteItemId, domainId}, callback, asyncState); } - + /// - public int EndDeleteWebSitePointer(System.IAsyncResult asyncResult) { + public int EndDeleteWebSitePointer(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void DeleteWebSitePointerAsync(int siteItemId, int domainId) { + public void DeleteWebSitePointerAsync(int siteItemId, int domainId) + { this.DeleteWebSitePointerAsync(siteItemId, domainId, null); } - + /// - public void DeleteWebSitePointerAsync(int siteItemId, int domainId, object userState) { - if ((this.DeleteWebSitePointerOperationCompleted == null)) { + public void DeleteWebSitePointerAsync(int siteItemId, int domainId, object userState) + { + if ((this.DeleteWebSitePointerOperationCompleted == null)) + { this.DeleteWebSitePointerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteWebSitePointerOperationCompleted); } this.InvokeAsync("DeleteWebSitePointer", new object[] { siteItemId, domainId}, this.DeleteWebSitePointerOperationCompleted, userState); } - - private void OnDeleteWebSitePointerOperationCompleted(object arg) { - if ((this.DeleteWebSitePointerCompleted != null)) { + + private void OnDeleteWebSitePointerOperationCompleted(object arg) + { + if ((this.DeleteWebSitePointerCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteWebSitePointerCompleted(this, new DeleteWebSitePointerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddWebSite", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int AddWebSite(int packageId, string hostName, int domainId, int ipAddressId, bool ignoreGlobalDNSZone) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddWebSite", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int AddWebSite(int packageId, string hostName, int domainId, int ipAddressId, bool ignoreGlobalDNSZone) + { object[] results = this.Invoke("AddWebSite", new object[] { packageId, hostName, @@ -885,9 +2408,10 @@ namespace WebsitePanel.EnterpriseServer { ignoreGlobalDNSZone}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginAddWebSite(int packageId, string hostName, int domainId, int ipAddressId, bool ignoreGlobalDNSZone, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginAddWebSite(int packageId, string hostName, int domainId, int ipAddressId, bool ignoreGlobalDNSZone, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("AddWebSite", new object[] { packageId, hostName, @@ -895,21 +2419,25 @@ namespace WebsitePanel.EnterpriseServer { ipAddressId, ignoreGlobalDNSZone}, callback, asyncState); } - + /// - public int EndAddWebSite(System.IAsyncResult asyncResult) { + public int EndAddWebSite(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void AddWebSiteAsync(int packageId, string hostName, int domainId, int ipAddressId, bool ignoreGlobalDNSZone) { + public void AddWebSiteAsync(int packageId, string hostName, int domainId, int ipAddressId, bool ignoreGlobalDNSZone) + { this.AddWebSiteAsync(packageId, hostName, domainId, ipAddressId, ignoreGlobalDNSZone, null); } - + /// - public void AddWebSiteAsync(int packageId, string hostName, int domainId, int ipAddressId, bool ignoreGlobalDNSZone, object userState) { - if ((this.AddWebSiteOperationCompleted == null)) { + public void AddWebSiteAsync(int packageId, string hostName, int domainId, int ipAddressId, bool ignoreGlobalDNSZone, object userState) + { + if ((this.AddWebSiteOperationCompleted == null)) + { this.AddWebSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddWebSiteOperationCompleted); } this.InvokeAsync("AddWebSite", new object[] { @@ -919,17 +2447,20 @@ namespace WebsitePanel.EnterpriseServer { ipAddressId, ignoreGlobalDNSZone}, this.AddWebSiteOperationCompleted, userState); } - - private void OnAddWebSiteOperationCompleted(object arg) { - if ((this.AddWebSiteCompleted != null)) { + + private void OnAddWebSiteOperationCompleted(object arg) + { + if ((this.AddWebSiteCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddWebSiteCompleted(this, new AddWebSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddVirtualDirectory", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int AddVirtualDirectory(int siteItemId, string vdirName, string vdirPath, string aspNetVersion) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddVirtualDirectory", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int AddVirtualDirectory(int siteItemId, string vdirName, string vdirPath, string aspNetVersion) + { object[] results = this.Invoke("AddVirtualDirectory", new object[] { siteItemId, vdirName, @@ -937,30 +2468,35 @@ namespace WebsitePanel.EnterpriseServer { aspNetVersion}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginAddVirtualDirectory(int siteItemId, string vdirName, string vdirPath, string aspNetVersion, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginAddVirtualDirectory(int siteItemId, string vdirName, string vdirPath, string aspNetVersion, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("AddVirtualDirectory", new object[] { siteItemId, vdirName, vdirPath, aspNetVersion}, callback, asyncState); } - + /// - public int EndAddVirtualDirectory(System.IAsyncResult asyncResult) { + public int EndAddVirtualDirectory(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void AddVirtualDirectoryAsync(int siteItemId, string vdirName, string vdirPath, string aspNetVersion) { + public void AddVirtualDirectoryAsync(int siteItemId, string vdirName, string vdirPath, string aspNetVersion) + { this.AddVirtualDirectoryAsync(siteItemId, vdirName, vdirPath, aspNetVersion, null); } - + /// - public void AddVirtualDirectoryAsync(int siteItemId, string vdirName, string vdirPath, string aspNetVersion, object userState) { - if ((this.AddVirtualDirectoryOperationCompleted == null)) { + public void AddVirtualDirectoryAsync(int siteItemId, string vdirName, string vdirPath, string aspNetVersion, object userState) + { + if ((this.AddVirtualDirectoryOperationCompleted == null)) + { this.AddVirtualDirectoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddVirtualDirectoryOperationCompleted); } this.InvokeAsync("AddVirtualDirectory", new object[] { @@ -969,87 +2505,103 @@ namespace WebsitePanel.EnterpriseServer { vdirPath, aspNetVersion}, this.AddVirtualDirectoryOperationCompleted, userState); } - - private void OnAddVirtualDirectoryOperationCompleted(object arg) { - if ((this.AddVirtualDirectoryCompleted != null)) { + + private void OnAddVirtualDirectoryOperationCompleted(object arg) + { + if ((this.AddVirtualDirectoryCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddVirtualDirectoryCompleted(this, new AddVirtualDirectoryCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateWebSite", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UpdateWebSite(WebSite site) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateWebSite", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UpdateWebSite(WebSite site) + { object[] results = this.Invoke("UpdateWebSite", new object[] { site}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUpdateWebSite(WebSite site, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateWebSite(WebSite site, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateWebSite", new object[] { site}, callback, asyncState); } - + /// - public int EndUpdateWebSite(System.IAsyncResult asyncResult) { + public int EndUpdateWebSite(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UpdateWebSiteAsync(WebSite site) { + public void UpdateWebSiteAsync(WebSite site) + { this.UpdateWebSiteAsync(site, null); } - + /// - public void UpdateWebSiteAsync(WebSite site, object userState) { - if ((this.UpdateWebSiteOperationCompleted == null)) { + public void UpdateWebSiteAsync(WebSite site, object userState) + { + if ((this.UpdateWebSiteOperationCompleted == null)) + { this.UpdateWebSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateWebSiteOperationCompleted); } this.InvokeAsync("UpdateWebSite", new object[] { site}, this.UpdateWebSiteOperationCompleted, userState); } - - private void OnUpdateWebSiteOperationCompleted(object arg) { - if ((this.UpdateWebSiteCompleted != null)) { + + private void OnUpdateWebSiteOperationCompleted(object arg) + { + if ((this.UpdateWebSiteCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateWebSiteCompleted(this, new UpdateWebSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallFrontPage", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int InstallFrontPage(int siteItemId, string username, string password) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallFrontPage", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int InstallFrontPage(int siteItemId, string username, string password) + { object[] results = this.Invoke("InstallFrontPage", new object[] { siteItemId, username, password}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginInstallFrontPage(int siteItemId, string username, string password, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginInstallFrontPage(int siteItemId, string username, string password, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("InstallFrontPage", new object[] { siteItemId, username, password}, callback, asyncState); } - + /// - public int EndInstallFrontPage(System.IAsyncResult asyncResult) { + public int EndInstallFrontPage(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void InstallFrontPageAsync(int siteItemId, string username, string password) { + public void InstallFrontPageAsync(int siteItemId, string username, string password) + { this.InstallFrontPageAsync(siteItemId, username, password, null); } - + /// - public void InstallFrontPageAsync(int siteItemId, string username, string password, object userState) { - if ((this.InstallFrontPageOperationCompleted == null)) { + public void InstallFrontPageAsync(int siteItemId, string username, string password, object userState) + { + if ((this.InstallFrontPageOperationCompleted == null)) + { this.InstallFrontPageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallFrontPageOperationCompleted); } this.InvokeAsync("InstallFrontPage", new object[] { @@ -1057,530 +2609,629 @@ namespace WebsitePanel.EnterpriseServer { username, password}, this.InstallFrontPageOperationCompleted, userState); } - - private void OnInstallFrontPageOperationCompleted(object arg) { - if ((this.InstallFrontPageCompleted != null)) { + + private void OnInstallFrontPageOperationCompleted(object arg) + { + if ((this.InstallFrontPageCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.InstallFrontPageCompleted(this, new InstallFrontPageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UninstallFrontPage", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UninstallFrontPage(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UninstallFrontPage", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UninstallFrontPage(int siteItemId) + { object[] results = this.Invoke("UninstallFrontPage", new object[] { siteItemId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUninstallFrontPage(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUninstallFrontPage(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UninstallFrontPage", new object[] { siteItemId}, callback, asyncState); } - + /// - public int EndUninstallFrontPage(System.IAsyncResult asyncResult) { + public int EndUninstallFrontPage(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UninstallFrontPageAsync(int siteItemId) { + public void UninstallFrontPageAsync(int siteItemId) + { this.UninstallFrontPageAsync(siteItemId, null); } - + /// - public void UninstallFrontPageAsync(int siteItemId, object userState) { - if ((this.UninstallFrontPageOperationCompleted == null)) { + public void UninstallFrontPageAsync(int siteItemId, object userState) + { + if ((this.UninstallFrontPageOperationCompleted == null)) + { this.UninstallFrontPageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUninstallFrontPageOperationCompleted); } this.InvokeAsync("UninstallFrontPage", new object[] { siteItemId}, this.UninstallFrontPageOperationCompleted, userState); } - - private void OnUninstallFrontPageOperationCompleted(object arg) { - if ((this.UninstallFrontPageCompleted != null)) { + + private void OnUninstallFrontPageOperationCompleted(object arg) + { + if ((this.UninstallFrontPageCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UninstallFrontPageCompleted(this, new UninstallFrontPageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ChangeFrontPagePassword", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int ChangeFrontPagePassword(int siteItemId, string password) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ChangeFrontPagePassword", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int ChangeFrontPagePassword(int siteItemId, string password) + { object[] results = this.Invoke("ChangeFrontPagePassword", new object[] { siteItemId, password}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginChangeFrontPagePassword(int siteItemId, string password, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginChangeFrontPagePassword(int siteItemId, string password, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("ChangeFrontPagePassword", new object[] { siteItemId, password}, callback, asyncState); } - + /// - public int EndChangeFrontPagePassword(System.IAsyncResult asyncResult) { + public int EndChangeFrontPagePassword(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void ChangeFrontPagePasswordAsync(int siteItemId, string password) { + public void ChangeFrontPagePasswordAsync(int siteItemId, string password) + { this.ChangeFrontPagePasswordAsync(siteItemId, password, null); } - + /// - public void ChangeFrontPagePasswordAsync(int siteItemId, string password, object userState) { - if ((this.ChangeFrontPagePasswordOperationCompleted == null)) { + public void ChangeFrontPagePasswordAsync(int siteItemId, string password, object userState) + { + if ((this.ChangeFrontPagePasswordOperationCompleted == null)) + { this.ChangeFrontPagePasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeFrontPagePasswordOperationCompleted); } this.InvokeAsync("ChangeFrontPagePassword", new object[] { siteItemId, password}, this.ChangeFrontPagePasswordOperationCompleted, userState); } - - private void OnChangeFrontPagePasswordOperationCompleted(object arg) { - if ((this.ChangeFrontPagePasswordCompleted != null)) { + + private void OnChangeFrontPagePasswordOperationCompleted(object arg) + { + if ((this.ChangeFrontPagePasswordCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ChangeFrontPagePasswordCompleted(this, new ChangeFrontPagePasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RepairWebSite", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int RepairWebSite(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RepairWebSite", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int RepairWebSite(int siteItemId) + { object[] results = this.Invoke("RepairWebSite", new object[] { siteItemId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginRepairWebSite(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginRepairWebSite(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("RepairWebSite", new object[] { siteItemId}, callback, asyncState); } - + /// - public int EndRepairWebSite(System.IAsyncResult asyncResult) { + public int EndRepairWebSite(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void RepairWebSiteAsync(int siteItemId) { + public void RepairWebSiteAsync(int siteItemId) + { this.RepairWebSiteAsync(siteItemId, null); } - + /// - public void RepairWebSiteAsync(int siteItemId, object userState) { - if ((this.RepairWebSiteOperationCompleted == null)) { + public void RepairWebSiteAsync(int siteItemId, object userState) + { + if ((this.RepairWebSiteOperationCompleted == null)) + { this.RepairWebSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRepairWebSiteOperationCompleted); } this.InvokeAsync("RepairWebSite", new object[] { siteItemId}, this.RepairWebSiteOperationCompleted, userState); } - - private void OnRepairWebSiteOperationCompleted(object arg) { - if ((this.RepairWebSiteCompleted != null)) { + + private void OnRepairWebSiteOperationCompleted(object arg) + { + if ((this.RepairWebSiteCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.RepairWebSiteCompleted(this, new RepairWebSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateVirtualDirectory", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UpdateVirtualDirectory(int siteItemId, WebVirtualDirectory vdir) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateVirtualDirectory", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UpdateVirtualDirectory(int siteItemId, WebVirtualDirectory vdir) + { object[] results = this.Invoke("UpdateVirtualDirectory", new object[] { siteItemId, vdir}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUpdateVirtualDirectory(int siteItemId, WebVirtualDirectory vdir, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateVirtualDirectory(int siteItemId, WebVirtualDirectory vdir, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateVirtualDirectory", new object[] { siteItemId, vdir}, callback, asyncState); } - + /// - public int EndUpdateVirtualDirectory(System.IAsyncResult asyncResult) { + public int EndUpdateVirtualDirectory(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UpdateVirtualDirectoryAsync(int siteItemId, WebVirtualDirectory vdir) { + public void UpdateVirtualDirectoryAsync(int siteItemId, WebVirtualDirectory vdir) + { this.UpdateVirtualDirectoryAsync(siteItemId, vdir, null); } - + /// - public void UpdateVirtualDirectoryAsync(int siteItemId, WebVirtualDirectory vdir, object userState) { - if ((this.UpdateVirtualDirectoryOperationCompleted == null)) { + public void UpdateVirtualDirectoryAsync(int siteItemId, WebVirtualDirectory vdir, object userState) + { + if ((this.UpdateVirtualDirectoryOperationCompleted == null)) + { this.UpdateVirtualDirectoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateVirtualDirectoryOperationCompleted); } this.InvokeAsync("UpdateVirtualDirectory", new object[] { siteItemId, vdir}, this.UpdateVirtualDirectoryOperationCompleted, userState); } - - private void OnUpdateVirtualDirectoryOperationCompleted(object arg) { - if ((this.UpdateVirtualDirectoryCompleted != null)) { + + private void OnUpdateVirtualDirectoryOperationCompleted(object arg) + { + if ((this.UpdateVirtualDirectoryCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateVirtualDirectoryCompleted(this, new UpdateVirtualDirectoryCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteWebSite", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DeleteWebSite(int siteItemId, bool deleteWebsiteDirectory) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteWebSite", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DeleteWebSite(int siteItemId, bool deleteWebsiteDirectory) + { object[] results = this.Invoke("DeleteWebSite", new object[] { siteItemId, deleteWebsiteDirectory}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginDeleteWebSite(int siteItemId, bool deleteWebsiteDirectory, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteWebSite(int siteItemId, bool deleteWebsiteDirectory, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteWebSite", new object[] { siteItemId, deleteWebsiteDirectory}, callback, asyncState); } - + /// - public int EndDeleteWebSite(System.IAsyncResult asyncResult) { + public int EndDeleteWebSite(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void DeleteWebSiteAsync(int siteItemId, bool deleteWebsiteDirectory) { + public void DeleteWebSiteAsync(int siteItemId, bool deleteWebsiteDirectory) + { this.DeleteWebSiteAsync(siteItemId, deleteWebsiteDirectory, null); } - + /// - public void DeleteWebSiteAsync(int siteItemId, bool deleteWebsiteDirectory, object userState) { - if ((this.DeleteWebSiteOperationCompleted == null)) { + public void DeleteWebSiteAsync(int siteItemId, bool deleteWebsiteDirectory, object userState) + { + if ((this.DeleteWebSiteOperationCompleted == null)) + { this.DeleteWebSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteWebSiteOperationCompleted); } this.InvokeAsync("DeleteWebSite", new object[] { siteItemId, deleteWebsiteDirectory}, this.DeleteWebSiteOperationCompleted, userState); } - - private void OnDeleteWebSiteOperationCompleted(object arg) { - if ((this.DeleteWebSiteCompleted != null)) { + + private void OnDeleteWebSiteOperationCompleted(object arg) + { + if ((this.DeleteWebSiteCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteWebSiteCompleted(this, new DeleteWebSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SwitchWebSiteToDedicatedIP", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int SwitchWebSiteToDedicatedIP(int siteItemId, int ipAddressId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SwitchWebSiteToDedicatedIP", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int SwitchWebSiteToDedicatedIP(int siteItemId, int ipAddressId) + { object[] results = this.Invoke("SwitchWebSiteToDedicatedIP", new object[] { siteItemId, ipAddressId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginSwitchWebSiteToDedicatedIP(int siteItemId, int ipAddressId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginSwitchWebSiteToDedicatedIP(int siteItemId, int ipAddressId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("SwitchWebSiteToDedicatedIP", new object[] { siteItemId, ipAddressId}, callback, asyncState); } - + /// - public int EndSwitchWebSiteToDedicatedIP(System.IAsyncResult asyncResult) { + public int EndSwitchWebSiteToDedicatedIP(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void SwitchWebSiteToDedicatedIPAsync(int siteItemId, int ipAddressId) { + public void SwitchWebSiteToDedicatedIPAsync(int siteItemId, int ipAddressId) + { this.SwitchWebSiteToDedicatedIPAsync(siteItemId, ipAddressId, null); } - + /// - public void SwitchWebSiteToDedicatedIPAsync(int siteItemId, int ipAddressId, object userState) { - if ((this.SwitchWebSiteToDedicatedIPOperationCompleted == null)) { + public void SwitchWebSiteToDedicatedIPAsync(int siteItemId, int ipAddressId, object userState) + { + if ((this.SwitchWebSiteToDedicatedIPOperationCompleted == null)) + { this.SwitchWebSiteToDedicatedIPOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSwitchWebSiteToDedicatedIPOperationCompleted); } this.InvokeAsync("SwitchWebSiteToDedicatedIP", new object[] { siteItemId, ipAddressId}, this.SwitchWebSiteToDedicatedIPOperationCompleted, userState); } - - private void OnSwitchWebSiteToDedicatedIPOperationCompleted(object arg) { - if ((this.SwitchWebSiteToDedicatedIPCompleted != null)) { + + private void OnSwitchWebSiteToDedicatedIPOperationCompleted(object arg) + { + if ((this.SwitchWebSiteToDedicatedIPCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SwitchWebSiteToDedicatedIPCompleted(this, new SwitchWebSiteToDedicatedIPCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SwitchWebSiteToSharedIP", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int SwitchWebSiteToSharedIP(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SwitchWebSiteToSharedIP", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int SwitchWebSiteToSharedIP(int siteItemId) + { object[] results = this.Invoke("SwitchWebSiteToSharedIP", new object[] { siteItemId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginSwitchWebSiteToSharedIP(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginSwitchWebSiteToSharedIP(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("SwitchWebSiteToSharedIP", new object[] { siteItemId}, callback, asyncState); } - + /// - public int EndSwitchWebSiteToSharedIP(System.IAsyncResult asyncResult) { + public int EndSwitchWebSiteToSharedIP(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void SwitchWebSiteToSharedIPAsync(int siteItemId) { + public void SwitchWebSiteToSharedIPAsync(int siteItemId) + { this.SwitchWebSiteToSharedIPAsync(siteItemId, null); } - + /// - public void SwitchWebSiteToSharedIPAsync(int siteItemId, object userState) { - if ((this.SwitchWebSiteToSharedIPOperationCompleted == null)) { + public void SwitchWebSiteToSharedIPAsync(int siteItemId, object userState) + { + if ((this.SwitchWebSiteToSharedIPOperationCompleted == null)) + { this.SwitchWebSiteToSharedIPOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSwitchWebSiteToSharedIPOperationCompleted); } this.InvokeAsync("SwitchWebSiteToSharedIP", new object[] { siteItemId}, this.SwitchWebSiteToSharedIPOperationCompleted, userState); } - - private void OnSwitchWebSiteToSharedIPOperationCompleted(object arg) { - if ((this.SwitchWebSiteToSharedIPCompleted != null)) { + + private void OnSwitchWebSiteToSharedIPOperationCompleted(object arg) + { + if ((this.SwitchWebSiteToSharedIPCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SwitchWebSiteToSharedIPCompleted(this, new SwitchWebSiteToSharedIPCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteVirtualDirectory", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DeleteVirtualDirectory(int siteItemId, string vdirName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteVirtualDirectory", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DeleteVirtualDirectory(int siteItemId, string vdirName) + { object[] results = this.Invoke("DeleteVirtualDirectory", new object[] { siteItemId, vdirName}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginDeleteVirtualDirectory(int siteItemId, string vdirName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteVirtualDirectory(int siteItemId, string vdirName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteVirtualDirectory", new object[] { siteItemId, vdirName}, callback, asyncState); } - + /// - public int EndDeleteVirtualDirectory(System.IAsyncResult asyncResult) { + public int EndDeleteVirtualDirectory(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void DeleteVirtualDirectoryAsync(int siteItemId, string vdirName) { + public void DeleteVirtualDirectoryAsync(int siteItemId, string vdirName) + { this.DeleteVirtualDirectoryAsync(siteItemId, vdirName, null); } - + /// - public void DeleteVirtualDirectoryAsync(int siteItemId, string vdirName, object userState) { - if ((this.DeleteVirtualDirectoryOperationCompleted == null)) { + public void DeleteVirtualDirectoryAsync(int siteItemId, string vdirName, object userState) + { + if ((this.DeleteVirtualDirectoryOperationCompleted == null)) + { this.DeleteVirtualDirectoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteVirtualDirectoryOperationCompleted); } this.InvokeAsync("DeleteVirtualDirectory", new object[] { siteItemId, vdirName}, this.DeleteVirtualDirectoryOperationCompleted, userState); } - - private void OnDeleteVirtualDirectoryOperationCompleted(object arg) { - if ((this.DeleteVirtualDirectoryCompleted != null)) { + + private void OnDeleteVirtualDirectoryOperationCompleted(object arg) + { + if ((this.DeleteVirtualDirectoryCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteVirtualDirectoryCompleted(this, new DeleteVirtualDirectoryCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ChangeSiteState", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int ChangeSiteState(int siteItemId, ServerState state) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ChangeSiteState", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int ChangeSiteState(int siteItemId, ServerState state) + { object[] results = this.Invoke("ChangeSiteState", new object[] { siteItemId, state}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginChangeSiteState(int siteItemId, ServerState state, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginChangeSiteState(int siteItemId, ServerState state, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("ChangeSiteState", new object[] { siteItemId, state}, callback, asyncState); } - + /// - public int EndChangeSiteState(System.IAsyncResult asyncResult) { + public int EndChangeSiteState(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void ChangeSiteStateAsync(int siteItemId, ServerState state) { + public void ChangeSiteStateAsync(int siteItemId, ServerState state) + { this.ChangeSiteStateAsync(siteItemId, state, null); } - + /// - public void ChangeSiteStateAsync(int siteItemId, ServerState state, object userState) { - if ((this.ChangeSiteStateOperationCompleted == null)) { + public void ChangeSiteStateAsync(int siteItemId, ServerState state, object userState) + { + if ((this.ChangeSiteStateOperationCompleted == null)) + { this.ChangeSiteStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeSiteStateOperationCompleted); } this.InvokeAsync("ChangeSiteState", new object[] { siteItemId, state}, this.ChangeSiteStateOperationCompleted, userState); } - - private void OnChangeSiteStateOperationCompleted(object arg) { - if ((this.ChangeSiteStateCompleted != null)) { + + private void OnChangeSiteStateOperationCompleted(object arg) + { + if ((this.ChangeSiteStateCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ChangeSiteStateCompleted(this, new ChangeSiteStateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ChangeAppPoolState", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int ChangeAppPoolState(int siteItemId, AppPoolState state) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ChangeAppPoolState", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int ChangeAppPoolState(int siteItemId, AppPoolState state) + { object[] results = this.Invoke("ChangeAppPoolState", new object[] { siteItemId, state}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginChangeAppPoolState(int siteItemId, AppPoolState state, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginChangeAppPoolState(int siteItemId, AppPoolState state, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("ChangeAppPoolState", new object[] { siteItemId, state}, callback, asyncState); } - + /// - public int EndChangeAppPoolState(System.IAsyncResult asyncResult) { + public int EndChangeAppPoolState(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void ChangeAppPoolStateAsync(int siteItemId, AppPoolState state) { + public void ChangeAppPoolStateAsync(int siteItemId, AppPoolState state) + { this.ChangeAppPoolStateAsync(siteItemId, state, null); } - + /// - public void ChangeAppPoolStateAsync(int siteItemId, AppPoolState state, object userState) { - if ((this.ChangeAppPoolStateOperationCompleted == null)) { + public void ChangeAppPoolStateAsync(int siteItemId, AppPoolState state, object userState) + { + if ((this.ChangeAppPoolStateOperationCompleted == null)) + { this.ChangeAppPoolStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeAppPoolStateOperationCompleted); } this.InvokeAsync("ChangeAppPoolState", new object[] { siteItemId, state}, this.ChangeAppPoolStateOperationCompleted, userState); } - - private void OnChangeAppPoolStateOperationCompleted(object arg) { - if ((this.ChangeAppPoolStateCompleted != null)) { + + private void OnChangeAppPoolStateOperationCompleted(object arg) + { + if ((this.ChangeAppPoolStateCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ChangeAppPoolStateCompleted(this, new ChangeAppPoolStateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetAppPoolState", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public AppPoolState GetAppPoolState(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetAppPoolState", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public AppPoolState GetAppPoolState(int siteItemId) + { object[] results = this.Invoke("GetAppPoolState", new object[] { siteItemId}); return ((AppPoolState)(results[0])); } - + /// - public System.IAsyncResult BeginGetAppPoolState(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetAppPoolState(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetAppPoolState", new object[] { siteItemId}, callback, asyncState); } - + /// - public AppPoolState EndGetAppPoolState(System.IAsyncResult asyncResult) { + public AppPoolState EndGetAppPoolState(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((AppPoolState)(results[0])); } - + /// - public void GetAppPoolStateAsync(int siteItemId) { + public void GetAppPoolStateAsync(int siteItemId) + { this.GetAppPoolStateAsync(siteItemId, null); } - + /// - public void GetAppPoolStateAsync(int siteItemId, object userState) { - if ((this.GetAppPoolStateOperationCompleted == null)) { + public void GetAppPoolStateAsync(int siteItemId, object userState) + { + if ((this.GetAppPoolStateOperationCompleted == null)) + { this.GetAppPoolStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAppPoolStateOperationCompleted); } this.InvokeAsync("GetAppPoolState", new object[] { siteItemId}, this.GetAppPoolStateOperationCompleted, userState); } - - private void OnGetAppPoolStateOperationCompleted(object arg) { - if ((this.GetAppPoolStateCompleted != null)) { + + private void OnGetAppPoolStateOperationCompleted(object arg) + { + if ((this.GetAppPoolStateCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetAppPoolStateCompleted(this, new GetAppPoolStateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSharedSSLDomains", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public string[] GetSharedSSLDomains(int packageId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSharedSSLDomains", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string[] GetSharedSSLDomains(int packageId) + { object[] results = this.Invoke("GetSharedSSLDomains", new object[] { packageId}); return ((string[])(results[0])); } - + /// - public System.IAsyncResult BeginGetSharedSSLDomains(int packageId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSharedSSLDomains(int packageId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSharedSSLDomains", new object[] { packageId}, callback, asyncState); } - + /// - public string[] EndGetSharedSSLDomains(System.IAsyncResult asyncResult) { + public string[] EndGetSharedSSLDomains(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } - + /// - public void GetSharedSSLDomainsAsync(int packageId) { + public void GetSharedSSLDomainsAsync(int packageId) + { this.GetSharedSSLDomainsAsync(packageId, null); } - + /// - public void GetSharedSSLDomainsAsync(int packageId, object userState) { - if ((this.GetSharedSSLDomainsOperationCompleted == null)) { + public void GetSharedSSLDomainsAsync(int packageId, object userState) + { + if ((this.GetSharedSSLDomainsOperationCompleted == null)) + { this.GetSharedSSLDomainsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSharedSSLDomainsOperationCompleted); } this.InvokeAsync("GetSharedSSLDomains", new object[] { packageId}, this.GetSharedSSLDomainsOperationCompleted, userState); } - - private void OnGetSharedSSLDomainsOperationCompleted(object arg) { - if ((this.GetSharedSSLDomainsCompleted != null)) { + + private void OnGetSharedSSLDomainsOperationCompleted(object arg) + { + if ((this.GetSharedSSLDomainsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSharedSSLDomainsCompleted(this, new GetSharedSSLDomainsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawSSLFoldersPaged", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawSSLFoldersPaged(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawSSLFoldersPaged", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawSSLFoldersPaged(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) + { object[] results = this.Invoke("GetRawSSLFoldersPaged", new object[] { packageId, filterColumn, @@ -1590,9 +3241,10 @@ namespace WebsitePanel.EnterpriseServer { maximumRows}); return ((System.Data.DataSet)(results[0])); } - + /// - public System.IAsyncResult BeginGetRawSSLFoldersPaged(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetRawSSLFoldersPaged(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetRawSSLFoldersPaged", new object[] { packageId, filterColumn, @@ -1601,21 +3253,25 @@ namespace WebsitePanel.EnterpriseServer { startRow, maximumRows}, callback, asyncState); } - + /// - public System.Data.DataSet EndGetRawSSLFoldersPaged(System.IAsyncResult asyncResult) { + public System.Data.DataSet EndGetRawSSLFoldersPaged(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((System.Data.DataSet)(results[0])); } - + /// - public void GetRawSSLFoldersPagedAsync(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) { + public void GetRawSSLFoldersPagedAsync(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) + { this.GetRawSSLFoldersPagedAsync(packageId, filterColumn, filterValue, sortColumn, startRow, maximumRows, null); } - + /// - public void GetRawSSLFoldersPagedAsync(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) { - if ((this.GetRawSSLFoldersPagedOperationCompleted == null)) { + public void GetRawSSLFoldersPagedAsync(int packageId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) + { + if ((this.GetRawSSLFoldersPagedOperationCompleted == null)) + { this.GetRawSSLFoldersPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawSSLFoldersPagedOperationCompleted); } this.InvokeAsync("GetRawSSLFoldersPaged", new object[] { @@ -1626,102 +3282,121 @@ namespace WebsitePanel.EnterpriseServer { startRow, maximumRows}, this.GetRawSSLFoldersPagedOperationCompleted, userState); } - - private void OnGetRawSSLFoldersPagedOperationCompleted(object arg) { - if ((this.GetRawSSLFoldersPagedCompleted != null)) { + + private void OnGetRawSSLFoldersPagedOperationCompleted(object arg) + { + if ((this.GetRawSSLFoldersPagedCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetRawSSLFoldersPagedCompleted(this, new GetRawSSLFoldersPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSharedSSLFolders", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SharedSSLFolder[] GetSharedSSLFolders(int packageId, bool recursive) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSharedSSLFolders", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SharedSSLFolder[] GetSharedSSLFolders(int packageId, bool recursive) + { object[] results = this.Invoke("GetSharedSSLFolders", new object[] { packageId, recursive}); return ((SharedSSLFolder[])(results[0])); } - + /// - public System.IAsyncResult BeginGetSharedSSLFolders(int packageId, bool recursive, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSharedSSLFolders(int packageId, bool recursive, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSharedSSLFolders", new object[] { packageId, recursive}, callback, asyncState); } - + /// - public SharedSSLFolder[] EndGetSharedSSLFolders(System.IAsyncResult asyncResult) { + public SharedSSLFolder[] EndGetSharedSSLFolders(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((SharedSSLFolder[])(results[0])); } - + /// - public void GetSharedSSLFoldersAsync(int packageId, bool recursive) { + public void GetSharedSSLFoldersAsync(int packageId, bool recursive) + { this.GetSharedSSLFoldersAsync(packageId, recursive, null); } - + /// - public void GetSharedSSLFoldersAsync(int packageId, bool recursive, object userState) { - if ((this.GetSharedSSLFoldersOperationCompleted == null)) { + public void GetSharedSSLFoldersAsync(int packageId, bool recursive, object userState) + { + if ((this.GetSharedSSLFoldersOperationCompleted == null)) + { this.GetSharedSSLFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSharedSSLFoldersOperationCompleted); } this.InvokeAsync("GetSharedSSLFolders", new object[] { packageId, recursive}, this.GetSharedSSLFoldersOperationCompleted, userState); } - - private void OnGetSharedSSLFoldersOperationCompleted(object arg) { - if ((this.GetSharedSSLFoldersCompleted != null)) { + + private void OnGetSharedSSLFoldersOperationCompleted(object arg) + { + if ((this.GetSharedSSLFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSharedSSLFoldersCompleted(this, new GetSharedSSLFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSharedSSLFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SharedSSLFolder GetSharedSSLFolder(int itemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSharedSSLFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SharedSSLFolder GetSharedSSLFolder(int itemId) + { object[] results = this.Invoke("GetSharedSSLFolder", new object[] { itemId}); return ((SharedSSLFolder)(results[0])); } - + /// - public System.IAsyncResult BeginGetSharedSSLFolder(int itemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSharedSSLFolder(int itemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSharedSSLFolder", new object[] { itemId}, callback, asyncState); } - + /// - public SharedSSLFolder EndGetSharedSSLFolder(System.IAsyncResult asyncResult) { + public SharedSSLFolder EndGetSharedSSLFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((SharedSSLFolder)(results[0])); } - + /// - public void GetSharedSSLFolderAsync(int itemId) { + public void GetSharedSSLFolderAsync(int itemId) + { this.GetSharedSSLFolderAsync(itemId, null); } - + /// - public void GetSharedSSLFolderAsync(int itemId, object userState) { - if ((this.GetSharedSSLFolderOperationCompleted == null)) { + public void GetSharedSSLFolderAsync(int itemId, object userState) + { + if ((this.GetSharedSSLFolderOperationCompleted == null)) + { this.GetSharedSSLFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSharedSSLFolderOperationCompleted); } this.InvokeAsync("GetSharedSSLFolder", new object[] { itemId}, this.GetSharedSSLFolderOperationCompleted, userState); } - - private void OnGetSharedSSLFolderOperationCompleted(object arg) { - if ((this.GetSharedSSLFolderCompleted != null)) { + + private void OnGetSharedSSLFolderOperationCompleted(object arg) + { + if ((this.GetSharedSSLFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSharedSSLFolderCompleted(this, new GetSharedSSLFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddSharedSSLFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int AddSharedSSLFolder(int packageId, string sslDomain, int siteId, string vdirName, string vdirPath) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddSharedSSLFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int AddSharedSSLFolder(int packageId, string sslDomain, int siteId, string vdirName, string vdirPath) + { object[] results = this.Invoke("AddSharedSSLFolder", new object[] { packageId, sslDomain, @@ -1730,9 +3405,10 @@ namespace WebsitePanel.EnterpriseServer { vdirPath}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginAddSharedSSLFolder(int packageId, string sslDomain, int siteId, string vdirName, string vdirPath, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginAddSharedSSLFolder(int packageId, string sslDomain, int siteId, string vdirName, string vdirPath, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("AddSharedSSLFolder", new object[] { packageId, sslDomain, @@ -1740,21 +3416,25 @@ namespace WebsitePanel.EnterpriseServer { vdirName, vdirPath}, callback, asyncState); } - + /// - public int EndAddSharedSSLFolder(System.IAsyncResult asyncResult) { + public int EndAddSharedSSLFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void AddSharedSSLFolderAsync(int packageId, string sslDomain, int siteId, string vdirName, string vdirPath) { + public void AddSharedSSLFolderAsync(int packageId, string sslDomain, int siteId, string vdirName, string vdirPath) + { this.AddSharedSSLFolderAsync(packageId, sslDomain, siteId, vdirName, vdirPath, null); } - + /// - public void AddSharedSSLFolderAsync(int packageId, string sslDomain, int siteId, string vdirName, string vdirPath, object userState) { - if ((this.AddSharedSSLFolderOperationCompleted == null)) { + public void AddSharedSSLFolderAsync(int packageId, string sslDomain, int siteId, string vdirName, string vdirPath, object userState) + { + if ((this.AddSharedSSLFolderOperationCompleted == null)) + { this.AddSharedSSLFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSharedSSLFolderOperationCompleted); } this.InvokeAsync("AddSharedSSLFolder", new object[] { @@ -1764,729 +3444,865 @@ namespace WebsitePanel.EnterpriseServer { vdirName, vdirPath}, this.AddSharedSSLFolderOperationCompleted, userState); } - - private void OnAddSharedSSLFolderOperationCompleted(object arg) { - if ((this.AddSharedSSLFolderCompleted != null)) { + + private void OnAddSharedSSLFolderOperationCompleted(object arg) + { + if ((this.AddSharedSSLFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddSharedSSLFolderCompleted(this, new AddSharedSSLFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateSharedSSLFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UpdateSharedSSLFolder(SharedSSLFolder vdir) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateSharedSSLFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UpdateSharedSSLFolder(SharedSSLFolder vdir) + { object[] results = this.Invoke("UpdateSharedSSLFolder", new object[] { vdir}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUpdateSharedSSLFolder(SharedSSLFolder vdir, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateSharedSSLFolder(SharedSSLFolder vdir, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateSharedSSLFolder", new object[] { vdir}, callback, asyncState); } - + /// - public int EndUpdateSharedSSLFolder(System.IAsyncResult asyncResult) { + public int EndUpdateSharedSSLFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UpdateSharedSSLFolderAsync(SharedSSLFolder vdir) { + public void UpdateSharedSSLFolderAsync(SharedSSLFolder vdir) + { this.UpdateSharedSSLFolderAsync(vdir, null); } - + /// - public void UpdateSharedSSLFolderAsync(SharedSSLFolder vdir, object userState) { - if ((this.UpdateSharedSSLFolderOperationCompleted == null)) { + public void UpdateSharedSSLFolderAsync(SharedSSLFolder vdir, object userState) + { + if ((this.UpdateSharedSSLFolderOperationCompleted == null)) + { this.UpdateSharedSSLFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSharedSSLFolderOperationCompleted); } this.InvokeAsync("UpdateSharedSSLFolder", new object[] { vdir}, this.UpdateSharedSSLFolderOperationCompleted, userState); } - - private void OnUpdateSharedSSLFolderOperationCompleted(object arg) { - if ((this.UpdateSharedSSLFolderCompleted != null)) { + + private void OnUpdateSharedSSLFolderOperationCompleted(object arg) + { + if ((this.UpdateSharedSSLFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateSharedSSLFolderCompleted(this, new UpdateSharedSSLFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteSharedSSLFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DeleteSharedSSLFolder(int itemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteSharedSSLFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DeleteSharedSSLFolder(int itemId) + { object[] results = this.Invoke("DeleteSharedSSLFolder", new object[] { itemId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginDeleteSharedSSLFolder(int itemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteSharedSSLFolder(int itemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteSharedSSLFolder", new object[] { itemId}, callback, asyncState); } - + /// - public int EndDeleteSharedSSLFolder(System.IAsyncResult asyncResult) { + public int EndDeleteSharedSSLFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void DeleteSharedSSLFolderAsync(int itemId) { + public void DeleteSharedSSLFolderAsync(int itemId) + { this.DeleteSharedSSLFolderAsync(itemId, null); } - + /// - public void DeleteSharedSSLFolderAsync(int itemId, object userState) { - if ((this.DeleteSharedSSLFolderOperationCompleted == null)) { + public void DeleteSharedSSLFolderAsync(int itemId, object userState) + { + if ((this.DeleteSharedSSLFolderOperationCompleted == null)) + { this.DeleteSharedSSLFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSharedSSLFolderOperationCompleted); } this.InvokeAsync("DeleteSharedSSLFolder", new object[] { itemId}, this.DeleteSharedSSLFolderOperationCompleted, userState); } - - private void OnDeleteSharedSSLFolderOperationCompleted(object arg) { - if ((this.DeleteSharedSSLFolderCompleted != null)) { + + private void OnDeleteSharedSSLFolderOperationCompleted(object arg) + { + if ((this.DeleteSharedSSLFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteSharedSSLFolderCompleted(this, new DeleteSharedSSLFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallSecuredFolders", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int InstallSecuredFolders(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallSecuredFolders", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int InstallSecuredFolders(int siteItemId) + { object[] results = this.Invoke("InstallSecuredFolders", new object[] { siteItemId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginInstallSecuredFolders(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginInstallSecuredFolders(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("InstallSecuredFolders", new object[] { siteItemId}, callback, asyncState); } - + /// - public int EndInstallSecuredFolders(System.IAsyncResult asyncResult) { + public int EndInstallSecuredFolders(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void InstallSecuredFoldersAsync(int siteItemId) { + public void InstallSecuredFoldersAsync(int siteItemId) + { this.InstallSecuredFoldersAsync(siteItemId, null); } - + /// - public void InstallSecuredFoldersAsync(int siteItemId, object userState) { - if ((this.InstallSecuredFoldersOperationCompleted == null)) { + public void InstallSecuredFoldersAsync(int siteItemId, object userState) + { + if ((this.InstallSecuredFoldersOperationCompleted == null)) + { this.InstallSecuredFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallSecuredFoldersOperationCompleted); } this.InvokeAsync("InstallSecuredFolders", new object[] { siteItemId}, this.InstallSecuredFoldersOperationCompleted, userState); } - - private void OnInstallSecuredFoldersOperationCompleted(object arg) { - if ((this.InstallSecuredFoldersCompleted != null)) { + + private void OnInstallSecuredFoldersOperationCompleted(object arg) + { + if ((this.InstallSecuredFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.InstallSecuredFoldersCompleted(this, new InstallSecuredFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UninstallSecuredFolders", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UninstallSecuredFolders(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UninstallSecuredFolders", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UninstallSecuredFolders(int siteItemId) + { object[] results = this.Invoke("UninstallSecuredFolders", new object[] { siteItemId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUninstallSecuredFolders(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUninstallSecuredFolders(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UninstallSecuredFolders", new object[] { siteItemId}, callback, asyncState); } - + /// - public int EndUninstallSecuredFolders(System.IAsyncResult asyncResult) { + public int EndUninstallSecuredFolders(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UninstallSecuredFoldersAsync(int siteItemId) { + public void UninstallSecuredFoldersAsync(int siteItemId) + { this.UninstallSecuredFoldersAsync(siteItemId, null); } - + /// - public void UninstallSecuredFoldersAsync(int siteItemId, object userState) { - if ((this.UninstallSecuredFoldersOperationCompleted == null)) { + public void UninstallSecuredFoldersAsync(int siteItemId, object userState) + { + if ((this.UninstallSecuredFoldersOperationCompleted == null)) + { this.UninstallSecuredFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUninstallSecuredFoldersOperationCompleted); } this.InvokeAsync("UninstallSecuredFolders", new object[] { siteItemId}, this.UninstallSecuredFoldersOperationCompleted, userState); } - - private void OnUninstallSecuredFoldersOperationCompleted(object arg) { - if ((this.UninstallSecuredFoldersCompleted != null)) { + + private void OnUninstallSecuredFoldersOperationCompleted(object arg) + { + if ((this.UninstallSecuredFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UninstallSecuredFoldersCompleted(this, new UninstallSecuredFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredFolders", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebFolder[] GetSecuredFolders(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredFolders", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebFolder[] GetSecuredFolders(int siteItemId) + { object[] results = this.Invoke("GetSecuredFolders", new object[] { siteItemId}); return ((WebFolder[])(results[0])); } - + /// - public System.IAsyncResult BeginGetSecuredFolders(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSecuredFolders(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSecuredFolders", new object[] { siteItemId}, callback, asyncState); } - + /// - public WebFolder[] EndGetSecuredFolders(System.IAsyncResult asyncResult) { + public WebFolder[] EndGetSecuredFolders(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebFolder[])(results[0])); } - + /// - public void GetSecuredFoldersAsync(int siteItemId) { + public void GetSecuredFoldersAsync(int siteItemId) + { this.GetSecuredFoldersAsync(siteItemId, null); } - + /// - public void GetSecuredFoldersAsync(int siteItemId, object userState) { - if ((this.GetSecuredFoldersOperationCompleted == null)) { + public void GetSecuredFoldersAsync(int siteItemId, object userState) + { + if ((this.GetSecuredFoldersOperationCompleted == null)) + { this.GetSecuredFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecuredFoldersOperationCompleted); } this.InvokeAsync("GetSecuredFolders", new object[] { siteItemId}, this.GetSecuredFoldersOperationCompleted, userState); } - - private void OnGetSecuredFoldersOperationCompleted(object arg) { - if ((this.GetSecuredFoldersCompleted != null)) { + + private void OnGetSecuredFoldersOperationCompleted(object arg) + { + if ((this.GetSecuredFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSecuredFoldersCompleted(this, new GetSecuredFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebFolder GetSecuredFolder(int siteItemId, string folderPath) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebFolder GetSecuredFolder(int siteItemId, string folderPath) + { object[] results = this.Invoke("GetSecuredFolder", new object[] { siteItemId, folderPath}); return ((WebFolder)(results[0])); } - + /// - public System.IAsyncResult BeginGetSecuredFolder(int siteItemId, string folderPath, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSecuredFolder(int siteItemId, string folderPath, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSecuredFolder", new object[] { siteItemId, folderPath}, callback, asyncState); } - + /// - public WebFolder EndGetSecuredFolder(System.IAsyncResult asyncResult) { + public WebFolder EndGetSecuredFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebFolder)(results[0])); } - + /// - public void GetSecuredFolderAsync(int siteItemId, string folderPath) { + public void GetSecuredFolderAsync(int siteItemId, string folderPath) + { this.GetSecuredFolderAsync(siteItemId, folderPath, null); } - + /// - public void GetSecuredFolderAsync(int siteItemId, string folderPath, object userState) { - if ((this.GetSecuredFolderOperationCompleted == null)) { + public void GetSecuredFolderAsync(int siteItemId, string folderPath, object userState) + { + if ((this.GetSecuredFolderOperationCompleted == null)) + { this.GetSecuredFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecuredFolderOperationCompleted); } this.InvokeAsync("GetSecuredFolder", new object[] { siteItemId, folderPath}, this.GetSecuredFolderOperationCompleted, userState); } - - private void OnGetSecuredFolderOperationCompleted(object arg) { - if ((this.GetSecuredFolderCompleted != null)) { + + private void OnGetSecuredFolderOperationCompleted(object arg) + { + if ((this.GetSecuredFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSecuredFolderCompleted(this, new GetSecuredFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateSecuredFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UpdateSecuredFolder(int siteItemId, WebFolder folder) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateSecuredFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UpdateSecuredFolder(int siteItemId, WebFolder folder) + { object[] results = this.Invoke("UpdateSecuredFolder", new object[] { siteItemId, folder}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUpdateSecuredFolder(int siteItemId, WebFolder folder, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateSecuredFolder(int siteItemId, WebFolder folder, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateSecuredFolder", new object[] { siteItemId, folder}, callback, asyncState); } - + /// - public int EndUpdateSecuredFolder(System.IAsyncResult asyncResult) { + public int EndUpdateSecuredFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UpdateSecuredFolderAsync(int siteItemId, WebFolder folder) { + public void UpdateSecuredFolderAsync(int siteItemId, WebFolder folder) + { this.UpdateSecuredFolderAsync(siteItemId, folder, null); } - + /// - public void UpdateSecuredFolderAsync(int siteItemId, WebFolder folder, object userState) { - if ((this.UpdateSecuredFolderOperationCompleted == null)) { + public void UpdateSecuredFolderAsync(int siteItemId, WebFolder folder, object userState) + { + if ((this.UpdateSecuredFolderOperationCompleted == null)) + { this.UpdateSecuredFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSecuredFolderOperationCompleted); } this.InvokeAsync("UpdateSecuredFolder", new object[] { siteItemId, folder}, this.UpdateSecuredFolderOperationCompleted, userState); } - - private void OnUpdateSecuredFolderOperationCompleted(object arg) { - if ((this.UpdateSecuredFolderCompleted != null)) { + + private void OnUpdateSecuredFolderOperationCompleted(object arg) + { + if ((this.UpdateSecuredFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateSecuredFolderCompleted(this, new UpdateSecuredFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteSecuredFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DeleteSecuredFolder(int siteItemId, string folderPath) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteSecuredFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DeleteSecuredFolder(int siteItemId, string folderPath) + { object[] results = this.Invoke("DeleteSecuredFolder", new object[] { siteItemId, folderPath}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginDeleteSecuredFolder(int siteItemId, string folderPath, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteSecuredFolder(int siteItemId, string folderPath, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteSecuredFolder", new object[] { siteItemId, folderPath}, callback, asyncState); } - + /// - public int EndDeleteSecuredFolder(System.IAsyncResult asyncResult) { + public int EndDeleteSecuredFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void DeleteSecuredFolderAsync(int siteItemId, string folderPath) { + public void DeleteSecuredFolderAsync(int siteItemId, string folderPath) + { this.DeleteSecuredFolderAsync(siteItemId, folderPath, null); } - + /// - public void DeleteSecuredFolderAsync(int siteItemId, string folderPath, object userState) { - if ((this.DeleteSecuredFolderOperationCompleted == null)) { + public void DeleteSecuredFolderAsync(int siteItemId, string folderPath, object userState) + { + if ((this.DeleteSecuredFolderOperationCompleted == null)) + { this.DeleteSecuredFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSecuredFolderOperationCompleted); } this.InvokeAsync("DeleteSecuredFolder", new object[] { siteItemId, folderPath}, this.DeleteSecuredFolderOperationCompleted, userState); } - - private void OnDeleteSecuredFolderOperationCompleted(object arg) { - if ((this.DeleteSecuredFolderCompleted != null)) { + + private void OnDeleteSecuredFolderOperationCompleted(object arg) + { + if ((this.DeleteSecuredFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteSecuredFolderCompleted(this, new DeleteSecuredFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredUsers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebUser[] GetSecuredUsers(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredUsers", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebUser[] GetSecuredUsers(int siteItemId) + { object[] results = this.Invoke("GetSecuredUsers", new object[] { siteItemId}); return ((WebUser[])(results[0])); } - + /// - public System.IAsyncResult BeginGetSecuredUsers(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSecuredUsers(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSecuredUsers", new object[] { siteItemId}, callback, asyncState); } - + /// - public WebUser[] EndGetSecuredUsers(System.IAsyncResult asyncResult) { + public WebUser[] EndGetSecuredUsers(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebUser[])(results[0])); } - + /// - public void GetSecuredUsersAsync(int siteItemId) { + public void GetSecuredUsersAsync(int siteItemId) + { this.GetSecuredUsersAsync(siteItemId, null); } - + /// - public void GetSecuredUsersAsync(int siteItemId, object userState) { - if ((this.GetSecuredUsersOperationCompleted == null)) { + public void GetSecuredUsersAsync(int siteItemId, object userState) + { + if ((this.GetSecuredUsersOperationCompleted == null)) + { this.GetSecuredUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecuredUsersOperationCompleted); } this.InvokeAsync("GetSecuredUsers", new object[] { siteItemId}, this.GetSecuredUsersOperationCompleted, userState); } - - private void OnGetSecuredUsersOperationCompleted(object arg) { - if ((this.GetSecuredUsersCompleted != null)) { + + private void OnGetSecuredUsersOperationCompleted(object arg) + { + if ((this.GetSecuredUsersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSecuredUsersCompleted(this, new GetSecuredUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredUser", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebUser GetSecuredUser(int siteItemId, string userName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredUser", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebUser GetSecuredUser(int siteItemId, string userName) + { object[] results = this.Invoke("GetSecuredUser", new object[] { siteItemId, userName}); return ((WebUser)(results[0])); } - + /// - public System.IAsyncResult BeginGetSecuredUser(int siteItemId, string userName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSecuredUser(int siteItemId, string userName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSecuredUser", new object[] { siteItemId, userName}, callback, asyncState); } - + /// - public WebUser EndGetSecuredUser(System.IAsyncResult asyncResult) { + public WebUser EndGetSecuredUser(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebUser)(results[0])); } - + /// - public void GetSecuredUserAsync(int siteItemId, string userName) { + public void GetSecuredUserAsync(int siteItemId, string userName) + { this.GetSecuredUserAsync(siteItemId, userName, null); } - + /// - public void GetSecuredUserAsync(int siteItemId, string userName, object userState) { - if ((this.GetSecuredUserOperationCompleted == null)) { + public void GetSecuredUserAsync(int siteItemId, string userName, object userState) + { + if ((this.GetSecuredUserOperationCompleted == null)) + { this.GetSecuredUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecuredUserOperationCompleted); } this.InvokeAsync("GetSecuredUser", new object[] { siteItemId, userName}, this.GetSecuredUserOperationCompleted, userState); } - - private void OnGetSecuredUserOperationCompleted(object arg) { - if ((this.GetSecuredUserCompleted != null)) { + + private void OnGetSecuredUserOperationCompleted(object arg) + { + if ((this.GetSecuredUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSecuredUserCompleted(this, new GetSecuredUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateSecuredUser", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UpdateSecuredUser(int siteItemId, WebUser user) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateSecuredUser", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UpdateSecuredUser(int siteItemId, WebUser user) + { object[] results = this.Invoke("UpdateSecuredUser", new object[] { siteItemId, user}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUpdateSecuredUser(int siteItemId, WebUser user, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateSecuredUser(int siteItemId, WebUser user, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateSecuredUser", new object[] { siteItemId, user}, callback, asyncState); } - + /// - public int EndUpdateSecuredUser(System.IAsyncResult asyncResult) { + public int EndUpdateSecuredUser(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UpdateSecuredUserAsync(int siteItemId, WebUser user) { + public void UpdateSecuredUserAsync(int siteItemId, WebUser user) + { this.UpdateSecuredUserAsync(siteItemId, user, null); } - + /// - public void UpdateSecuredUserAsync(int siteItemId, WebUser user, object userState) { - if ((this.UpdateSecuredUserOperationCompleted == null)) { + public void UpdateSecuredUserAsync(int siteItemId, WebUser user, object userState) + { + if ((this.UpdateSecuredUserOperationCompleted == null)) + { this.UpdateSecuredUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSecuredUserOperationCompleted); } this.InvokeAsync("UpdateSecuredUser", new object[] { siteItemId, user}, this.UpdateSecuredUserOperationCompleted, userState); } - - private void OnUpdateSecuredUserOperationCompleted(object arg) { - if ((this.UpdateSecuredUserCompleted != null)) { + + private void OnUpdateSecuredUserOperationCompleted(object arg) + { + if ((this.UpdateSecuredUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateSecuredUserCompleted(this, new UpdateSecuredUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteSecuredUser", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DeleteSecuredUser(int siteItemId, string userName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteSecuredUser", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DeleteSecuredUser(int siteItemId, string userName) + { object[] results = this.Invoke("DeleteSecuredUser", new object[] { siteItemId, userName}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginDeleteSecuredUser(int siteItemId, string userName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteSecuredUser(int siteItemId, string userName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteSecuredUser", new object[] { siteItemId, userName}, callback, asyncState); } - + /// - public int EndDeleteSecuredUser(System.IAsyncResult asyncResult) { + public int EndDeleteSecuredUser(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void DeleteSecuredUserAsync(int siteItemId, string userName) { + public void DeleteSecuredUserAsync(int siteItemId, string userName) + { this.DeleteSecuredUserAsync(siteItemId, userName, null); } - + /// - public void DeleteSecuredUserAsync(int siteItemId, string userName, object userState) { - if ((this.DeleteSecuredUserOperationCompleted == null)) { + public void DeleteSecuredUserAsync(int siteItemId, string userName, object userState) + { + if ((this.DeleteSecuredUserOperationCompleted == null)) + { this.DeleteSecuredUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSecuredUserOperationCompleted); } this.InvokeAsync("DeleteSecuredUser", new object[] { siteItemId, userName}, this.DeleteSecuredUserOperationCompleted, userState); } - - private void OnDeleteSecuredUserOperationCompleted(object arg) { - if ((this.DeleteSecuredUserCompleted != null)) { + + private void OnDeleteSecuredUserOperationCompleted(object arg) + { + if ((this.DeleteSecuredUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteSecuredUserCompleted(this, new DeleteSecuredUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredGroups", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebGroup[] GetSecuredGroups(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredGroups", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebGroup[] GetSecuredGroups(int siteItemId) + { object[] results = this.Invoke("GetSecuredGroups", new object[] { siteItemId}); return ((WebGroup[])(results[0])); } - + /// - public System.IAsyncResult BeginGetSecuredGroups(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSecuredGroups(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSecuredGroups", new object[] { siteItemId}, callback, asyncState); } - + /// - public WebGroup[] EndGetSecuredGroups(System.IAsyncResult asyncResult) { + public WebGroup[] EndGetSecuredGroups(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebGroup[])(results[0])); } - + /// - public void GetSecuredGroupsAsync(int siteItemId) { + public void GetSecuredGroupsAsync(int siteItemId) + { this.GetSecuredGroupsAsync(siteItemId, null); } - + /// - public void GetSecuredGroupsAsync(int siteItemId, object userState) { - if ((this.GetSecuredGroupsOperationCompleted == null)) { + public void GetSecuredGroupsAsync(int siteItemId, object userState) + { + if ((this.GetSecuredGroupsOperationCompleted == null)) + { this.GetSecuredGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecuredGroupsOperationCompleted); } this.InvokeAsync("GetSecuredGroups", new object[] { siteItemId}, this.GetSecuredGroupsOperationCompleted, userState); } - - private void OnGetSecuredGroupsOperationCompleted(object arg) { - if ((this.GetSecuredGroupsCompleted != null)) { + + private void OnGetSecuredGroupsOperationCompleted(object arg) + { + if ((this.GetSecuredGroupsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSecuredGroupsCompleted(this, new GetSecuredGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredGroup", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebGroup GetSecuredGroup(int siteItemId, string groupName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSecuredGroup", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebGroup GetSecuredGroup(int siteItemId, string groupName) + { object[] results = this.Invoke("GetSecuredGroup", new object[] { siteItemId, groupName}); return ((WebGroup)(results[0])); } - + /// - public System.IAsyncResult BeginGetSecuredGroup(int siteItemId, string groupName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSecuredGroup(int siteItemId, string groupName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSecuredGroup", new object[] { siteItemId, groupName}, callback, asyncState); } - + /// - public WebGroup EndGetSecuredGroup(System.IAsyncResult asyncResult) { + public WebGroup EndGetSecuredGroup(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebGroup)(results[0])); } - + /// - public void GetSecuredGroupAsync(int siteItemId, string groupName) { + public void GetSecuredGroupAsync(int siteItemId, string groupName) + { this.GetSecuredGroupAsync(siteItemId, groupName, null); } - + /// - public void GetSecuredGroupAsync(int siteItemId, string groupName, object userState) { - if ((this.GetSecuredGroupOperationCompleted == null)) { + public void GetSecuredGroupAsync(int siteItemId, string groupName, object userState) + { + if ((this.GetSecuredGroupOperationCompleted == null)) + { this.GetSecuredGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSecuredGroupOperationCompleted); } this.InvokeAsync("GetSecuredGroup", new object[] { siteItemId, groupName}, this.GetSecuredGroupOperationCompleted, userState); } - - private void OnGetSecuredGroupOperationCompleted(object arg) { - if ((this.GetSecuredGroupCompleted != null)) { + + private void OnGetSecuredGroupOperationCompleted(object arg) + { + if ((this.GetSecuredGroupCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSecuredGroupCompleted(this, new GetSecuredGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateSecuredGroup", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UpdateSecuredGroup(int siteItemId, WebGroup group) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateSecuredGroup", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UpdateSecuredGroup(int siteItemId, WebGroup group) + { object[] results = this.Invoke("UpdateSecuredGroup", new object[] { siteItemId, group}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUpdateSecuredGroup(int siteItemId, WebGroup group, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateSecuredGroup(int siteItemId, WebGroup group, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateSecuredGroup", new object[] { siteItemId, group}, callback, asyncState); } - + /// - public int EndUpdateSecuredGroup(System.IAsyncResult asyncResult) { + public int EndUpdateSecuredGroup(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UpdateSecuredGroupAsync(int siteItemId, WebGroup group) { + public void UpdateSecuredGroupAsync(int siteItemId, WebGroup group) + { this.UpdateSecuredGroupAsync(siteItemId, group, null); } - + /// - public void UpdateSecuredGroupAsync(int siteItemId, WebGroup group, object userState) { - if ((this.UpdateSecuredGroupOperationCompleted == null)) { + public void UpdateSecuredGroupAsync(int siteItemId, WebGroup group, object userState) + { + if ((this.UpdateSecuredGroupOperationCompleted == null)) + { this.UpdateSecuredGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSecuredGroupOperationCompleted); } this.InvokeAsync("UpdateSecuredGroup", new object[] { siteItemId, group}, this.UpdateSecuredGroupOperationCompleted, userState); } - - private void OnUpdateSecuredGroupOperationCompleted(object arg) { - if ((this.UpdateSecuredGroupCompleted != null)) { + + private void OnUpdateSecuredGroupOperationCompleted(object arg) + { + if ((this.UpdateSecuredGroupCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateSecuredGroupCompleted(this, new UpdateSecuredGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteSecuredGroup", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DeleteSecuredGroup(int siteItemId, string groupName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteSecuredGroup", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DeleteSecuredGroup(int siteItemId, string groupName) + { object[] results = this.Invoke("DeleteSecuredGroup", new object[] { siteItemId, groupName}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginDeleteSecuredGroup(int siteItemId, string groupName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteSecuredGroup(int siteItemId, string groupName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteSecuredGroup", new object[] { siteItemId, groupName}, callback, asyncState); } - + /// - public int EndDeleteSecuredGroup(System.IAsyncResult asyncResult) { + public int EndDeleteSecuredGroup(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void DeleteSecuredGroupAsync(int siteItemId, string groupName) { + public void DeleteSecuredGroupAsync(int siteItemId, string groupName) + { this.DeleteSecuredGroupAsync(siteItemId, groupName, null); } - + /// - public void DeleteSecuredGroupAsync(int siteItemId, string groupName, object userState) { - if ((this.DeleteSecuredGroupOperationCompleted == null)) { + public void DeleteSecuredGroupAsync(int siteItemId, string groupName, object userState) + { + if ((this.DeleteSecuredGroupOperationCompleted == null)) + { this.DeleteSecuredGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSecuredGroupOperationCompleted); } this.InvokeAsync("DeleteSecuredGroup", new object[] { siteItemId, groupName}, this.DeleteSecuredGroupOperationCompleted, userState); } - - private void OnDeleteSecuredGroupOperationCompleted(object arg) { - if ((this.DeleteSecuredGroupCompleted != null)) { + + private void OnDeleteSecuredGroupOperationCompleted(object arg) + { + if ((this.DeleteSecuredGroupCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteSecuredGroupCompleted(this, new DeleteSecuredGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GrantWebDeployPublishingAccess", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject GrantWebDeployPublishingAccess(int siteItemId, string accountName, string accountPassword) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GrantWebDeployPublishingAccess", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject GrantWebDeployPublishingAccess(int siteItemId, string accountName, string accountPassword) + { object[] results = this.Invoke("GrantWebDeployPublishingAccess", new object[] { siteItemId, accountName, accountPassword}); return ((ResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginGrantWebDeployPublishingAccess(int siteItemId, string accountName, string accountPassword, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGrantWebDeployPublishingAccess(int siteItemId, string accountName, string accountPassword, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GrantWebDeployPublishingAccess", new object[] { siteItemId, accountName, accountPassword}, callback, asyncState); } - + /// - public ResultObject EndGrantWebDeployPublishingAccess(System.IAsyncResult asyncResult) { + public ResultObject EndGrantWebDeployPublishingAccess(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } - + /// - public void GrantWebDeployPublishingAccessAsync(int siteItemId, string accountName, string accountPassword) { + public void GrantWebDeployPublishingAccessAsync(int siteItemId, string accountName, string accountPassword) + { this.GrantWebDeployPublishingAccessAsync(siteItemId, accountName, accountPassword, null); } - + /// - public void GrantWebDeployPublishingAccessAsync(int siteItemId, string accountName, string accountPassword, object userState) { - if ((this.GrantWebDeployPublishingAccessOperationCompleted == null)) { + public void GrantWebDeployPublishingAccessAsync(int siteItemId, string accountName, string accountPassword, object userState) + { + if ((this.GrantWebDeployPublishingAccessOperationCompleted == null)) + { this.GrantWebDeployPublishingAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGrantWebDeployPublishingAccessOperationCompleted); } this.InvokeAsync("GrantWebDeployPublishingAccess", new object[] { @@ -2494,4221 +4310,3627 @@ namespace WebsitePanel.EnterpriseServer { accountName, accountPassword}, this.GrantWebDeployPublishingAccessOperationCompleted, userState); } - - private void OnGrantWebDeployPublishingAccessOperationCompleted(object arg) { - if ((this.GrantWebDeployPublishingAccessCompleted != null)) { + + private void OnGrantWebDeployPublishingAccessOperationCompleted(object arg) + { + if ((this.GrantWebDeployPublishingAccessCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GrantWebDeployPublishingAccessCompleted(this, new GrantWebDeployPublishingAccessCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SaveWebDeployPublishingProfile", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject SaveWebDeployPublishingProfile(int siteItemId, int[] serviceItemIds) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SaveWebDeployPublishingProfile", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject SaveWebDeployPublishingProfile(int siteItemId, int[] serviceItemIds) + { object[] results = this.Invoke("SaveWebDeployPublishingProfile", new object[] { siteItemId, serviceItemIds}); return ((ResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginSaveWebDeployPublishingProfile(int siteItemId, int[] serviceItemIds, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginSaveWebDeployPublishingProfile(int siteItemId, int[] serviceItemIds, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("SaveWebDeployPublishingProfile", new object[] { siteItemId, serviceItemIds}, callback, asyncState); } - + /// - public ResultObject EndSaveWebDeployPublishingProfile(System.IAsyncResult asyncResult) { + public ResultObject EndSaveWebDeployPublishingProfile(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } - + /// - public void SaveWebDeployPublishingProfileAsync(int siteItemId, int[] serviceItemIds) { + public void SaveWebDeployPublishingProfileAsync(int siteItemId, int[] serviceItemIds) + { this.SaveWebDeployPublishingProfileAsync(siteItemId, serviceItemIds, null); } - + /// - public void SaveWebDeployPublishingProfileAsync(int siteItemId, int[] serviceItemIds, object userState) { - if ((this.SaveWebDeployPublishingProfileOperationCompleted == null)) { + public void SaveWebDeployPublishingProfileAsync(int siteItemId, int[] serviceItemIds, object userState) + { + if ((this.SaveWebDeployPublishingProfileOperationCompleted == null)) + { this.SaveWebDeployPublishingProfileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSaveWebDeployPublishingProfileOperationCompleted); } this.InvokeAsync("SaveWebDeployPublishingProfile", new object[] { siteItemId, serviceItemIds}, this.SaveWebDeployPublishingProfileOperationCompleted, userState); } - - private void OnSaveWebDeployPublishingProfileOperationCompleted(object arg) { - if ((this.SaveWebDeployPublishingProfileCompleted != null)) { + + private void OnSaveWebDeployPublishingProfileOperationCompleted(object arg) + { + if ((this.SaveWebDeployPublishingProfileCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SaveWebDeployPublishingProfileCompleted(this, new SaveWebDeployPublishingProfileCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RevokeWebDeployPublishingAccess", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void RevokeWebDeployPublishingAccess(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RevokeWebDeployPublishingAccess", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void RevokeWebDeployPublishingAccess(int siteItemId) + { this.Invoke("RevokeWebDeployPublishingAccess", new object[] { siteItemId}); } - + /// - public System.IAsyncResult BeginRevokeWebDeployPublishingAccess(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginRevokeWebDeployPublishingAccess(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("RevokeWebDeployPublishingAccess", new object[] { siteItemId}, callback, asyncState); } - + /// - public void EndRevokeWebDeployPublishingAccess(System.IAsyncResult asyncResult) { + public void EndRevokeWebDeployPublishingAccess(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void RevokeWebDeployPublishingAccessAsync(int siteItemId) { + public void RevokeWebDeployPublishingAccessAsync(int siteItemId) + { this.RevokeWebDeployPublishingAccessAsync(siteItemId, null); } - + /// - public void RevokeWebDeployPublishingAccessAsync(int siteItemId, object userState) { - if ((this.RevokeWebDeployPublishingAccessOperationCompleted == null)) { + public void RevokeWebDeployPublishingAccessAsync(int siteItemId, object userState) + { + if ((this.RevokeWebDeployPublishingAccessOperationCompleted == null)) + { this.RevokeWebDeployPublishingAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRevokeWebDeployPublishingAccessOperationCompleted); } this.InvokeAsync("RevokeWebDeployPublishingAccess", new object[] { siteItemId}, this.RevokeWebDeployPublishingAccessOperationCompleted, userState); } - - private void OnRevokeWebDeployPublishingAccessOperationCompleted(object arg) { - if ((this.RevokeWebDeployPublishingAccessCompleted != null)) { + + private void OnRevokeWebDeployPublishingAccessOperationCompleted(object arg) + { + if ((this.RevokeWebDeployPublishingAccessCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.RevokeWebDeployPublishingAccessCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebDeployPublishingProfile", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public BytesResult GetWebDeployPublishingProfile(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebDeployPublishingProfile", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public BytesResult GetWebDeployPublishingProfile(int siteItemId) + { object[] results = this.Invoke("GetWebDeployPublishingProfile", new object[] { siteItemId}); return ((BytesResult)(results[0])); } - + /// - public System.IAsyncResult BeginGetWebDeployPublishingProfile(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetWebDeployPublishingProfile(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetWebDeployPublishingProfile", new object[] { siteItemId}, callback, asyncState); } - + /// - public BytesResult EndGetWebDeployPublishingProfile(System.IAsyncResult asyncResult) { + public BytesResult EndGetWebDeployPublishingProfile(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((BytesResult)(results[0])); } - + /// - public void GetWebDeployPublishingProfileAsync(int siteItemId) { + public void GetWebDeployPublishingProfileAsync(int siteItemId) + { this.GetWebDeployPublishingProfileAsync(siteItemId, null); } - + /// - public void GetWebDeployPublishingProfileAsync(int siteItemId, object userState) { - if ((this.GetWebDeployPublishingProfileOperationCompleted == null)) { + public void GetWebDeployPublishingProfileAsync(int siteItemId, object userState) + { + if ((this.GetWebDeployPublishingProfileOperationCompleted == null)) + { this.GetWebDeployPublishingProfileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWebDeployPublishingProfileOperationCompleted); } this.InvokeAsync("GetWebDeployPublishingProfile", new object[] { siteItemId}, this.GetWebDeployPublishingProfileOperationCompleted, userState); } - - private void OnGetWebDeployPublishingProfileOperationCompleted(object arg) { - if ((this.GetWebDeployPublishingProfileCompleted != null)) { + + private void OnGetWebDeployPublishingProfileOperationCompleted(object arg) + { + if ((this.GetWebDeployPublishingProfileCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetWebDeployPublishingProfileCompleted(this, new GetWebDeployPublishingProfileCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ChangeWebDeployPublishingPassword", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject ChangeWebDeployPublishingPassword(int siteItemId, string newAccountPassword) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ChangeWebDeployPublishingPassword", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject ChangeWebDeployPublishingPassword(int siteItemId, string newAccountPassword) + { object[] results = this.Invoke("ChangeWebDeployPublishingPassword", new object[] { siteItemId, newAccountPassword}); return ((ResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginChangeWebDeployPublishingPassword(int siteItemId, string newAccountPassword, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginChangeWebDeployPublishingPassword(int siteItemId, string newAccountPassword, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("ChangeWebDeployPublishingPassword", new object[] { siteItemId, newAccountPassword}, callback, asyncState); } - + /// - public ResultObject EndChangeWebDeployPublishingPassword(System.IAsyncResult asyncResult) { + public ResultObject EndChangeWebDeployPublishingPassword(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } - + /// - public void ChangeWebDeployPublishingPasswordAsync(int siteItemId, string newAccountPassword) { + public void ChangeWebDeployPublishingPasswordAsync(int siteItemId, string newAccountPassword) + { this.ChangeWebDeployPublishingPasswordAsync(siteItemId, newAccountPassword, null); } - + /// - public void ChangeWebDeployPublishingPasswordAsync(int siteItemId, string newAccountPassword, object userState) { - if ((this.ChangeWebDeployPublishingPasswordOperationCompleted == null)) { + public void ChangeWebDeployPublishingPasswordAsync(int siteItemId, string newAccountPassword, object userState) + { + if ((this.ChangeWebDeployPublishingPasswordOperationCompleted == null)) + { this.ChangeWebDeployPublishingPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeWebDeployPublishingPasswordOperationCompleted); } this.InvokeAsync("ChangeWebDeployPublishingPassword", new object[] { siteItemId, newAccountPassword}, this.ChangeWebDeployPublishingPasswordOperationCompleted, userState); } - - private void OnChangeWebDeployPublishingPasswordOperationCompleted(object arg) { - if ((this.ChangeWebDeployPublishingPasswordCompleted != null)) { + + private void OnChangeWebDeployPublishingPasswordOperationCompleted(object arg) + { + if ((this.ChangeWebDeployPublishingPasswordCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ChangeWebDeployPublishingPasswordCompleted(this, new ChangeWebDeployPublishingPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeStatus", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HeliconApeStatus GetHeliconApeStatus(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeStatus", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HeliconApeStatus GetHeliconApeStatus(int siteItemId) + { object[] results = this.Invoke("GetHeliconApeStatus", new object[] { siteItemId}); return ((HeliconApeStatus)(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeStatus(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeStatus(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeStatus", new object[] { siteItemId}, callback, asyncState); } - + /// - public HeliconApeStatus EndGetHeliconApeStatus(System.IAsyncResult asyncResult) { + public HeliconApeStatus EndGetHeliconApeStatus(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HeliconApeStatus)(results[0])); } - + /// - public void GetHeliconApeStatusAsync(int siteItemId) { + public void GetHeliconApeStatusAsync(int siteItemId) + { this.GetHeliconApeStatusAsync(siteItemId, null); } - + /// - public void GetHeliconApeStatusAsync(int siteItemId, object userState) { - if ((this.GetHeliconApeStatusOperationCompleted == null)) { + public void GetHeliconApeStatusAsync(int siteItemId, object userState) + { + if ((this.GetHeliconApeStatusOperationCompleted == null)) + { this.GetHeliconApeStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeStatusOperationCompleted); } this.InvokeAsync("GetHeliconApeStatus", new object[] { siteItemId}, this.GetHeliconApeStatusOperationCompleted, userState); } - - private void OnGetHeliconApeStatusOperationCompleted(object arg) { - if ((this.GetHeliconApeStatusCompleted != null)) { + + private void OnGetHeliconApeStatusOperationCompleted(object arg) + { + if ((this.GetHeliconApeStatusCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeStatusCompleted(this, new GetHeliconApeStatusCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallHeliconApe", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void InstallHeliconApe(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallHeliconApe", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void InstallHeliconApe(int siteItemId) + { this.Invoke("InstallHeliconApe", new object[] { siteItemId}); } - + /// - public System.IAsyncResult BeginInstallHeliconApe(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginInstallHeliconApe(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("InstallHeliconApe", new object[] { siteItemId}, callback, asyncState); } - + /// - public void EndInstallHeliconApe(System.IAsyncResult asyncResult) { + public void EndInstallHeliconApe(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void InstallHeliconApeAsync(int siteItemId) { + public void InstallHeliconApeAsync(int siteItemId) + { this.InstallHeliconApeAsync(siteItemId, null); } - + /// - public void InstallHeliconApeAsync(int siteItemId, object userState) { - if ((this.InstallHeliconApeOperationCompleted == null)) { + public void InstallHeliconApeAsync(int siteItemId, object userState) + { + if ((this.InstallHeliconApeOperationCompleted == null)) + { this.InstallHeliconApeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallHeliconApeOperationCompleted); } this.InvokeAsync("InstallHeliconApe", new object[] { siteItemId}, this.InstallHeliconApeOperationCompleted, userState); } - - private void OnInstallHeliconApeOperationCompleted(object arg) { - if ((this.InstallHeliconApeCompleted != null)) { + + private void OnInstallHeliconApeOperationCompleted(object arg) + { + if ((this.InstallHeliconApeCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.InstallHeliconApeCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/EnableHeliconApe", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int EnableHeliconApe(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/EnableHeliconApe", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int EnableHeliconApe(int siteItemId) + { object[] results = this.Invoke("EnableHeliconApe", new object[] { siteItemId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginEnableHeliconApe(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginEnableHeliconApe(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("EnableHeliconApe", new object[] { siteItemId}, callback, asyncState); } - + /// - public int EndEnableHeliconApe(System.IAsyncResult asyncResult) { + public int EndEnableHeliconApe(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void EnableHeliconApeAsync(int siteItemId) { + public void EnableHeliconApeAsync(int siteItemId) + { this.EnableHeliconApeAsync(siteItemId, null); } - + /// - public void EnableHeliconApeAsync(int siteItemId, object userState) { - if ((this.EnableHeliconApeOperationCompleted == null)) { + public void EnableHeliconApeAsync(int siteItemId, object userState) + { + if ((this.EnableHeliconApeOperationCompleted == null)) + { this.EnableHeliconApeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEnableHeliconApeOperationCompleted); } this.InvokeAsync("EnableHeliconApe", new object[] { siteItemId}, this.EnableHeliconApeOperationCompleted, userState); } - - private void OnEnableHeliconApeOperationCompleted(object arg) { - if ((this.EnableHeliconApeCompleted != null)) { + + private void OnEnableHeliconApeOperationCompleted(object arg) + { + if ((this.EnableHeliconApeCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.EnableHeliconApeCompleted(this, new EnableHeliconApeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DisableHeliconApe", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DisableHeliconApe(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DisableHeliconApe", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DisableHeliconApe(int siteItemId) + { object[] results = this.Invoke("DisableHeliconApe", new object[] { siteItemId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginDisableHeliconApe(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDisableHeliconApe(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DisableHeliconApe", new object[] { siteItemId}, callback, asyncState); } - + /// - public int EndDisableHeliconApe(System.IAsyncResult asyncResult) { + public int EndDisableHeliconApe(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void DisableHeliconApeAsync(int siteItemId) { + public void DisableHeliconApeAsync(int siteItemId) + { this.DisableHeliconApeAsync(siteItemId, null); } - + /// - public void DisableHeliconApeAsync(int siteItemId, object userState) { - if ((this.DisableHeliconApeOperationCompleted == null)) { + public void DisableHeliconApeAsync(int siteItemId, object userState) + { + if ((this.DisableHeliconApeOperationCompleted == null)) + { this.DisableHeliconApeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDisableHeliconApeOperationCompleted); } this.InvokeAsync("DisableHeliconApe", new object[] { siteItemId}, this.DisableHeliconApeOperationCompleted, userState); } - - private void OnDisableHeliconApeOperationCompleted(object arg) { - if ((this.DisableHeliconApeCompleted != null)) { + + private void OnDisableHeliconApeOperationCompleted(object arg) + { + if ((this.DisableHeliconApeCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DisableHeliconApeCompleted(this, new DisableHeliconApeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/EnableHeliconApeGlobally", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int EnableHeliconApeGlobally(int serviceId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/EnableHeliconApeGlobally", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int EnableHeliconApeGlobally(int serviceId) + { object[] results = this.Invoke("EnableHeliconApeGlobally", new object[] { serviceId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginEnableHeliconApeGlobally(int serviceId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginEnableHeliconApeGlobally(int serviceId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("EnableHeliconApeGlobally", new object[] { serviceId}, callback, asyncState); } - + /// - public int EndEnableHeliconApeGlobally(System.IAsyncResult asyncResult) { + public int EndEnableHeliconApeGlobally(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void EnableHeliconApeGloballyAsync(int serviceId) { + public void EnableHeliconApeGloballyAsync(int serviceId) + { this.EnableHeliconApeGloballyAsync(serviceId, null); } - + /// - public void EnableHeliconApeGloballyAsync(int serviceId, object userState) { - if ((this.EnableHeliconApeGloballyOperationCompleted == null)) { + public void EnableHeliconApeGloballyAsync(int serviceId, object userState) + { + if ((this.EnableHeliconApeGloballyOperationCompleted == null)) + { this.EnableHeliconApeGloballyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEnableHeliconApeGloballyOperationCompleted); } this.InvokeAsync("EnableHeliconApeGlobally", new object[] { serviceId}, this.EnableHeliconApeGloballyOperationCompleted, userState); } - - private void OnEnableHeliconApeGloballyOperationCompleted(object arg) { - if ((this.EnableHeliconApeGloballyCompleted != null)) { + + private void OnEnableHeliconApeGloballyOperationCompleted(object arg) + { + if ((this.EnableHeliconApeGloballyCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.EnableHeliconApeGloballyCompleted(this, new EnableHeliconApeGloballyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DisableHeliconApeGlobally", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DisableHeliconApeGlobally(int serviceId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DisableHeliconApeGlobally", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DisableHeliconApeGlobally(int serviceId) + { object[] results = this.Invoke("DisableHeliconApeGlobally", new object[] { serviceId}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginDisableHeliconApeGlobally(int serviceId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDisableHeliconApeGlobally(int serviceId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DisableHeliconApeGlobally", new object[] { serviceId}, callback, asyncState); } - + /// - public int EndDisableHeliconApeGlobally(System.IAsyncResult asyncResult) { + public int EndDisableHeliconApeGlobally(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void DisableHeliconApeGloballyAsync(int serviceId) { + public void DisableHeliconApeGloballyAsync(int serviceId) + { this.DisableHeliconApeGloballyAsync(serviceId, null); } - + /// - public void DisableHeliconApeGloballyAsync(int serviceId, object userState) { - if ((this.DisableHeliconApeGloballyOperationCompleted == null)) { + public void DisableHeliconApeGloballyAsync(int serviceId, object userState) + { + if ((this.DisableHeliconApeGloballyOperationCompleted == null)) + { this.DisableHeliconApeGloballyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDisableHeliconApeGloballyOperationCompleted); } this.InvokeAsync("DisableHeliconApeGlobally", new object[] { serviceId}, this.DisableHeliconApeGloballyOperationCompleted, userState); } - - private void OnDisableHeliconApeGloballyOperationCompleted(object arg) { - if ((this.DisableHeliconApeGloballyCompleted != null)) { + + private void OnDisableHeliconApeGloballyOperationCompleted(object arg) + { + if ((this.DisableHeliconApeGloballyCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DisableHeliconApeGloballyCompleted(this, new DisableHeliconApeGloballyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeFolders", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HtaccessFolder[] GetHeliconApeFolders(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeFolders", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HtaccessFolder[] GetHeliconApeFolders(int siteItemId) + { object[] results = this.Invoke("GetHeliconApeFolders", new object[] { siteItemId}); return ((HtaccessFolder[])(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeFolders(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeFolders(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeFolders", new object[] { siteItemId}, callback, asyncState); } - + /// - public HtaccessFolder[] EndGetHeliconApeFolders(System.IAsyncResult asyncResult) { + public HtaccessFolder[] EndGetHeliconApeFolders(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HtaccessFolder[])(results[0])); } - + /// - public void GetHeliconApeFoldersAsync(int siteItemId) { + public void GetHeliconApeFoldersAsync(int siteItemId) + { this.GetHeliconApeFoldersAsync(siteItemId, null); } - + /// - public void GetHeliconApeFoldersAsync(int siteItemId, object userState) { - if ((this.GetHeliconApeFoldersOperationCompleted == null)) { + public void GetHeliconApeFoldersAsync(int siteItemId, object userState) + { + if ((this.GetHeliconApeFoldersOperationCompleted == null)) + { this.GetHeliconApeFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeFoldersOperationCompleted); } this.InvokeAsync("GetHeliconApeFolders", new object[] { siteItemId}, this.GetHeliconApeFoldersOperationCompleted, userState); } - - private void OnGetHeliconApeFoldersOperationCompleted(object arg) { - if ((this.GetHeliconApeFoldersCompleted != null)) { + + private void OnGetHeliconApeFoldersOperationCompleted(object arg) + { + if ((this.GetHeliconApeFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeFoldersCompleted(this, new GetHeliconApeFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeHttpdFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HtaccessFolder GetHeliconApeHttpdFolder(int serviceId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeHttpdFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HtaccessFolder GetHeliconApeHttpdFolder(int serviceId) + { object[] results = this.Invoke("GetHeliconApeHttpdFolder", new object[] { serviceId}); return ((HtaccessFolder)(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeHttpdFolder(int serviceId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeHttpdFolder(int serviceId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeHttpdFolder", new object[] { serviceId}, callback, asyncState); } - + /// - public HtaccessFolder EndGetHeliconApeHttpdFolder(System.IAsyncResult asyncResult) { + public HtaccessFolder EndGetHeliconApeHttpdFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HtaccessFolder)(results[0])); } - + /// - public void GetHeliconApeHttpdFolderAsync(int serviceId) { + public void GetHeliconApeHttpdFolderAsync(int serviceId) + { this.GetHeliconApeHttpdFolderAsync(serviceId, null); } - + /// - public void GetHeliconApeHttpdFolderAsync(int serviceId, object userState) { - if ((this.GetHeliconApeHttpdFolderOperationCompleted == null)) { + public void GetHeliconApeHttpdFolderAsync(int serviceId, object userState) + { + if ((this.GetHeliconApeHttpdFolderOperationCompleted == null)) + { this.GetHeliconApeHttpdFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeHttpdFolderOperationCompleted); } this.InvokeAsync("GetHeliconApeHttpdFolder", new object[] { serviceId}, this.GetHeliconApeHttpdFolderOperationCompleted, userState); } - - private void OnGetHeliconApeHttpdFolderOperationCompleted(object arg) { - if ((this.GetHeliconApeHttpdFolderCompleted != null)) { + + private void OnGetHeliconApeHttpdFolderOperationCompleted(object arg) + { + if ((this.GetHeliconApeHttpdFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeHttpdFolderCompleted(this, new GetHeliconApeHttpdFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HtaccessFolder GetHeliconApeFolder(int siteItemId, string folderPath) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HtaccessFolder GetHeliconApeFolder(int siteItemId, string folderPath) + { object[] results = this.Invoke("GetHeliconApeFolder", new object[] { siteItemId, folderPath}); return ((HtaccessFolder)(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeFolder(int siteItemId, string folderPath, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeFolder(int siteItemId, string folderPath, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeFolder", new object[] { siteItemId, folderPath}, callback, asyncState); } - + /// - public HtaccessFolder EndGetHeliconApeFolder(System.IAsyncResult asyncResult) { + public HtaccessFolder EndGetHeliconApeFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HtaccessFolder)(results[0])); } - + /// - public void GetHeliconApeFolderAsync(int siteItemId, string folderPath) { + public void GetHeliconApeFolderAsync(int siteItemId, string folderPath) + { this.GetHeliconApeFolderAsync(siteItemId, folderPath, null); } - + /// - public void GetHeliconApeFolderAsync(int siteItemId, string folderPath, object userState) { - if ((this.GetHeliconApeFolderOperationCompleted == null)) { + public void GetHeliconApeFolderAsync(int siteItemId, string folderPath, object userState) + { + if ((this.GetHeliconApeFolderOperationCompleted == null)) + { this.GetHeliconApeFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeFolderOperationCompleted); } this.InvokeAsync("GetHeliconApeFolder", new object[] { siteItemId, folderPath}, this.GetHeliconApeFolderOperationCompleted, userState); } - - private void OnGetHeliconApeFolderOperationCompleted(object arg) { - if ((this.GetHeliconApeFolderCompleted != null)) { + + private void OnGetHeliconApeFolderOperationCompleted(object arg) + { + if ((this.GetHeliconApeFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeFolderCompleted(this, new GetHeliconApeFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateHeliconApeFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UpdateHeliconApeFolder(int siteItemId, HtaccessFolder folder) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateHeliconApeFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UpdateHeliconApeFolder(int siteItemId, HtaccessFolder folder) + { object[] results = this.Invoke("UpdateHeliconApeFolder", new object[] { siteItemId, folder}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUpdateHeliconApeFolder(int siteItemId, HtaccessFolder folder, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateHeliconApeFolder(int siteItemId, HtaccessFolder folder, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateHeliconApeFolder", new object[] { siteItemId, folder}, callback, asyncState); } - + /// - public int EndUpdateHeliconApeFolder(System.IAsyncResult asyncResult) { + public int EndUpdateHeliconApeFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UpdateHeliconApeFolderAsync(int siteItemId, HtaccessFolder folder) { + public void UpdateHeliconApeFolderAsync(int siteItemId, HtaccessFolder folder) + { this.UpdateHeliconApeFolderAsync(siteItemId, folder, null); } - + /// - public void UpdateHeliconApeFolderAsync(int siteItemId, HtaccessFolder folder, object userState) { - if ((this.UpdateHeliconApeFolderOperationCompleted == null)) { + public void UpdateHeliconApeFolderAsync(int siteItemId, HtaccessFolder folder, object userState) + { + if ((this.UpdateHeliconApeFolderOperationCompleted == null)) + { this.UpdateHeliconApeFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateHeliconApeFolderOperationCompleted); } this.InvokeAsync("UpdateHeliconApeFolder", new object[] { siteItemId, folder}, this.UpdateHeliconApeFolderOperationCompleted, userState); } - - private void OnUpdateHeliconApeFolderOperationCompleted(object arg) { - if ((this.UpdateHeliconApeFolderCompleted != null)) { + + private void OnUpdateHeliconApeFolderOperationCompleted(object arg) + { + if ((this.UpdateHeliconApeFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateHeliconApeFolderCompleted(this, new UpdateHeliconApeFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateHeliconApeHttpdFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UpdateHeliconApeHttpdFolder(int serviceId, HtaccessFolder folder) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateHeliconApeHttpdFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UpdateHeliconApeHttpdFolder(int serviceId, HtaccessFolder folder) + { object[] results = this.Invoke("UpdateHeliconApeHttpdFolder", new object[] { serviceId, folder}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUpdateHeliconApeHttpdFolder(int serviceId, HtaccessFolder folder, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateHeliconApeHttpdFolder(int serviceId, HtaccessFolder folder, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateHeliconApeHttpdFolder", new object[] { serviceId, folder}, callback, asyncState); } - + /// - public int EndUpdateHeliconApeHttpdFolder(System.IAsyncResult asyncResult) { + public int EndUpdateHeliconApeHttpdFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UpdateHeliconApeHttpdFolderAsync(int serviceId, HtaccessFolder folder) { + public void UpdateHeliconApeHttpdFolderAsync(int serviceId, HtaccessFolder folder) + { this.UpdateHeliconApeHttpdFolderAsync(serviceId, folder, null); } - + /// - public void UpdateHeliconApeHttpdFolderAsync(int serviceId, HtaccessFolder folder, object userState) { - if ((this.UpdateHeliconApeHttpdFolderOperationCompleted == null)) { + public void UpdateHeliconApeHttpdFolderAsync(int serviceId, HtaccessFolder folder, object userState) + { + if ((this.UpdateHeliconApeHttpdFolderOperationCompleted == null)) + { this.UpdateHeliconApeHttpdFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateHeliconApeHttpdFolderOperationCompleted); } this.InvokeAsync("UpdateHeliconApeHttpdFolder", new object[] { serviceId, folder}, this.UpdateHeliconApeHttpdFolderOperationCompleted, userState); } - - private void OnUpdateHeliconApeHttpdFolderOperationCompleted(object arg) { - if ((this.UpdateHeliconApeHttpdFolderCompleted != null)) { + + private void OnUpdateHeliconApeHttpdFolderOperationCompleted(object arg) + { + if ((this.UpdateHeliconApeHttpdFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateHeliconApeHttpdFolderCompleted(this, new UpdateHeliconApeHttpdFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteHeliconApeFolder", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DeleteHeliconApeFolder(int siteItemId, string folderPath) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteHeliconApeFolder", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int DeleteHeliconApeFolder(int siteItemId, string folderPath) + { object[] results = this.Invoke("DeleteHeliconApeFolder", new object[] { siteItemId, folderPath}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginDeleteHeliconApeFolder(int siteItemId, string folderPath, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteHeliconApeFolder(int siteItemId, string folderPath, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteHeliconApeFolder", new object[] { siteItemId, folderPath}, callback, asyncState); } - + /// - public int EndDeleteHeliconApeFolder(System.IAsyncResult asyncResult) { + public int EndDeleteHeliconApeFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void DeleteHeliconApeFolderAsync(int siteItemId, string folderPath) { + public void DeleteHeliconApeFolderAsync(int siteItemId, string folderPath) + { this.DeleteHeliconApeFolderAsync(siteItemId, folderPath, null); } - + /// - public void DeleteHeliconApeFolderAsync(int siteItemId, string folderPath, object userState) { - if ((this.DeleteHeliconApeFolderOperationCompleted == null)) { + public void DeleteHeliconApeFolderAsync(int siteItemId, string folderPath, object userState) + { + if ((this.DeleteHeliconApeFolderOperationCompleted == null)) + { this.DeleteHeliconApeFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteHeliconApeFolderOperationCompleted); } this.InvokeAsync("DeleteHeliconApeFolder", new object[] { siteItemId, folderPath}, this.DeleteHeliconApeFolderOperationCompleted, userState); } - - private void OnDeleteHeliconApeFolderOperationCompleted(object arg) { - if ((this.DeleteHeliconApeFolderCompleted != null)) { + + private void OnDeleteHeliconApeFolderOperationCompleted(object arg) + { + if ((this.DeleteHeliconApeFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteHeliconApeFolderCompleted(this, new DeleteHeliconApeFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeUsers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HtaccessUser[] GetHeliconApeUsers(int siteItemId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeUsers", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HtaccessUser[] GetHeliconApeUsers(int siteItemId) + { object[] results = this.Invoke("GetHeliconApeUsers", new object[] { siteItemId}); return ((HtaccessUser[])(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeUsers(int siteItemId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeUsers(int siteItemId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeUsers", new object[] { siteItemId}, callback, asyncState); } - + /// - public HtaccessUser[] EndGetHeliconApeUsers(System.IAsyncResult asyncResult) { + public HtaccessUser[] EndGetHeliconApeUsers(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HtaccessUser[])(results[0])); } - + /// - public void GetHeliconApeUsersAsync(int siteItemId) { + public void GetHeliconApeUsersAsync(int siteItemId) + { this.GetHeliconApeUsersAsync(siteItemId, null); } - + /// - public void GetHeliconApeUsersAsync(int siteItemId, object userState) { - if ((this.GetHeliconApeUsersOperationCompleted == null)) { + public void GetHeliconApeUsersAsync(int siteItemId, object userState) + { + if ((this.GetHeliconApeUsersOperationCompleted == null)) + { this.GetHeliconApeUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeUsersOperationCompleted); } this.InvokeAsync("GetHeliconApeUsers", new object[] { siteItemId}, this.GetHeliconApeUsersOperationCompleted, userState); } - - private void OnGetHeliconApeUsersOperationCompleted(object arg) { - if ((this.GetHeliconApeUsersCompleted != null)) { + + private void OnGetHeliconApeUsersOperationCompleted(object arg) + { + if ((this.GetHeliconApeUsersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeUsersCompleted(this, new GetHeliconApeUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeUser", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HtaccessUser GetHeliconApeUser(int siteItemId, string userName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeUser", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HtaccessUser GetHeliconApeUser(int siteItemId, string userName) + { object[] results = this.Invoke("GetHeliconApeUser", new object[] { siteItemId, userName}); return ((HtaccessUser)(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeUser(int siteItemId, string userName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeUser(int siteItemId, string userName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeUser", new object[] { siteItemId, userName}, callback, asyncState); } - + /// - public HtaccessUser EndGetHeliconApeUser(System.IAsyncResult asyncResult) { + public HtaccessUser EndGetHeliconApeUser(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HtaccessUser)(results[0])); } - + /// - public void GetHeliconApeUserAsync(int siteItemId, string userName) { + public void GetHeliconApeUserAsync(int siteItemId, string userName) + { this.GetHeliconApeUserAsync(siteItemId, userName, null); } - + /// - public void GetHeliconApeUserAsync(int siteItemId, string userName, object userState) { - if ((this.GetHeliconApeUserOperationCompleted == null)) { + public void GetHeliconApeUserAsync(int siteItemId, string userName, object userState) + { + if ((this.GetHeliconApeUserOperationCompleted == null)) + { this.GetHeliconApeUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeUserOperationCompleted); } this.InvokeAsync("GetHeliconApeUser", new object[] { siteItemId, userName}, this.GetHeliconApeUserOperationCompleted, userState); } - - private void OnGetHeliconApeUserOperationCompleted(object arg) { - if ((this.GetHeliconApeUserCompleted != null)) { + + private void OnGetHeliconApeUserOperationCompleted(object arg) + { + if ((this.GetHeliconApeUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeUserCompleted(this, new GetHeliconApeUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateHeliconApeUser", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UpdateHeliconApeUser(int siteItemId, HtaccessUser user) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateHeliconApeUser", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int UpdateHeliconApeUser(int siteItemId, HtaccessUser user) + { object[] results = this.Invoke("UpdateHeliconApeUser", new object[] { siteItemId, user}); return ((int)(results[0])); } - + /// - public System.IAsyncResult BeginUpdateHeliconApeUser(int siteItemId, HtaccessUser user, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateHeliconApeUser(int siteItemId, HtaccessUser user, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateHeliconApeUser", new object[] { siteItemId, user}, callback, asyncState); } - + /// - public int EndUpdateHeliconApeUser(System.IAsyncResult asyncResult) { + public int EndUpdateHeliconApeUser(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } - + /// - public void UpdateHeliconApeUserAsync(int siteItemId, HtaccessUser user) { + public void UpdateHeliconApeUserAsync(int siteItemId, HtaccessUser user) + { this.UpdateHeliconApeUserAsync(siteItemId, user, null); } - + /// - public void UpdateHeliconApeUserAsync(int siteItemId, HtaccessUser user, object userState) { - if ((this.UpdateHeliconApeUserOperationCompleted == null)) { + public void UpdateHeliconApeUserAsync(int siteItemId, HtaccessUser user, object userState) + { + if ((this.UpdateHeliconApeUserOperationCompleted == null)) + { this.UpdateHeliconApeUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateHeliconApeUserOperationCompleted); } this.InvokeAsync("UpdateHeliconApeUser", new object[] { siteItemId, user}, this.UpdateHeliconApeUserOperationCompleted, userState); } - - private void OnUpdateHeliconApeUserOperationCompleted(object arg) { - if ((this.UpdateHeliconApeUserCompleted != null)) { + + private void OnUpdateHeliconApeUserOperationCompleted(object arg) + { + if ((this.UpdateHeliconApeUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateHeliconApeUserCompleted(this, new UpdateHeliconApeUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteHeliconApeUser", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DeleteHeliconApeUser(int siteItemId, string userName) { - object[] results = this.Invoke("DeleteHeliconApeUser", new object[] { - siteItemId, - userName}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteHeliconApeUser(int siteItemId, string userName, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteHeliconApeUser", new object[] { - siteItemId, - userName}, callback, asyncState); - } - - /// - public int EndDeleteHeliconApeUser(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void DeleteHeliconApeUserAsync(int siteItemId, string userName) { - this.DeleteHeliconApeUserAsync(siteItemId, userName, null); - } - - /// - public void DeleteHeliconApeUserAsync(int siteItemId, string userName, object userState) { - if ((this.DeleteHeliconApeUserOperationCompleted == null)) { - this.DeleteHeliconApeUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteHeliconApeUserOperationCompleted); - } - this.InvokeAsync("DeleteHeliconApeUser", new object[] { - siteItemId, - userName}, this.DeleteHeliconApeUserOperationCompleted, userState); - } - - private void OnDeleteHeliconApeUserOperationCompleted(object arg) { - if ((this.DeleteHeliconApeUserCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteHeliconApeUserCompleted(this, new DeleteHeliconApeUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeGroups", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebGroup[] GetHeliconApeGroups(int siteItemId) { - object[] results = this.Invoke("GetHeliconApeGroups", new object[] { - siteItemId}); - return ((WebGroup[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetHeliconApeGroups(int siteItemId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetHeliconApeGroups", new object[] { - siteItemId}, callback, asyncState); - } - - /// - public WebGroup[] EndGetHeliconApeGroups(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((WebGroup[])(results[0])); - } - - /// - public void GetHeliconApeGroupsAsync(int siteItemId) { - this.GetHeliconApeGroupsAsync(siteItemId, null); - } - - /// - public void GetHeliconApeGroupsAsync(int siteItemId, object userState) { - if ((this.GetHeliconApeGroupsOperationCompleted == null)) { - this.GetHeliconApeGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeGroupsOperationCompleted); - } - this.InvokeAsync("GetHeliconApeGroups", new object[] { - siteItemId}, this.GetHeliconApeGroupsOperationCompleted, userState); - } - - private void OnGetHeliconApeGroupsOperationCompleted(object arg) { - if ((this.GetHeliconApeGroupsCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetHeliconApeGroupsCompleted(this, new GetHeliconApeGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetHeliconApeGroup", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebGroup GetHeliconApeGroup(int siteItemId, string groupName) { - object[] results = this.Invoke("GetHeliconApeGroup", new object[] { - siteItemId, - groupName}); - return ((WebGroup)(results[0])); - } - - /// - public System.IAsyncResult BeginGetHeliconApeGroup(int siteItemId, string groupName, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetHeliconApeGroup", new object[] { - siteItemId, - groupName}, callback, asyncState); - } - - /// - public WebGroup EndGetHeliconApeGroup(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((WebGroup)(results[0])); - } - - /// - public void GetHeliconApeGroupAsync(int siteItemId, string groupName) { - this.GetHeliconApeGroupAsync(siteItemId, groupName, null); - } - - /// - public void GetHeliconApeGroupAsync(int siteItemId, string groupName, object userState) { - if ((this.GetHeliconApeGroupOperationCompleted == null)) { - this.GetHeliconApeGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeGroupOperationCompleted); - } - this.InvokeAsync("GetHeliconApeGroup", new object[] { - siteItemId, - groupName}, this.GetHeliconApeGroupOperationCompleted, userState); - } - - private void OnGetHeliconApeGroupOperationCompleted(object arg) { - if ((this.GetHeliconApeGroupCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetHeliconApeGroupCompleted(this, new GetHeliconApeGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateHeliconApeGroup", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int UpdateHeliconApeGroup(int siteItemId, WebGroup group) { - object[] results = this.Invoke("UpdateHeliconApeGroup", new object[] { - siteItemId, - group}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginUpdateHeliconApeGroup(int siteItemId, WebGroup group, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("UpdateHeliconApeGroup", new object[] { - siteItemId, - group}, callback, asyncState); - } - - /// - public int EndUpdateHeliconApeGroup(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void UpdateHeliconApeGroupAsync(int siteItemId, WebGroup group) { - this.UpdateHeliconApeGroupAsync(siteItemId, group, null); - } - - /// - public void UpdateHeliconApeGroupAsync(int siteItemId, WebGroup group, object userState) { - if ((this.UpdateHeliconApeGroupOperationCompleted == null)) { - this.UpdateHeliconApeGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateHeliconApeGroupOperationCompleted); - } - this.InvokeAsync("UpdateHeliconApeGroup", new object[] { - siteItemId, - group}, this.UpdateHeliconApeGroupOperationCompleted, userState); - } - - private void OnUpdateHeliconApeGroupOperationCompleted(object arg) { - if ((this.UpdateHeliconApeGroupCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.UpdateHeliconApeGroupCompleted(this, new UpdateHeliconApeGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteHeliconApeGroup", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int DeleteHeliconApeGroup(int siteItemId, string groupName) { - object[] results = this.Invoke("DeleteHeliconApeGroup", new object[] { - siteItemId, - groupName}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteHeliconApeGroup(int siteItemId, string groupName, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteHeliconApeGroup", new object[] { - siteItemId, - groupName}, callback, asyncState); - } - - /// - public int EndDeleteHeliconApeGroup(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void DeleteHeliconApeGroupAsync(int siteItemId, string groupName) { - this.DeleteHeliconApeGroupAsync(siteItemId, groupName, null); - } - - /// - public void DeleteHeliconApeGroupAsync(int siteItemId, string groupName, object userState) { - if ((this.DeleteHeliconApeGroupOperationCompleted == null)) { - this.DeleteHeliconApeGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteHeliconApeGroupOperationCompleted); - } - this.InvokeAsync("DeleteHeliconApeGroup", new object[] { - siteItemId, - groupName}, this.DeleteHeliconApeGroupOperationCompleted, userState); - } - - private void OnDeleteHeliconApeGroupOperationCompleted(object arg) { - if ((this.DeleteHeliconApeGroupCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteHeliconApeGroupCompleted(this, new DeleteHeliconApeGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetZooApplications", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebVirtualDirectory[] GetZooApplications(int siteItemId) { - object[] results = this.Invoke("GetZooApplications", new object[] { - siteItemId}); - return ((WebVirtualDirectory[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetZooApplications(int siteItemId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetZooApplications", new object[] { - siteItemId}, callback, asyncState); - } - - /// - public WebVirtualDirectory[] EndGetZooApplications(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((WebVirtualDirectory[])(results[0])); - } - - /// - public void GetZooApplicationsAsync(int siteItemId) { - this.GetZooApplicationsAsync(siteItemId, null); - } - - /// - public void GetZooApplicationsAsync(int siteItemId, object userState) { - if ((this.GetZooApplicationsOperationCompleted == null)) { - this.GetZooApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetZooApplicationsOperationCompleted); - } - this.InvokeAsync("GetZooApplications", new object[] { - siteItemId}, this.GetZooApplicationsOperationCompleted, userState); - } - - private void OnGetZooApplicationsOperationCompleted(object arg) { - if ((this.GetZooApplicationsCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetZooApplicationsCompleted(this, new GetZooApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetZooEnvironmentVariable", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public StringResultObject SetZooEnvironmentVariable(int siteItemId, string appName, string envName, string envValue) { - object[] results = this.Invoke("SetZooEnvironmentVariable", new object[] { - siteItemId, - appName, - envName, - envValue}); - return ((StringResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginSetZooEnvironmentVariable(int siteItemId, string appName, string envName, string envValue, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("SetZooEnvironmentVariable", new object[] { - siteItemId, - appName, - envName, - envValue}, callback, asyncState); - } - - /// - public StringResultObject EndSetZooEnvironmentVariable(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((StringResultObject)(results[0])); - } - - /// - public void SetZooEnvironmentVariableAsync(int siteItemId, string appName, string envName, string envValue) { - this.SetZooEnvironmentVariableAsync(siteItemId, appName, envName, envValue, null); - } - - /// - public void SetZooEnvironmentVariableAsync(int siteItemId, string appName, string envName, string envValue, object userState) { - if ((this.SetZooEnvironmentVariableOperationCompleted == null)) { - this.SetZooEnvironmentVariableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetZooEnvironmentVariableOperationCompleted); - } - this.InvokeAsync("SetZooEnvironmentVariable", new object[] { - siteItemId, - appName, - envName, - envValue}, this.SetZooEnvironmentVariableOperationCompleted, userState); - } - - private void OnSetZooEnvironmentVariableOperationCompleted(object arg) { - if ((this.SetZooEnvironmentVariableCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.SetZooEnvironmentVariableCompleted(this, new SetZooEnvironmentVariableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetZooConsoleEnabled", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public StringResultObject SetZooConsoleEnabled(int siteItemId, string appName) { - object[] results = this.Invoke("SetZooConsoleEnabled", new object[] { - siteItemId, - appName}); - return ((StringResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginSetZooConsoleEnabled(int siteItemId, string appName, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("SetZooConsoleEnabled", new object[] { - siteItemId, - appName}, callback, asyncState); - } - - /// - public StringResultObject EndSetZooConsoleEnabled(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((StringResultObject)(results[0])); - } - - /// - public void SetZooConsoleEnabledAsync(int siteItemId, string appName) { - this.SetZooConsoleEnabledAsync(siteItemId, appName, null); - } - - /// - public void SetZooConsoleEnabledAsync(int siteItemId, string appName, object userState) { - if ((this.SetZooConsoleEnabledOperationCompleted == null)) { - this.SetZooConsoleEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetZooConsoleEnabledOperationCompleted); - } - this.InvokeAsync("SetZooConsoleEnabled", new object[] { - siteItemId, - appName}, this.SetZooConsoleEnabledOperationCompleted, userState); - } - - private void OnSetZooConsoleEnabledOperationCompleted(object arg) { - if ((this.SetZooConsoleEnabledCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.SetZooConsoleEnabledCompleted(this, new SetZooConsoleEnabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetZooConsoleDisabled", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public StringResultObject SetZooConsoleDisabled(int siteItemId, string appName) { - object[] results = this.Invoke("SetZooConsoleDisabled", new object[] { - siteItemId, - appName}); - return ((StringResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginSetZooConsoleDisabled(int siteItemId, string appName, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("SetZooConsoleDisabled", new object[] { - siteItemId, - appName}, callback, asyncState); - } - - /// - public StringResultObject EndSetZooConsoleDisabled(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((StringResultObject)(results[0])); - } - - /// - public void SetZooConsoleDisabledAsync(int siteItemId, string appName) { - this.SetZooConsoleDisabledAsync(siteItemId, appName, null); - } - - /// - public void SetZooConsoleDisabledAsync(int siteItemId, string appName, object userState) { - if ((this.SetZooConsoleDisabledOperationCompleted == null)) { - this.SetZooConsoleDisabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetZooConsoleDisabledOperationCompleted); - } - this.InvokeAsync("SetZooConsoleDisabled", new object[] { - siteItemId, - appName}, this.SetZooConsoleDisabledOperationCompleted, userState); - } - - private void OnSetZooConsoleDisabledOperationCompleted(object arg) { - if ((this.SetZooConsoleDisabledCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.SetZooConsoleDisabledCompleted(this, new SetZooConsoleDisabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GrantWebManagementAccess", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject GrantWebManagementAccess(int siteItemId, string accountName, string accountPassword) { - object[] results = this.Invoke("GrantWebManagementAccess", new object[] { - siteItemId, - accountName, - accountPassword}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginGrantWebManagementAccess(int siteItemId, string accountName, string accountPassword, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GrantWebManagementAccess", new object[] { - siteItemId, - accountName, - accountPassword}, callback, asyncState); - } - - /// - public ResultObject EndGrantWebManagementAccess(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void GrantWebManagementAccessAsync(int siteItemId, string accountName, string accountPassword) { - this.GrantWebManagementAccessAsync(siteItemId, accountName, accountPassword, null); - } - - /// - public void GrantWebManagementAccessAsync(int siteItemId, string accountName, string accountPassword, object userState) { - if ((this.GrantWebManagementAccessOperationCompleted == null)) { - this.GrantWebManagementAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGrantWebManagementAccessOperationCompleted); - } - this.InvokeAsync("GrantWebManagementAccess", new object[] { - siteItemId, - accountName, - accountPassword}, this.GrantWebManagementAccessOperationCompleted, userState); - } - - private void OnGrantWebManagementAccessOperationCompleted(object arg) { - if ((this.GrantWebManagementAccessCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GrantWebManagementAccessCompleted(this, new GrantWebManagementAccessCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RevokeWebManagementAccess", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void RevokeWebManagementAccess(int siteItemId) { - this.Invoke("RevokeWebManagementAccess", new object[] { - siteItemId}); - } - - /// - public System.IAsyncResult BeginRevokeWebManagementAccess(int siteItemId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("RevokeWebManagementAccess", new object[] { - siteItemId}, callback, asyncState); - } - - /// - public void EndRevokeWebManagementAccess(System.IAsyncResult asyncResult) { - this.EndInvoke(asyncResult); - } - - /// - public void RevokeWebManagementAccessAsync(int siteItemId) { - this.RevokeWebManagementAccessAsync(siteItemId, null); - } - - /// - public void RevokeWebManagementAccessAsync(int siteItemId, object userState) { - if ((this.RevokeWebManagementAccessOperationCompleted == null)) { - this.RevokeWebManagementAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRevokeWebManagementAccessOperationCompleted); - } - this.InvokeAsync("RevokeWebManagementAccess", new object[] { - siteItemId}, this.RevokeWebManagementAccessOperationCompleted, userState); - } - - private void OnRevokeWebManagementAccessOperationCompleted(object arg) { - if ((this.RevokeWebManagementAccessCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.RevokeWebManagementAccessCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ChangeWebManagementAccessPassword", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject ChangeWebManagementAccessPassword(int siteItemId, string accountPassword) { - object[] results = this.Invoke("ChangeWebManagementAccessPassword", new object[] { - siteItemId, - accountPassword}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginChangeWebManagementAccessPassword(int siteItemId, string accountPassword, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("ChangeWebManagementAccessPassword", new object[] { - siteItemId, - accountPassword}, callback, asyncState); - } - - /// - public ResultObject EndChangeWebManagementAccessPassword(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void ChangeWebManagementAccessPasswordAsync(int siteItemId, string accountPassword) { - this.ChangeWebManagementAccessPasswordAsync(siteItemId, accountPassword, null); - } - - /// - public void ChangeWebManagementAccessPasswordAsync(int siteItemId, string accountPassword, object userState) { - if ((this.ChangeWebManagementAccessPasswordOperationCompleted == null)) { - this.ChangeWebManagementAccessPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeWebManagementAccessPasswordOperationCompleted); - } - this.InvokeAsync("ChangeWebManagementAccessPassword", new object[] { - siteItemId, - accountPassword}, this.ChangeWebManagementAccessPasswordOperationCompleted, userState); - } - - private void OnChangeWebManagementAccessPasswordOperationCompleted(object arg) { - if ((this.ChangeWebManagementAccessPasswordCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.ChangeWebManagementAccessPasswordCompleted(this, new ChangeWebManagementAccessPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CertificateRequest", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate CertificateRequest(SSLCertificate certificate, int siteItemId) { - object[] results = this.Invoke("CertificateRequest", new object[] { - certificate, - siteItemId}); - return ((SSLCertificate)(results[0])); - } - - /// - public System.IAsyncResult BeginCertificateRequest(SSLCertificate certificate, int siteItemId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("CertificateRequest", new object[] { - certificate, - siteItemId}, callback, asyncState); - } - - /// - public SSLCertificate EndCertificateRequest(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate)(results[0])); - } - - /// - public void CertificateRequestAsync(SSLCertificate certificate, int siteItemId) { - this.CertificateRequestAsync(certificate, siteItemId, null); - } - - /// - public void CertificateRequestAsync(SSLCertificate certificate, int siteItemId, object userState) { - if ((this.CertificateRequestOperationCompleted == null)) { - this.CertificateRequestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCertificateRequestOperationCompleted); - } - this.InvokeAsync("CertificateRequest", new object[] { - certificate, - siteItemId}, this.CertificateRequestOperationCompleted, userState); - } - - private void OnCertificateRequestOperationCompleted(object arg) { - if ((this.CertificateRequestCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.CertificateRequestCompleted(this, new CertificateRequestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallCertificate", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject InstallCertificate(SSLCertificate certificate, int siteItemId) { - object[] results = this.Invoke("InstallCertificate", new object[] { - certificate, - siteItemId}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginInstallCertificate(SSLCertificate certificate, int siteItemId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("InstallCertificate", new object[] { - certificate, - siteItemId}, callback, asyncState); - } - - /// - public ResultObject EndInstallCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void InstallCertificateAsync(SSLCertificate certificate, int siteItemId) { - this.InstallCertificateAsync(certificate, siteItemId, null); - } - - /// - public void InstallCertificateAsync(SSLCertificate certificate, int siteItemId, object userState) { - if ((this.InstallCertificateOperationCompleted == null)) { - this.InstallCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallCertificateOperationCompleted); - } - this.InvokeAsync("InstallCertificate", new object[] { - certificate, - siteItemId}, this.InstallCertificateOperationCompleted, userState); - } - - private void OnInstallCertificateOperationCompleted(object arg) { - if ((this.InstallCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.InstallCertificateCompleted(this, new InstallCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallPfx", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject InstallPfx([System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] certificate, int siteItemId, string password) { - object[] results = this.Invoke("InstallPfx", new object[] { - certificate, - siteItemId, - password}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginInstallPfx(byte[] certificate, int siteItemId, string password, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("InstallPfx", new object[] { - certificate, - siteItemId, - password}, callback, asyncState); - } - - /// - public ResultObject EndInstallPfx(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void InstallPfxAsync(byte[] certificate, int siteItemId, string password) { - this.InstallPfxAsync(certificate, siteItemId, password, null); - } - - /// - public void InstallPfxAsync(byte[] certificate, int siteItemId, string password, object userState) { - if ((this.InstallPfxOperationCompleted == null)) { - this.InstallPfxOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallPfxOperationCompleted); - } - this.InvokeAsync("InstallPfx", new object[] { - certificate, - siteItemId, - password}, this.InstallPfxOperationCompleted, userState); - } - - private void OnInstallPfxOperationCompleted(object arg) { - if ((this.InstallPfxCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.InstallPfxCompleted(this, new InstallPfxCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetPendingCertificates", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate[] GetPendingCertificates(int siteItemId) { - object[] results = this.Invoke("GetPendingCertificates", new object[] { - siteItemId}); - return ((SSLCertificate[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetPendingCertificates(int siteItemId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetPendingCertificates", new object[] { - siteItemId}, callback, asyncState); - } - - /// - public SSLCertificate[] EndGetPendingCertificates(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate[])(results[0])); - } - - /// - public void GetPendingCertificatesAsync(int siteItemId) { - this.GetPendingCertificatesAsync(siteItemId, null); - } - - /// - public void GetPendingCertificatesAsync(int siteItemId, object userState) { - if ((this.GetPendingCertificatesOperationCompleted == null)) { - this.GetPendingCertificatesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPendingCertificatesOperationCompleted); - } - this.InvokeAsync("GetPendingCertificates", new object[] { - siteItemId}, this.GetPendingCertificatesOperationCompleted, userState); - } - - private void OnGetPendingCertificatesOperationCompleted(object arg) { - if ((this.GetPendingCertificatesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetPendingCertificatesCompleted(this, new GetPendingCertificatesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSSLCertificateByID", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate GetSSLCertificateByID(int Id) { - object[] results = this.Invoke("GetSSLCertificateByID", new object[] { - Id}); - return ((SSLCertificate)(results[0])); - } - - /// - public System.IAsyncResult BeginGetSSLCertificateByID(int Id, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetSSLCertificateByID", new object[] { - Id}, callback, asyncState); - } - - /// - public SSLCertificate EndGetSSLCertificateByID(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate)(results[0])); - } - - /// - public void GetSSLCertificateByIDAsync(int Id) { - this.GetSSLCertificateByIDAsync(Id, null); - } - - /// - public void GetSSLCertificateByIDAsync(int Id, object userState) { - if ((this.GetSSLCertificateByIDOperationCompleted == null)) { - this.GetSSLCertificateByIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSSLCertificateByIDOperationCompleted); - } - this.InvokeAsync("GetSSLCertificateByID", new object[] { - Id}, this.GetSSLCertificateByIDOperationCompleted, userState); - } - - private void OnGetSSLCertificateByIDOperationCompleted(object arg) { - if ((this.GetSSLCertificateByIDCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetSSLCertificateByIDCompleted(this, new GetSSLCertificateByIDCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetSiteCert", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate GetSiteCert(int siteID) { - object[] results = this.Invoke("GetSiteCert", new object[] { - siteID}); - return ((SSLCertificate)(results[0])); - } - - /// - public System.IAsyncResult BeginGetSiteCert(int siteID, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetSiteCert", new object[] { - siteID}, callback, asyncState); - } - - /// - public SSLCertificate EndGetSiteCert(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate)(results[0])); - } - - /// - public void GetSiteCertAsync(int siteID) { - this.GetSiteCertAsync(siteID, null); - } - - /// - public void GetSiteCertAsync(int siteID, object userState) { - if ((this.GetSiteCertOperationCompleted == null)) { - this.GetSiteCertOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSiteCertOperationCompleted); - } - this.InvokeAsync("GetSiteCert", new object[] { - siteID}, this.GetSiteCertOperationCompleted, userState); - } - - private void OnGetSiteCertOperationCompleted(object arg) { - if ((this.GetSiteCertCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetSiteCertCompleted(this, new GetSiteCertCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckSSLForWebsite", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public int CheckSSLForWebsite(int siteID, bool renewal) { - object[] results = this.Invoke("CheckSSLForWebsite", new object[] { - siteID, - renewal}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginCheckSSLForWebsite(int siteID, bool renewal, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("CheckSSLForWebsite", new object[] { - siteID, - renewal}, callback, asyncState); - } - - /// - public int EndCheckSSLForWebsite(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void CheckSSLForWebsiteAsync(int siteID, bool renewal) { - this.CheckSSLForWebsiteAsync(siteID, renewal, null); - } - - /// - public void CheckSSLForWebsiteAsync(int siteID, bool renewal, object userState) { - if ((this.CheckSSLForWebsiteOperationCompleted == null)) { - this.CheckSSLForWebsiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckSSLForWebsiteOperationCompleted); - } - this.InvokeAsync("CheckSSLForWebsite", new object[] { - siteID, - renewal}, this.CheckSSLForWebsiteOperationCompleted, userState); - } - - private void OnCheckSSLForWebsiteOperationCompleted(object arg) { - if ((this.CheckSSLForWebsiteCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.CheckSSLForWebsiteCompleted(this, new CheckSSLForWebsiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckSSLForDomain", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject CheckSSLForDomain(string domain, int siteID) { - object[] results = this.Invoke("CheckSSLForDomain", new object[] { - domain, - siteID}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginCheckSSLForDomain(string domain, int siteID, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("CheckSSLForDomain", new object[] { - domain, - siteID}, callback, asyncState); - } - - /// - public ResultObject EndCheckSSLForDomain(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void CheckSSLForDomainAsync(string domain, int siteID) { - this.CheckSSLForDomainAsync(domain, siteID, null); - } - - /// - public void CheckSSLForDomainAsync(string domain, int siteID, object userState) { - if ((this.CheckSSLForDomainOperationCompleted == null)) { - this.CheckSSLForDomainOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckSSLForDomainOperationCompleted); - } - this.InvokeAsync("CheckSSLForDomain", new object[] { - domain, - siteID}, this.CheckSSLForDomainOperationCompleted, userState); - } - - private void OnCheckSSLForDomainOperationCompleted(object arg) { - if ((this.CheckSSLForDomainCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.CheckSSLForDomainCompleted(this, new CheckSSLForDomainCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ExportCertificate", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - [return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] - public byte[] ExportCertificate(int siteId, string serialNumber, string password) { - object[] results = this.Invoke("ExportCertificate", new object[] { - siteId, - serialNumber, - password}); - return ((byte[])(results[0])); - } - - /// - public System.IAsyncResult BeginExportCertificate(int siteId, string serialNumber, string password, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("ExportCertificate", new object[] { - siteId, - serialNumber, - password}, callback, asyncState); - } - - /// - public byte[] EndExportCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((byte[])(results[0])); - } - - /// - public void ExportCertificateAsync(int siteId, string serialNumber, string password) { - this.ExportCertificateAsync(siteId, serialNumber, password, null); - } - - /// - public void ExportCertificateAsync(int siteId, string serialNumber, string password, object userState) { - if ((this.ExportCertificateOperationCompleted == null)) { - this.ExportCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnExportCertificateOperationCompleted); - } - this.InvokeAsync("ExportCertificate", new object[] { - siteId, - serialNumber, - password}, this.ExportCertificateOperationCompleted, userState); - } - - private void OnExportCertificateOperationCompleted(object arg) { - if ((this.ExportCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.ExportCertificateCompleted(this, new ExportCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetCertificatesForSite", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate[] GetCertificatesForSite(int siteId) { - object[] results = this.Invoke("GetCertificatesForSite", new object[] { - siteId}); - return ((SSLCertificate[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetCertificatesForSite(int siteId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetCertificatesForSite", new object[] { - siteId}, callback, asyncState); - } - - /// - public SSLCertificate[] EndGetCertificatesForSite(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate[])(results[0])); - } - - /// - public void GetCertificatesForSiteAsync(int siteId) { - this.GetCertificatesForSiteAsync(siteId, null); - } - - /// - public void GetCertificatesForSiteAsync(int siteId, object userState) { - if ((this.GetCertificatesForSiteOperationCompleted == null)) { - this.GetCertificatesForSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCertificatesForSiteOperationCompleted); - } - this.InvokeAsync("GetCertificatesForSite", new object[] { - siteId}, this.GetCertificatesForSiteOperationCompleted, userState); - } - - private void OnGetCertificatesForSiteOperationCompleted(object arg) { - if ((this.GetCertificatesForSiteCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetCertificatesForSiteCompleted(this, new GetCertificatesForSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteCertificate", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject DeleteCertificate(int siteId, SSLCertificate certificate) { - object[] results = this.Invoke("DeleteCertificate", new object[] { - siteId, - certificate}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteCertificate(int siteId, SSLCertificate certificate, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteCertificate", new object[] { - siteId, - certificate}, callback, asyncState); - } - - /// - public ResultObject EndDeleteCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void DeleteCertificateAsync(int siteId, SSLCertificate certificate) { - this.DeleteCertificateAsync(siteId, certificate, null); - } - - /// - public void DeleteCertificateAsync(int siteId, SSLCertificate certificate, object userState) { - if ((this.DeleteCertificateOperationCompleted == null)) { - this.DeleteCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteCertificateOperationCompleted); - } - this.InvokeAsync("DeleteCertificate", new object[] { - siteId, - certificate}, this.DeleteCertificateOperationCompleted, userState); - } - - private void OnDeleteCertificateOperationCompleted(object arg) { - if ((this.DeleteCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteCertificateCompleted(this, new DeleteCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/ImportCertificate", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject ImportCertificate(int siteId) { - object[] results = this.Invoke("ImportCertificate", new object[] { - siteId}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginImportCertificate(int siteId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("ImportCertificate", new object[] { - siteId}, callback, asyncState); - } - - /// - public ResultObject EndImportCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void ImportCertificateAsync(int siteId) { - this.ImportCertificateAsync(siteId, null); - } - - /// - public void ImportCertificateAsync(int siteId, object userState) { - if ((this.ImportCertificateOperationCompleted == null)) { - this.ImportCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnImportCertificateOperationCompleted); - } - this.InvokeAsync("ImportCertificate", new object[] { - siteId}, this.ImportCertificateOperationCompleted, userState); - } - - private void OnImportCertificateOperationCompleted(object arg) { - if ((this.ImportCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.ImportCertificateCompleted(this, new ImportCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckCertificate", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject CheckCertificate(int siteId) { - object[] results = this.Invoke("CheckCertificate", new object[] { - siteId}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginCheckCertificate(int siteId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("CheckCertificate", new object[] { - siteId}, callback, asyncState); - } - - /// - public ResultObject EndCheckCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void CheckCertificateAsync(int siteId) { - this.CheckCertificateAsync(siteId, null); - } - - /// - public void CheckCertificateAsync(int siteId, object userState) { - if ((this.CheckCertificateOperationCompleted == null)) { - this.CheckCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckCertificateOperationCompleted); - } - this.InvokeAsync("CheckCertificate", new object[] { - siteId}, this.CheckCertificateOperationCompleted, userState); - } - - private void OnCheckCertificateOperationCompleted(object arg) { - if ((this.CheckCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.CheckCertificateCompleted(this, new CheckCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteCertificateRequest", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject DeleteCertificateRequest(int siteId, int csrID) { - object[] results = this.Invoke("DeleteCertificateRequest", new object[] { - siteId, - csrID}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteCertificateRequest(int siteId, int csrID, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteCertificateRequest", new object[] { - siteId, - csrID}, callback, asyncState); - } - - /// - public ResultObject EndDeleteCertificateRequest(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void DeleteCertificateRequestAsync(int siteId, int csrID) { - this.DeleteCertificateRequestAsync(siteId, csrID, null); - } - - /// - public void DeleteCertificateRequestAsync(int siteId, int csrID, object userState) { - if ((this.DeleteCertificateRequestOperationCompleted == null)) { - this.DeleteCertificateRequestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteCertificateRequestOperationCompleted); - } - this.InvokeAsync("DeleteCertificateRequest", new object[] { - siteId, - csrID}, this.DeleteCertificateRequestOperationCompleted, userState); - } - - private void OnDeleteCertificateRequestOperationCompleted(object arg) { - if ((this.DeleteCertificateRequestCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteCertificateRequestCompleted(this, new DeleteCertificateRequestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - public new void CancelAsync(object userState) { + public new void CancelAsync(object userState) + { base.CancelAsync(userState); } } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetRawWebSitesPagedCompletedEventHandler(object sender, GetRawWebSitesPagedCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetRawWebSitesPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetRawWebSitesPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public System.Data.DataSet Result { - get { - this.RaiseExceptionIfNecessary(); - return ((System.Data.DataSet)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWebSitesCompletedEventHandler(object sender, GetWebSitesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWebSitesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWebSitesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebSite[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebSite[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWebSiteCompletedEventHandler(object sender, GetWebSiteCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWebSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWebSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebSite Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebSite)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetVirtualDirectoriesCompletedEventHandler(object sender, GetVirtualDirectoriesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetVirtualDirectoriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetVirtualDirectoriesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebVirtualDirectory[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebVirtualDirectory[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetVirtualDirectoryCompletedEventHandler(object sender, GetVirtualDirectoryCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetVirtualDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetVirtualDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebVirtualDirectory Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebVirtualDirectory)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWebSitePointersCompletedEventHandler(object sender, GetWebSitePointersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWebSitePointersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWebSitePointersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public DomainInfo[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((DomainInfo[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void AddWebSitePointerCompletedEventHandler(object sender, AddWebSitePointerCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class AddWebSitePointerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal AddWebSitePointerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteWebSitePointerCompletedEventHandler(object sender, DeleteWebSitePointerCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteWebSitePointerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteWebSitePointerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void AddWebSiteCompletedEventHandler(object sender, AddWebSiteCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class AddWebSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal AddWebSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void AddVirtualDirectoryCompletedEventHandler(object sender, AddVirtualDirectoryCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class AddVirtualDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal AddVirtualDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateWebSiteCompletedEventHandler(object sender, UpdateWebSiteCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateWebSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateWebSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void InstallFrontPageCompletedEventHandler(object sender, InstallFrontPageCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class InstallFrontPageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal InstallFrontPageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UninstallFrontPageCompletedEventHandler(object sender, UninstallFrontPageCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UninstallFrontPageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UninstallFrontPageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void ChangeFrontPagePasswordCompletedEventHandler(object sender, ChangeFrontPagePasswordCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ChangeFrontPagePasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal ChangeFrontPagePasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void RepairWebSiteCompletedEventHandler(object sender, RepairWebSiteCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class RepairWebSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal RepairWebSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateVirtualDirectoryCompletedEventHandler(object sender, UpdateVirtualDirectoryCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateVirtualDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateVirtualDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteWebSiteCompletedEventHandler(object sender, DeleteWebSiteCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteWebSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteWebSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void SwitchWebSiteToDedicatedIPCompletedEventHandler(object sender, SwitchWebSiteToDedicatedIPCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SwitchWebSiteToDedicatedIPCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal SwitchWebSiteToDedicatedIPCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void SwitchWebSiteToSharedIPCompletedEventHandler(object sender, SwitchWebSiteToSharedIPCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SwitchWebSiteToSharedIPCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal SwitchWebSiteToSharedIPCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteVirtualDirectoryCompletedEventHandler(object sender, DeleteVirtualDirectoryCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteVirtualDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteVirtualDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void ChangeSiteStateCompletedEventHandler(object sender, ChangeSiteStateCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ChangeSiteStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal ChangeSiteStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void ChangeAppPoolStateCompletedEventHandler(object sender, ChangeAppPoolStateCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ChangeAppPoolStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal ChangeAppPoolStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetAppPoolStateCompletedEventHandler(object sender, GetAppPoolStateCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetAppPoolStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetAppPoolStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public AppPoolState Result { - get { - this.RaiseExceptionIfNecessary(); - return ((AppPoolState)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSharedSSLDomainsCompletedEventHandler(object sender, GetSharedSSLDomainsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSharedSSLDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSharedSSLDomainsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public string[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetRawSSLFoldersPagedCompletedEventHandler(object sender, GetRawSSLFoldersPagedCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetRawSSLFoldersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetRawSSLFoldersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public System.Data.DataSet Result { - get { - this.RaiseExceptionIfNecessary(); - return ((System.Data.DataSet)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSharedSSLFoldersCompletedEventHandler(object sender, GetSharedSSLFoldersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSharedSSLFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSharedSSLFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public SharedSSLFolder[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((SharedSSLFolder[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSharedSSLFolderCompletedEventHandler(object sender, GetSharedSSLFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSharedSSLFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSharedSSLFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public SharedSSLFolder Result { - get { - this.RaiseExceptionIfNecessary(); - return ((SharedSSLFolder)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void AddSharedSSLFolderCompletedEventHandler(object sender, AddSharedSSLFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class AddSharedSSLFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal AddSharedSSLFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateSharedSSLFolderCompletedEventHandler(object sender, UpdateSharedSSLFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateSharedSSLFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateSharedSSLFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteSharedSSLFolderCompletedEventHandler(object sender, DeleteSharedSSLFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteSharedSSLFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteSharedSSLFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void InstallSecuredFoldersCompletedEventHandler(object sender, InstallSecuredFoldersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class InstallSecuredFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal InstallSecuredFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UninstallSecuredFoldersCompletedEventHandler(object sender, UninstallSecuredFoldersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UninstallSecuredFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UninstallSecuredFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSecuredFoldersCompletedEventHandler(object sender, GetSecuredFoldersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSecuredFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSecuredFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebFolder[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebFolder[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSecuredFolderCompletedEventHandler(object sender, GetSecuredFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSecuredFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSecuredFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebFolder Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebFolder)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateSecuredFolderCompletedEventHandler(object sender, UpdateSecuredFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateSecuredFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateSecuredFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteSecuredFolderCompletedEventHandler(object sender, DeleteSecuredFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteSecuredFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteSecuredFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSecuredUsersCompletedEventHandler(object sender, GetSecuredUsersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSecuredUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSecuredUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebUser[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebUser[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSecuredUserCompletedEventHandler(object sender, GetSecuredUserCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSecuredUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSecuredUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebUser Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebUser)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateSecuredUserCompletedEventHandler(object sender, UpdateSecuredUserCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateSecuredUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateSecuredUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteSecuredUserCompletedEventHandler(object sender, DeleteSecuredUserCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteSecuredUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteSecuredUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSecuredGroupsCompletedEventHandler(object sender, GetSecuredGroupsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSecuredGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSecuredGroupsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebGroup[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebGroup[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSecuredGroupCompletedEventHandler(object sender, GetSecuredGroupCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSecuredGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSecuredGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebGroup Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebGroup)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateSecuredGroupCompletedEventHandler(object sender, UpdateSecuredGroupCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateSecuredGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateSecuredGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteSecuredGroupCompletedEventHandler(object sender, DeleteSecuredGroupCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteSecuredGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteSecuredGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GrantWebDeployPublishingAccessCompletedEventHandler(object sender, GrantWebDeployPublishingAccessCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GrantWebDeployPublishingAccessCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GrantWebDeployPublishingAccessCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public ResultObject Result { - get { - this.RaiseExceptionIfNecessary(); - return ((ResultObject)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void SaveWebDeployPublishingProfileCompletedEventHandler(object sender, SaveWebDeployPublishingProfileCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SaveWebDeployPublishingProfileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal SaveWebDeployPublishingProfileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public ResultObject Result { - get { - this.RaiseExceptionIfNecessary(); - return ((ResultObject)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void RevokeWebDeployPublishingAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWebDeployPublishingProfileCompletedEventHandler(object sender, GetWebDeployPublishingProfileCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWebDeployPublishingProfileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWebDeployPublishingProfileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public BytesResult Result { - get { - this.RaiseExceptionIfNecessary(); - return ((BytesResult)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void ChangeWebDeployPublishingPasswordCompletedEventHandler(object sender, ChangeWebDeployPublishingPasswordCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ChangeWebDeployPublishingPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal ChangeWebDeployPublishingPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public ResultObject Result { - get { - this.RaiseExceptionIfNecessary(); - return ((ResultObject)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeStatusCompletedEventHandler(object sender, GetHeliconApeStatusCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HeliconApeStatus Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HeliconApeStatus)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void InstallHeliconApeCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void EnableHeliconApeCompletedEventHandler(object sender, EnableHeliconApeCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class EnableHeliconApeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal EnableHeliconApeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DisableHeliconApeCompletedEventHandler(object sender, DisableHeliconApeCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DisableHeliconApeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DisableHeliconApeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void EnableHeliconApeGloballyCompletedEventHandler(object sender, EnableHeliconApeGloballyCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class EnableHeliconApeGloballyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal EnableHeliconApeGloballyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DisableHeliconApeGloballyCompletedEventHandler(object sender, DisableHeliconApeGloballyCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DisableHeliconApeGloballyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DisableHeliconApeGloballyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeFoldersCompletedEventHandler(object sender, GetHeliconApeFoldersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HtaccessFolder[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HtaccessFolder[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeHttpdFolderCompletedEventHandler(object sender, GetHeliconApeHttpdFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeHttpdFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeHttpdFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HtaccessFolder Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HtaccessFolder)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeFolderCompletedEventHandler(object sender, GetHeliconApeFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HtaccessFolder Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HtaccessFolder)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateHeliconApeFolderCompletedEventHandler(object sender, UpdateHeliconApeFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateHeliconApeFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateHeliconApeFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateHeliconApeHttpdFolderCompletedEventHandler(object sender, UpdateHeliconApeHttpdFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateHeliconApeHttpdFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateHeliconApeHttpdFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteHeliconApeFolderCompletedEventHandler(object sender, DeleteHeliconApeFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteHeliconApeFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteHeliconApeFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeUsersCompletedEventHandler(object sender, GetHeliconApeUsersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HtaccessUser[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HtaccessUser[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeUserCompletedEventHandler(object sender, GetHeliconApeUserCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HtaccessUser Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HtaccessUser)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateHeliconApeUserCompletedEventHandler(object sender, UpdateHeliconApeUserCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateHeliconApeUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateHeliconApeUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void DeleteHeliconApeUserCompletedEventHandler(object sender, DeleteHeliconApeUserCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteHeliconApeUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class DeleteHeliconApeUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal DeleteHeliconApeUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal DeleteHeliconApeUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public int Result { - get { + public int Result + { + get + { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetHeliconApeGroupsCompletedEventHandler(object sender, GetHeliconApeGroupsCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetHeliconApeGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetHeliconApeGroupsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetHeliconApeGroupsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public WebGroup[] Result { - get { + public WebGroup[] Result + { + get + { this.RaiseExceptionIfNecessary(); return ((WebGroup[])(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetHeliconApeGroupCompletedEventHandler(object sender, GetHeliconApeGroupCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetHeliconApeGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetHeliconApeGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetHeliconApeGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public WebGroup Result { - get { + public WebGroup Result + { + get + { this.RaiseExceptionIfNecessary(); return ((WebGroup)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void UpdateHeliconApeGroupCompletedEventHandler(object sender, UpdateHeliconApeGroupCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateHeliconApeGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class UpdateHeliconApeGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal UpdateHeliconApeGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal UpdateHeliconApeGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public int Result { - get { + public int Result + { + get + { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void DeleteHeliconApeGroupCompletedEventHandler(object sender, DeleteHeliconApeGroupCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteHeliconApeGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class DeleteHeliconApeGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal DeleteHeliconApeGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal DeleteHeliconApeGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public int Result { - get { + public int Result + { + get + { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetZooApplicationsCompletedEventHandler(object sender, GetZooApplicationsCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetZooApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetZooApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetZooApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetZooApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public WebVirtualDirectory[] Result { - get { + public WebVirtualDirectory[] Result + { + get + { this.RaiseExceptionIfNecessary(); return ((WebVirtualDirectory[])(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void SetZooEnvironmentVariableCompletedEventHandler(object sender, SetZooEnvironmentVariableCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SetZooEnvironmentVariableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class SetZooEnvironmentVariableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal SetZooEnvironmentVariableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal SetZooEnvironmentVariableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public StringResultObject Result { - get { + public StringResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((StringResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void SetZooConsoleEnabledCompletedEventHandler(object sender, SetZooConsoleEnabledCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SetZooConsoleEnabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class SetZooConsoleEnabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal SetZooConsoleEnabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal SetZooConsoleEnabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public StringResultObject Result { - get { + public StringResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((StringResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void SetZooConsoleDisabledCompletedEventHandler(object sender, SetZooConsoleDisabledCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SetZooConsoleDisabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class SetZooConsoleDisabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal SetZooConsoleDisabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal SetZooConsoleDisabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public StringResultObject Result { - get { + public StringResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((StringResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GrantWebManagementAccessCompletedEventHandler(object sender, GrantWebManagementAccessCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GrantWebManagementAccessCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GrantWebManagementAccessCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GrantWebManagementAccessCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GrantWebManagementAccessCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void RevokeWebManagementAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void ChangeWebManagementAccessPasswordCompletedEventHandler(object sender, ChangeWebManagementAccessPasswordCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ChangeWebManagementAccessPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class ChangeWebManagementAccessPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal ChangeWebManagementAccessPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal ChangeWebManagementAccessPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CertificateRequestCompletedEventHandler(object sender, CertificateRequestCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CertificateRequestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class CertificateRequestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal CertificateRequestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal CertificateRequestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate Result { - get { + public SSLCertificate Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void InstallCertificateCompletedEventHandler(object sender, InstallCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class InstallCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class InstallCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal InstallCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal InstallCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void InstallPfxCompletedEventHandler(object sender, InstallPfxCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class InstallPfxCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class InstallPfxCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal InstallPfxCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal InstallPfxCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetPendingCertificatesCompletedEventHandler(object sender, GetPendingCertificatesCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetPendingCertificatesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetPendingCertificatesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetPendingCertificatesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetPendingCertificatesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate[] Result { - get { + public SSLCertificate[] Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate[])(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetSSLCertificateByIDCompletedEventHandler(object sender, GetSSLCertificateByIDCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSSLCertificateByIDCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetSSLCertificateByIDCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetSSLCertificateByIDCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetSSLCertificateByIDCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate Result { - get { + public SSLCertificate Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetSiteCertCompletedEventHandler(object sender, GetSiteCertCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSiteCertCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetSiteCertCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetSiteCertCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetSiteCertCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate Result { - get { + public SSLCertificate Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CheckSSLForWebsiteCompletedEventHandler(object sender, CheckSSLForWebsiteCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CheckSSLForWebsiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class CheckSSLForWebsiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal CheckSSLForWebsiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal CheckSSLForWebsiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public int Result { - get { + public int Result + { + get + { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CheckSSLForDomainCompletedEventHandler(object sender, CheckSSLForDomainCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CheckSSLForDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class CheckSSLForDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal CheckSSLForDomainCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal CheckSSLForDomainCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void ExportCertificateCompletedEventHandler(object sender, ExportCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ExportCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class ExportCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal ExportCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal ExportCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public byte[] Result { - get { + public byte[] Result + { + get + { this.RaiseExceptionIfNecessary(); return ((byte[])(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetCertificatesForSiteCompletedEventHandler(object sender, GetCertificatesForSiteCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetCertificatesForSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetCertificatesForSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetCertificatesForSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetCertificatesForSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate[] Result { - get { + public SSLCertificate[] Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate[])(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void DeleteCertificateCompletedEventHandler(object sender, DeleteCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class DeleteCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal DeleteCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal DeleteCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void ImportCertificateCompletedEventHandler(object sender, ImportCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ImportCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class ImportCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal ImportCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal ImportCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CheckCertificateCompletedEventHandler(object sender, CheckCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CheckCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class CheckCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal CheckCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal CheckCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void DeleteCertificateRequestCompletedEventHandler(object sender, DeleteCertificateRequestCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteCertificateRequestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class DeleteCertificateRequestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal DeleteCertificateRequestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal DeleteCertificateRequestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetDirectoryBrowseEnabledCompletedEventHandler(object sender, GetDirectoryBrowseEnabledCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDirectoryBrowseEnabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetDirectoryBrowseEnabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SetDirectoryBrowseEnabledCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetRawWebSitesPagedCompletedEventHandler(object sender, GetRawWebSitesPagedCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetRawWebSitesPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetRawWebSitesPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public System.Data.DataSet Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((System.Data.DataSet)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWebSitesCompletedEventHandler(object sender, GetWebSitesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWebSitesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetWebSitesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebSite[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebSite[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWebSiteCompletedEventHandler(object sender, GetWebSiteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWebSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetWebSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebSite Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebSite)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetVirtualDirectoriesCompletedEventHandler(object sender, GetVirtualDirectoriesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetVirtualDirectoriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetVirtualDirectoriesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebVirtualDirectory[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebVirtualDirectory[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetVirtualDirectoryCompletedEventHandler(object sender, GetVirtualDirectoryCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetVirtualDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetVirtualDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebVirtualDirectory Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebVirtualDirectory)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWebSitePointersCompletedEventHandler(object sender, GetWebSitePointersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWebSitePointersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetWebSitePointersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public DomainInfo[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((DomainInfo[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void AddWebSitePointerCompletedEventHandler(object sender, AddWebSitePointerCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddWebSitePointerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal AddWebSitePointerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteWebSitePointerCompletedEventHandler(object sender, DeleteWebSitePointerCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteWebSitePointerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DeleteWebSitePointerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void AddWebSiteCompletedEventHandler(object sender, AddWebSiteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddWebSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal AddWebSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void AddVirtualDirectoryCompletedEventHandler(object sender, AddVirtualDirectoryCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddVirtualDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal AddVirtualDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateWebSiteCompletedEventHandler(object sender, UpdateWebSiteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateWebSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UpdateWebSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void InstallFrontPageCompletedEventHandler(object sender, InstallFrontPageCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class InstallFrontPageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal InstallFrontPageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UninstallFrontPageCompletedEventHandler(object sender, UninstallFrontPageCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UninstallFrontPageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UninstallFrontPageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void ChangeFrontPagePasswordCompletedEventHandler(object sender, ChangeFrontPagePasswordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ChangeFrontPagePasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal ChangeFrontPagePasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void RepairWebSiteCompletedEventHandler(object sender, RepairWebSiteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RepairWebSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal RepairWebSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateVirtualDirectoryCompletedEventHandler(object sender, UpdateVirtualDirectoryCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateVirtualDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UpdateVirtualDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteWebSiteCompletedEventHandler(object sender, DeleteWebSiteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteWebSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DeleteWebSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SwitchWebSiteToDedicatedIPCompletedEventHandler(object sender, SwitchWebSiteToDedicatedIPCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SwitchWebSiteToDedicatedIPCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal SwitchWebSiteToDedicatedIPCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SwitchWebSiteToSharedIPCompletedEventHandler(object sender, SwitchWebSiteToSharedIPCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SwitchWebSiteToSharedIPCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal SwitchWebSiteToSharedIPCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteVirtualDirectoryCompletedEventHandler(object sender, DeleteVirtualDirectoryCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteVirtualDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DeleteVirtualDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void ChangeSiteStateCompletedEventHandler(object sender, ChangeSiteStateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ChangeSiteStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal ChangeSiteStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void ChangeAppPoolStateCompletedEventHandler(object sender, ChangeAppPoolStateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ChangeAppPoolStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal ChangeAppPoolStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetAppPoolStateCompletedEventHandler(object sender, GetAppPoolStateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetAppPoolStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetAppPoolStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public AppPoolState Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((AppPoolState)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSharedSSLDomainsCompletedEventHandler(object sender, GetSharedSSLDomainsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSharedSSLDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSharedSSLDomainsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public string[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((string[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetRawSSLFoldersPagedCompletedEventHandler(object sender, GetRawSSLFoldersPagedCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetRawSSLFoldersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetRawSSLFoldersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public System.Data.DataSet Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((System.Data.DataSet)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSharedSSLFoldersCompletedEventHandler(object sender, GetSharedSSLFoldersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSharedSSLFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSharedSSLFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public SharedSSLFolder[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((SharedSSLFolder[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSharedSSLFolderCompletedEventHandler(object sender, GetSharedSSLFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSharedSSLFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSharedSSLFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public SharedSSLFolder Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((SharedSSLFolder)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void AddSharedSSLFolderCompletedEventHandler(object sender, AddSharedSSLFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddSharedSSLFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal AddSharedSSLFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateSharedSSLFolderCompletedEventHandler(object sender, UpdateSharedSSLFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateSharedSSLFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UpdateSharedSSLFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteSharedSSLFolderCompletedEventHandler(object sender, DeleteSharedSSLFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteSharedSSLFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DeleteSharedSSLFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void InstallSecuredFoldersCompletedEventHandler(object sender, InstallSecuredFoldersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class InstallSecuredFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal InstallSecuredFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UninstallSecuredFoldersCompletedEventHandler(object sender, UninstallSecuredFoldersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UninstallSecuredFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UninstallSecuredFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSecuredFoldersCompletedEventHandler(object sender, GetSecuredFoldersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecuredFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSecuredFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebFolder[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebFolder[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSecuredFolderCompletedEventHandler(object sender, GetSecuredFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecuredFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSecuredFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebFolder Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebFolder)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateSecuredFolderCompletedEventHandler(object sender, UpdateSecuredFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateSecuredFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UpdateSecuredFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteSecuredFolderCompletedEventHandler(object sender, DeleteSecuredFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteSecuredFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DeleteSecuredFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSecuredUsersCompletedEventHandler(object sender, GetSecuredUsersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecuredUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSecuredUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebUser[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebUser[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSecuredUserCompletedEventHandler(object sender, GetSecuredUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecuredUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSecuredUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebUser Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebUser)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateSecuredUserCompletedEventHandler(object sender, UpdateSecuredUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateSecuredUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UpdateSecuredUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteSecuredUserCompletedEventHandler(object sender, DeleteSecuredUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteSecuredUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DeleteSecuredUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSecuredGroupsCompletedEventHandler(object sender, GetSecuredGroupsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecuredGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSecuredGroupsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebGroup[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebGroup[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSecuredGroupCompletedEventHandler(object sender, GetSecuredGroupCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSecuredGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSecuredGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebGroup Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebGroup)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateSecuredGroupCompletedEventHandler(object sender, UpdateSecuredGroupCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateSecuredGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UpdateSecuredGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteSecuredGroupCompletedEventHandler(object sender, DeleteSecuredGroupCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteSecuredGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DeleteSecuredGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GrantWebDeployPublishingAccessCompletedEventHandler(object sender, GrantWebDeployPublishingAccessCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GrantWebDeployPublishingAccessCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GrantWebDeployPublishingAccessCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public ResultObject Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((ResultObject)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SaveWebDeployPublishingProfileCompletedEventHandler(object sender, SaveWebDeployPublishingProfileCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SaveWebDeployPublishingProfileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal SaveWebDeployPublishingProfileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public ResultObject Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((ResultObject)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void RevokeWebDeployPublishingAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWebDeployPublishingProfileCompletedEventHandler(object sender, GetWebDeployPublishingProfileCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWebDeployPublishingProfileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetWebDeployPublishingProfileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public BytesResult Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((BytesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void ChangeWebDeployPublishingPasswordCompletedEventHandler(object sender, ChangeWebDeployPublishingPasswordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ChangeWebDeployPublishingPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal ChangeWebDeployPublishingPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public ResultObject Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((ResultObject)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeStatusCompletedEventHandler(object sender, GetHeliconApeStatusCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HeliconApeStatus Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HeliconApeStatus)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void InstallHeliconApeCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void EnableHeliconApeCompletedEventHandler(object sender, EnableHeliconApeCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class EnableHeliconApeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal EnableHeliconApeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DisableHeliconApeCompletedEventHandler(object sender, DisableHeliconApeCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DisableHeliconApeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DisableHeliconApeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void EnableHeliconApeGloballyCompletedEventHandler(object sender, EnableHeliconApeGloballyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class EnableHeliconApeGloballyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal EnableHeliconApeGloballyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DisableHeliconApeGloballyCompletedEventHandler(object sender, DisableHeliconApeGloballyCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DisableHeliconApeGloballyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DisableHeliconApeGloballyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeFoldersCompletedEventHandler(object sender, GetHeliconApeFoldersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HtaccessFolder[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HtaccessFolder[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeHttpdFolderCompletedEventHandler(object sender, GetHeliconApeHttpdFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeHttpdFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeHttpdFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HtaccessFolder Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HtaccessFolder)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeFolderCompletedEventHandler(object sender, GetHeliconApeFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HtaccessFolder Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HtaccessFolder)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateHeliconApeFolderCompletedEventHandler(object sender, UpdateHeliconApeFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateHeliconApeFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UpdateHeliconApeFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateHeliconApeHttpdFolderCompletedEventHandler(object sender, UpdateHeliconApeHttpdFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateHeliconApeHttpdFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UpdateHeliconApeHttpdFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteHeliconApeFolderCompletedEventHandler(object sender, DeleteHeliconApeFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteHeliconApeFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DeleteHeliconApeFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeUsersCompletedEventHandler(object sender, GetHeliconApeUsersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HtaccessUser[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HtaccessUser[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeUserCompletedEventHandler(object sender, GetHeliconApeUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HtaccessUser Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HtaccessUser)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateHeliconApeUserCompletedEventHandler(object sender, UpdateHeliconApeUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateHeliconApeUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal UpdateHeliconApeUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public int Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/EnterpriseStorage/EnterpriseStorageController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/EnterpriseStorage/EnterpriseStorageController.cs index ba585e20..388e841b 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/EnterpriseStorage/EnterpriseStorageController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/EnterpriseStorage/EnterpriseStorageController.cs @@ -34,6 +34,7 @@ using System.Collections.Specialized; using System.Text; using System.Xml; using System.Xml.Serialization; +using System.Linq; using WebsitePanel.Server; using WebsitePanel.Providers; @@ -42,13 +43,16 @@ using WebsitePanel.Providers.EnterpriseStorage; using System.Collections; using WebsitePanel.Providers.Common; using WebsitePanel.Providers.ResultObjects; - +using WebsitePanel.Providers.Web; +using WebsitePanel.Providers.HostedSolution; +using WebsitePanel.EnterpriseServer.Base.HostedSolution; namespace WebsitePanel.EnterpriseServer { public class EnterpriseStorageController { #region Public Methods + public static SystemFile[] GetFolders(int itemId) { return GetFoldersInternal(itemId); @@ -59,20 +63,57 @@ namespace WebsitePanel.EnterpriseServer return GetFolderInternal(itemId, folderName); } - public static ResultObject CreateFolder(int itemId, string folderName, long quota) + public static ResultObject CreateFolder(int itemId) { - return CreateFolderInternal(itemId, folderName, quota); + return CreateFolder(itemId, string.Empty); + } + + public static ResultObject CreateFolder(int itemId, string folderName) + { + return CreateFolderInternal(itemId, folderName); + } + + public static ResultObject DeleteFolder(int itemId) + { + return DeleteFolder(itemId, string.Empty); } public static ResultObject DeleteFolder(int itemId, string folderName) { return DeleteFolderInternal(itemId, folderName); + } + + public static List SearchESAccounts(int itemId, string filterColumn, string filterValue, string sortColumn) + { + return SearchESAccountsInternal(itemId, filterColumn, filterValue, sortColumn); } - public static ResultObject SetFolderQuota(int itemId, string folderName, long quota) + public static SystemFilesPaged GetEnterpriseFoldersPaged(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows) { - return SetFolderQuotaInternal(itemId, folderName, quota); + return GetEnterpriseFoldersPagedInternal(itemId, filterValue, sortColumn, startRow, maximumRows); } + + public static ResultObject SetFolderPermission(int itemId, string folder, ESPermission[] permission) + { + return SetFolderWebDavRulesInternal(itemId, folder, permission); + } + + public static ESPermission[] GetFolderPermission(int itemId, string folder) + { + return ConvertToESPermission(itemId,GetFolderWebDavRulesInternal(itemId, folder)); + } + + public static bool CheckFileServicesInstallation(int serviceId) + { + EnterpriseStorage es = GetEnterpriseStorage(serviceId); + return es.CheckFileServicesInstallation(); + } + + public static SystemFile RenameFolder(int itemId, string oldFolder, string newFolder) + { + return RenameFolderInternal(itemId, oldFolder, newFolder); + } + #endregion @@ -83,37 +124,376 @@ namespace WebsitePanel.EnterpriseServer return es; } - - private static SystemFile[] GetFoldersInternal(int itemId) + protected static SystemFile[] GetFoldersInternal(int itemId) { - return new SystemFile[1]; + try + { + // load organization + Organization org = OrganizationController.GetOrganization(itemId); + if (org == null) + { + return null; + } + + EnterpriseStorage es = GetEnterpriseStorage(GetEnterpriseStorageServiceID(org.PackageId)); + + return es.GetFolders(org.OrganizationId); + } + catch (Exception ex) + { + throw ex; + } } - private static SystemFile GetFolderInternal(int itemId, string folderName) + protected static SystemFile GetFolderInternal(int itemId, string folderName) { - return new SystemFile(); - } + try + { + // load organization + Organization org = OrganizationController.GetOrganization(itemId); + if (org == null) + { + return null; + } - private static ResultObject CreateFolderInternal(int itemId, string folderName, long quota) - { - return new ResultObject(); - } + EnterpriseStorage es = GetEnterpriseStorage(GetEnterpriseStorageServiceID(org.PackageId)); - private static ResultObject DeleteFolderInternal(int itemId, string folderName) - { - return new ResultObject(); - } - - private static ResultObject SetFolderQuotaInternal(int itemId, string folderName, long quota) - { - return new ResultObject(); + return es.GetFolder(org.OrganizationId, folderName); + } + catch (Exception ex) + { + throw ex; + } } - public static bool CheckFileServicesInstallation(int serviceId) + protected static SystemFile RenameFolderInternal(int itemId, string oldFolder, string newFolder) { - EnterpriseStorage es = GetEnterpriseStorage(serviceId); - return es.CheckFileServicesInstallation(); + try + { + // load organization + Organization org = OrganizationController.GetOrganization(itemId); + if (org == null) + { + return null; + } + + EnterpriseStorage es = GetEnterpriseStorage(GetEnterpriseStorageServiceID(org.PackageId)); + + return es.RenameFolder(org.OrganizationId, oldFolder, newFolder); + } + catch (Exception ex) + { + throw ex; + } + } + + protected static ResultObject CreateFolderInternal(int itemId, string folderName) + { + ResultObject result = TaskManager.StartResultTask("ENTERPRISE_STORAGE", "CREATE_FOLDER"); + + try + { + // load organization + Organization org = OrganizationController.GetOrganization(itemId); + if (org == null) + { + return null; + } + + EnterpriseStorage es = GetEnterpriseStorage(GetEnterpriseStorageServiceID(org.PackageId)); + + es.CreateFolder(org.OrganizationId, folderName); + } + catch (Exception ex) + { + result.AddError("ENTERPRISE_STORAGE_CREATE_FOLDER", ex); + } + finally + { + if (!result.IsSuccess) + { + TaskManager.CompleteResultTask(result); + } + else + { + TaskManager.CompleteResultTask(); + } + } + + return result; + } + + protected static ResultObject DeleteFolderInternal(int itemId, string folderName) + { + ResultObject result = TaskManager.StartResultTask("ENTERPRISE_STORAGE", "DELETE_FOLDER"); + + try + { + // load organization + Organization org = OrganizationController.GetOrganization(itemId); + if (org == null) + { + return null; + } + + EnterpriseStorage es = GetEnterpriseStorage(GetEnterpriseStorageServiceID(org.PackageId)); + + es.DeleteFolder(org.OrganizationId, folderName); + } + catch (Exception ex) + { + result.AddError("ENTERPRISE_STORAGE_DELETE_FOLDER", ex); + } + finally + { + if (!result.IsSuccess) + { + TaskManager.CompleteResultTask(result); + } + else + { + TaskManager.CompleteResultTask(); + } + } + + return result; + } + + protected static List SearchESAccountsInternal(int itemId, string filterColumn, string filterValue, string sortColumn) + { + // load organization + Organization org = (Organization)PackageController.GetPackageItem(itemId); + if (org == null) + return null; + + string accountTypes = string.Format("{0}, {1}, {2}", ((int)ExchangeAccountType.SecurityGroup), + (int)ExchangeAccountType.DefaultSecurityGroup, ((int)ExchangeAccountType.User)); + + if (PackageController.GetPackageServiceId(org.PackageId, ResourceGroups.Exchange) != 0) + { + accountTypes = string.Format("{0}, {1}, {2}, {3}", accountTypes, ((int)ExchangeAccountType.Mailbox), + ((int)ExchangeAccountType.Room), ((int)ExchangeAccountType.Equipment)); + } + + List tmpAccounts = ObjectUtils.CreateListFromDataReader( + DataProvider.SearchExchangeAccountsByTypes(SecurityContext.User.UserId, itemId, + accountTypes, filterColumn, filterValue, sortColumn)); + + + List exAccounts = new List(); + + foreach (ExchangeAccount tmpAccount in tmpAccounts.ToArray()) + { + if (tmpAccount.AccountType == ExchangeAccountType.SecurityGroup || tmpAccount.AccountType == ExchangeAccountType.SecurityGroup + ? OrganizationController.GetSecurityGroupGeneralSettings(itemId, tmpAccount.AccountId) == null + : OrganizationController.GetSecurityGroupGeneralSettings(itemId, tmpAccount.AccountId) == null) + continue; + + exAccounts.Add(tmpAccount); + } + + return exAccounts; + + } + + protected static SystemFilesPaged GetEnterpriseFoldersPagedInternal(int itemId, string filterValue, string sortColumn, + int startRow, int maximumRows) + { + SystemFilesPaged result = new SystemFilesPaged(); + + try + { + // load organization + Organization org = OrganizationController.GetOrganization(itemId); + if (org == null) + { + return null; + } + + EnterpriseStorage es = GetEnterpriseStorage(GetEnterpriseStorageServiceID(org.PackageId)); + List folders = es.GetFolders(org.OrganizationId).Where(x => x.Name.Contains(filterValue)).ToList(); + + switch (sortColumn) + { + case "Size": + folders = folders.OrderBy(x => x.Size).ToList(); + break; + default: + folders = folders.OrderBy(x => x.Name).ToList(); + break; + } + + result.RecordsCount = folders.Count; + result.PageItems = folders.Skip(startRow).Take(maximumRows).ToArray(); + } + catch { /*skip exception*/} + + return result; + } + + protected static ResultObject SetFolderWebDavRulesInternal(int itemId, string folder, ESPermission[] permission) + { + ResultObject result = TaskManager.StartResultTask("ENTERPRISE_STORAGE", "SET_WEBDAV_FOLDER_RULES"); + + try + { + // load organization + Organization org = OrganizationController.GetOrganization(itemId); + if (org == null) + { + return null; + } + + var rules = ConvertToWebDavRule(itemId,permission); + + EnterpriseStorage es = GetEnterpriseStorage(GetEnterpriseStorageServiceID(org.PackageId)); + + es.SetFolderWebDavRules(org.OrganizationId, folder, rules); + } + catch (Exception ex) + { + result.AddError("ENTERPRISE_STORAGE_SET_WEBDAV_FOLDER_RULES", ex); + } + finally + { + if (!result.IsSuccess) + { + TaskManager.CompleteResultTask(result); + } + else + { + TaskManager.CompleteResultTask(); + } + } + + return result; + } + + protected static WebDavFolderRule[] GetFolderWebDavRulesInternal(int itemId, string folder) + { + try + { + // load organization + Organization org = OrganizationController.GetOrganization(itemId); + if (org == null) + { + return null; + } + + EnterpriseStorage es = GetEnterpriseStorage(GetEnterpriseStorageServiceID(org.PackageId)); + + return es.GetFolderWebDavRules(org.OrganizationId, folder); + } + catch (Exception ex) + { + throw ex; + } + + } + + private static int GetEnterpriseStorageServiceID(int packageId) + { + return PackageController.GetPackageServiceId(packageId, ResourceGroups.EnterpriseStorage); + } + + private static EnterpriseStorage GetEnterpriseStorageByPackageId(int packageId) + { + var serviceId = PackageController.GetPackageServiceId(packageId, ResourceGroups.EnterpriseStorage); + + return GetEnterpriseStorage(serviceId); + } + + private static WebDavFolderRule[] ConvertToWebDavRule(int itemId, ESPermission[] permissions) + { + var rules = new List(); + + foreach (var permission in permissions) + { + var rule = new WebDavFolderRule(); + + var account = ObjectUtils.FillObjectFromDataReader(DataProvider.GetExchangeAccountByAccountName(itemId, permission.Account)); + + if (account.AccountType == ExchangeAccountType.SecurityGroup) + { + rule.Roles.Add(permission.Account); + } + else + { + rule.Users.Add(permission.Account); + } + + if (permission.Access.ToLower().Contains("read-only")) + { + rule.Read = true; + } + + if (permission.Access.ToLower().Contains("read-write")) + { + rule.Write = true; + rule.Read = true; + } + + rule.Pathes.Add("*"); + + rules.Add(rule); + } + + return rules.ToArray(); + } + + private static ESPermission[] ConvertToESPermission(int itemId, WebDavFolderRule[] rules) + { + var permissions = new List(); + + foreach (var rule in rules) + { + var permission = new ESPermission(); + + permission.Account = rule.Users.Any() ? rule.Users[0] : rule.Roles[0]; + + permission.IsGroup = rule.Roles.Any(); + + var orgObj = OrganizationController.GetAccountByAccountName(itemId, permission.Account); + + if (orgObj == null) + continue; + + if (permission.IsGroup) + { + var secGroupObj = OrganizationController.GetSecurityGroupGeneralSettings(itemId, orgObj.AccountId); + + if (secGroupObj == null) + continue; + + permission.DisplayName = secGroupObj.DisplayName; + + } + else + { + var userObj = OrganizationController.GetUserGeneralSettings(itemId, orgObj.AccountId); + + if (userObj == null) + continue; + + permission.DisplayName = userObj.DisplayName; + } + + if (rule.Read && !rule.Write) + { + permission.Access = "Read-Only"; + } + if (rule.Write) + { + permission.Access = "Read-Write"; + } + + + permissions.Add(permission); + } + + return permissions.ToArray(); + } } } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Files/FilesController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Files/FilesController.cs index 913941f1..cffcc6db 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Files/FilesController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Files/FilesController.cs @@ -910,7 +910,7 @@ namespace WebsitePanel.EnterpriseServer return users.ToArray(); } - public static int SetFolderQuota(int packageId, string path, string driveName) + public static int SetFolderQuota(int packageId, string path, string driveName,string quotas) { // check account @@ -929,8 +929,8 @@ namespace WebsitePanel.EnterpriseServer // disk space quota // This gets all the disk space allocated for a specific customer - // It includes the package Add Ons * Quatity + Hosting Plan System disk space value. - QuotaValueInfo diskSpaceQuota = PackageController.GetPackageQuota(packageId, Quotas.OS_DISKSPACE); + // It includes the package Add Ons * Quatity + Hosting Plan System disk space value. //Quotas.OS_DISKSPACE + QuotaValueInfo diskSpaceQuota = PackageController.GetPackageQuota(packageId, quotas); #region figure Quota Unit @@ -965,7 +965,7 @@ namespace WebsitePanel.EnterpriseServer } - + public static int ApplyEnableHardQuotaFeature(int packageId) { if (SecurityContext.CheckAccount(DemandAccount.IsActive | DemandAccount.IsAdmin | DemandAccount.NotDemo) != 0) @@ -1014,7 +1014,7 @@ namespace WebsitePanel.EnterpriseServer continue; string homeFolder = FilesController.GetHomeFolder(childPackage.PackageId); - FilesController.SetFolderQuota(childPackage.PackageId, homeFolder, driveName); + FilesController.SetFolderQuota(childPackage.PackageId, homeFolder, driveName, Quotas.OS_DISKSPACE); } } catch (Exception ex) @@ -1027,7 +1027,6 @@ namespace WebsitePanel.EnterpriseServer } return 0; - } public static int DeleteDirectoryRecursive(int packageId, string rootPath) diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs index 27ccc76f..a2dc1d4a 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs @@ -48,6 +48,7 @@ using System.IO; using System.Xml; using System.Xml.Serialization; using WebsitePanel.EnterpriseServer.Base.HostedSolution; +using WebsitePanel.Providers.OS; namespace WebsitePanel.EnterpriseServer { @@ -417,6 +418,36 @@ namespace WebsitePanel.EnterpriseServer }; PackageController.AddPackageItem(orgDomain); + + //Create Enterprise storage + + int esServiceId = PackageController.GetPackageServiceId(packageId, ResourceGroups.EnterpriseStorage); + + if (esServiceId != 0) + { + StringDictionary esSesstings = ServerController.GetServiceSettings(esServiceId); + + string usersHome = esSesstings["UsersHome"]; + string usersDomain = esSesstings["UsersDomain"]; + string locationDrive = esSesstings["LocationDrive"]; + + string homePath = string.Format("{0}:\\{1}",locationDrive, usersHome); + + EnterpriseStorageController.CreateFolder(itemId); + + WebServerController.AddWebDavDirectory(packageId, usersDomain, organizationId, homePath); + + int osId = PackageController.GetPackageServiceId(packageId, ResourceGroups.Os); + bool enableHardQuota = (esSesstings["enablehardquota"] != null) + ? bool.Parse(esSesstings["enablehardquota"]) + : false; + + if (enableHardQuota && osId != 0 && OperatingSystemController.CheckFileServicesInstallation(osId)) + { + FilesController.SetFolderQuota(packageId, Path.Combine(usersHome, organizationId), + locationDrive, Quotas.ENTERPRISESTORAGE_DISKSTORAGESPACE); + } + } } catch (Exception ex) { @@ -714,6 +745,26 @@ namespace WebsitePanel.EnterpriseServer TaskManager.WriteError(ex); } + //Cleanup Enterprise storage + int esId = PackageController.GetPackageServiceId(org.PackageId, ResourceGroups.EnterpriseStorage); + + if (esId != 0) + { + StringDictionary esSesstings = ServerController.GetServiceSettings(esId); + + string usersDomain = esSesstings["UsersDomain"]; + + try + { + WebServerController.DeleteWebDavDirectory(org.PackageId, usersDomain, org.OrganizationId); + EnterpriseStorageController.DeleteFolder(itemId); + } + catch (Exception ex) + { + successful = false; + TaskManager.WriteError(ex); + } + } //Cleanup Exchange try @@ -741,8 +792,6 @@ namespace WebsitePanel.EnterpriseServer TaskManager.WriteError(ex); } - - // delete organization domains List domains = GetOrganizationDomains(itemId); foreach (OrganizationDomainName domain in domains) @@ -764,7 +813,6 @@ namespace WebsitePanel.EnterpriseServer // delete meta-item PackageController.DeletePackageItem(itemId); - return successful ? 0 : BusinessErrorCodes.ERROR_ORGANIZATION_DELETE_SOME_PROBLEMS; } catch (Exception ex) @@ -946,7 +994,13 @@ namespace WebsitePanel.EnterpriseServer stats.CreatedLyncUsers = LyncController.GetLyncUsersCount(org.Id).Value; } + if (cntxTmp.Groups.ContainsKey(ResourceGroups.EnterpriseStorage)) + { + SystemFile[] folders = EnterpriseStorageController.GetFolders(itemId); + stats.CreatedEnterpriseStorageFolders = folders.Count(); + stats.UsedEnterpriseStorageSpace = (int)folders.Sum(x => x.Size); + } } else { @@ -998,6 +1052,14 @@ namespace WebsitePanel.EnterpriseServer { stats.CreatedLyncUsers += LyncController.GetLyncUsersCount(o.Id).Value; } + + if (cntxTmp.Groups.ContainsKey(ResourceGroups.EnterpriseStorage)) + { + SystemFile[] folders = EnterpriseStorageController.GetFolders(itemId); + + stats.CreatedEnterpriseStorageFolders = folders.Count(); + stats.UsedEnterpriseStorageSpace = (int)folders.Sum(x => x.Size); + } } } } @@ -1035,6 +1097,17 @@ namespace WebsitePanel.EnterpriseServer stats.AllocatedLyncUsers = cntx.Quotas[Quotas.LYNC_USERS].QuotaAllocatedValue; } + if (cntx.Groups.ContainsKey(ResourceGroups.EnterpriseStorage)) + { + stats.AllocatedEnterpriseStorageFolders = cntx.Quotas[Quotas.ENTERPRISESTORAGE_FOLDERS].QuotaAllocatedValue; + } + + + if (cntx.Groups.ContainsKey(ResourceGroups.EnterpriseStorage)) + { + stats.AllocatedEnterpriseStorageSpace = cntx.Quotas[Quotas.ENTERPRISESTORAGE_DISKSTORAGESPACE].QuotaAllocatedValue; + } + return stats; } catch (Exception ex) diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Packages/PackageController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Packages/PackageController.cs index 522ab4e6..0e3e8efd 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Packages/PackageController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Packages/PackageController.cs @@ -1011,7 +1011,7 @@ namespace WebsitePanel.EnterpriseServer return; string homeFolder = FilesController.GetHomeFolder(packageId); - FilesController.SetFolderQuota(packageId, homeFolder, driveName); + FilesController.SetFolderQuota(packageId, homeFolder, driveName, Quotas.OS_DISKSPACE); } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Tasks/TaskManager.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Tasks/TaskManager.cs index 971ad59a..78abe2ac 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Tasks/TaskManager.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Tasks/TaskManager.cs @@ -741,7 +741,6 @@ namespace WebsitePanel.EnterpriseServer if (res != null) { res.IsSuccess = false; - if (!string.IsNullOrEmpty(errorCode)) res.ErrorCodes.Add(errorCode); } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebServers/WebServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebServers/WebServerController.cs index c46671c9..cae1da64 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebServers/WebServerController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebServers/WebServerController.cs @@ -1708,6 +1708,97 @@ namespace WebsitePanel.EnterpriseServer } } + public static int AddWebDavDirectory(int packageId, string site, string vdirName, string contentpath) + { + // check account + int accountCheck = SecurityContext.CheckAccount(DemandAccount.NotDemo | DemandAccount.IsActive); + if (accountCheck < 0) return accountCheck; + + // place log record + TaskManager.StartTask("ENTERPRISE_STORAGE", "ADD_VDIR", vdirName); + + TaskManager.WriteParameter("enterprise storage", site); + + try + { + // create virtual directory + WebVirtualDirectory dir = new WebVirtualDirectory(); + dir.Name = vdirName; + dir.ContentPath = Path.Combine(contentpath, vdirName); + + dir.EnableAnonymousAccess = false; + dir.EnableWindowsAuthentication = false; + dir.EnableBasicAuthentication = false; + + //dir.InstalledDotNetFramework = aspNet; + + dir.DefaultDocs = null; // inherit from service + dir.HttpRedirect = ""; + dir.HttpErrors = null; + dir.MimeMaps = null; + + int serviceId = PackageController.GetPackageServiceId(packageId, ResourceGroups.Web); + + if (serviceId == -1) + return serviceId; + + // create directory + WebServer web = new WebServer(); + ServiceProviderProxy.Init(web, serviceId); + if (web.VirtualDirectoryExists(site, vdirName)) + return BusinessErrorCodes.ERROR_VDIR_ALREADY_EXISTS; + + web.CreateVirtualDirectory(site, dir); + + return 0; + + } + catch (Exception ex) + { + throw TaskManager.WriteError(ex); + } + finally + { + TaskManager.CompleteTask(); + } + } + + public static int DeleteWebDavDirectory(int packageId, string site, string vdirName) + { + // check account + int accountCheck = SecurityContext.CheckAccount(DemandAccount.NotDemo | DemandAccount.IsActive); + if (accountCheck < 0) return accountCheck; + + // place log record + TaskManager.StartTask("ENTERPRISE_STORAGE", "DELETE_VDIR", vdirName); + + TaskManager.WriteParameter("enterprise storage", site); + + try + { + int serviceId = PackageController.GetPackageServiceId(packageId, ResourceGroups.Web); + + if (serviceId == -1) + return serviceId; + + // create directory + WebServer web = new WebServer(); + ServiceProviderProxy.Init(web, serviceId); + if (web.VirtualDirectoryExists(site, vdirName)) + web.DeleteVirtualDirectory(site, vdirName); + + return 0; + } + catch (Exception ex) + { + throw TaskManager.WriteError(ex); + } + finally + { + TaskManager.CompleteTask(); + } + } + public static int UpdateVirtualDirectory(int siteItemId, WebVirtualDirectory vdir) { // check account @@ -4528,5 +4619,57 @@ Please ensure the space has been allocated {0} IP address as a dedicated one and return result; } #endregion + + + #region Directory Browsing + + public static bool GetDirectoryBrowseEnabled(int itemId, string siteId) + { + // load organization + var org = OrganizationController.GetOrganization(itemId); + if (org == null) + { + return false; + } + + siteId = RemoveProtocolFromUrl(siteId); + + var webServer = GetWebServer(GetWebServerServiceID(org.PackageId)); + + return webServer.GetDirectoryBrowseEnabled(siteId); + } + + public static void SetDirectoryBrowseEnabled(int itemId, string siteId, bool enabled) + { + // load organization + var org = OrganizationController.GetOrganization(itemId); + if (org == null) + { + return; + } + + siteId = RemoveProtocolFromUrl(siteId); + + var webServer = GetWebServer(GetWebServerServiceID(org.PackageId)); + + webServer.SetDirectoryBrowseEnabled(siteId, enabled); + } + + private static string RemoveProtocolFromUrl(string input) + { + if (input.Contains("//")) + { + return System.Text.RegularExpressions.Regex.Split(input, "//")[1]; + } + + return input; + } + + #endregion + + private static int GetWebServerServiceID(int packageId) + { + return PackageController.GetPackageServiceId(packageId, ResourceGroups.Web); + } } } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esEnterpriseStorage.asmx.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esEnterpriseStorage.asmx.cs index aa7f35d5..638886e6 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esEnterpriseStorage.asmx.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esEnterpriseStorage.asmx.cs @@ -42,6 +42,8 @@ using WebsitePanel.Providers.HostedSolution; using WebsitePanel.Providers.EnterpriseStorage; using WebsitePanel.Providers.ResultObjects; using WebsitePanel.Providers.OS; +using WebsitePanel.Providers.Web; +using WebsitePanel.EnterpriseServer.Base.HostedSolution; namespace WebsitePanel.EnterpriseServer { @@ -74,11 +76,10 @@ namespace WebsitePanel.EnterpriseServer } [WebMethod] - public ResultObject CreateEnterpriseFolder(int itemId, string folderName, long quota) + public ResultObject CreateEnterpriseFolder(int itemId, string folderName) { - return EnterpriseStorageController.CreateFolder(itemId, folderName, quota); + return EnterpriseStorageController.CreateFolder(itemId, folderName); } - [WebMethod] public ResultObject DeleteEnterpriseFolder(int itemId, string folderName) @@ -87,9 +88,33 @@ namespace WebsitePanel.EnterpriseServer } [WebMethod] - public ResultObject SetEnterpriseFolderQuota(int itemId, string folderName, long quota) + public ESPermission[] GetEnterpriseFolderPermissions(int itemId, string folderName) { - return EnterpriseStorageController.SetFolderQuota(itemId, folderName, quota); + return EnterpriseStorageController.GetFolderPermission(itemId, folderName); + } + + [WebMethod] + public ResultObject SetEnterpriseFolderPermissions(int itemId, string folderName, ESPermission[] permission) + { + return EnterpriseStorageController.SetFolderPermission(itemId, folderName, permission); + } + + [WebMethod] + public List SearchESAccounts(int itemId, string filterColumn, string filterValue, string sortColumn) + { + return EnterpriseStorageController.SearchESAccounts(itemId, filterColumn, filterValue, sortColumn); + } + + [WebMethod] + public SystemFilesPaged GetEnterpriseFoldersPaged(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows) + { + return EnterpriseStorageController.GetEnterpriseFoldersPaged(itemId, filterValue, sortColumn, startRow, maximumRows); + } + + [WebMethod] + public SystemFile RenameEnterpriseFolder(int itemId, string oldName, string newName) + { + return EnterpriseStorageController.RenameFolder(itemId, oldName, newName); } } } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esWebServers.asmx.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esWebServers.asmx.cs index 59eca47c..29c49b61 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esWebServers.asmx.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esWebServers.asmx.cs @@ -625,5 +625,22 @@ namespace WebsitePanel.EnterpriseServer } #endregion + + + #region Directory Browsing + + [WebMethod] + public bool GetDirectoryBrowseEnabled(int itemId, string site) + { + return WebServerController.GetDirectoryBrowseEnabled(itemId, site); + } + + [WebMethod] + public void SetDirectoryBrowseEnabled(int itemId, string site, bool enabled) + { + WebServerController.SetDirectoryBrowseEnabled(itemId, site, enabled); + } + + #endregion } } diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/EnterpriseStorage/IEnterpriseStorage.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/EnterpriseStorage/IEnterpriseStorage.cs index 879d2021..dbcc97cc 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/EnterpriseStorage/IEnterpriseStorage.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/EnterpriseStorage/IEnterpriseStorage.cs @@ -29,6 +29,7 @@ using System; using System.Collections; using WebsitePanel.Providers.OS; +using WebsitePanel.Providers.Web; namespace WebsitePanel.Providers.EnterpriseStorage { @@ -38,10 +39,13 @@ namespace WebsitePanel.Providers.EnterpriseStorage public interface IEnterpriseStorage { SystemFile[] GetFolders(string organizationId); - SystemFile GetFolder(string organizationId, string folder); + SystemFile GetFolder(string organizationId, string folderName); void CreateFolder(string organizationId, string folder); + SystemFile RenameFolder(string organizationId, string originalFolder, string newFolder); void DeleteFolder(string organizationId, string folder); - void SetFolderQuota(string organizationId, string folder, long quota); + bool SetFolderWebDavRules(string organizationId, string folder, WebDavFolderRule[] rules); + WebDavFolderRule[] GetFolderWebDavRules(string organizationId, string folder); bool CheckFileServicesInstallation(); + } } diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/SystemFile.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/SystemFile.cs index c76cb539..89079c91 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/SystemFile.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/SystemFile.cs @@ -27,7 +27,7 @@ // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; - +using WebsitePanel.Providers.Web; namespace WebsitePanel.Providers.OS { /// @@ -44,6 +44,8 @@ namespace WebsitePanel.Providers.OS private long quota; private bool isEmpty; private bool isPublished; + private WebDavFolderRule[] rules; + private string url; public SystemFile() { @@ -108,5 +110,16 @@ namespace WebsitePanel.Providers.OS set { this.isPublished = value; } } + public WebDavFolderRule[] Rules + { + get { return this.rules; } + set { this.rules = value; } + } + + public string Url + { + get { return this.url; } + set { this.url = value; } + } } } diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/SystemFilesPaged.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/SystemFilesPaged.cs new file mode 100644 index 00000000..676c8238 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/SystemFilesPaged.cs @@ -0,0 +1,20 @@ +namespace WebsitePanel.Providers.OS +{ + public class SystemFilesPaged + { + int recordsCount; + SystemFile[] pageItems; + + public int RecordsCount + { + get { return this.recordsCount; } + set { this.recordsCount = value; } + } + + public SystemFile[] PageItems + { + get { return this.pageItems; } + set { this.pageItems = value; } + } + } +} diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/IWebDav.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/IWebDav.cs new file mode 100644 index 00000000..e2536a40 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/IWebDav.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using WebsitePanel.Providers.HostedSolution; + +namespace WebsitePanel.Providers.Web +{ + public interface IWebDav + { + void CreateWebDavRule(string organizationId, string folder, WebDavFolderRule rule); + bool DeleteWebDavRule(string organizationId, string folder, WebDavFolderRule rule); + bool DeleteAllWebDavRules(string organizationId, string folder); + bool SetFolderWebDavRules(string organizationId, string folder, WebDavFolderRule[] newRules); + WebDavFolderRule[] GetFolderWebDavRules(string organizationId, string folder); + } +} diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/IWebServer.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/IWebServer.cs index 3a00984d..0ffd737d 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/IWebServer.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/IWebServer.cs @@ -32,6 +32,8 @@ using WebsitePanel.Providers.HostedSolution; using WebsitePanel.Providers.ResultObjects; using WebsitePanel.Providers.WebAppGallery; using WebsitePanel.Providers.Common; +using Microsoft.Web.Administration; +using Microsoft.Web.Management.Server; namespace WebsitePanel.Providers.Web { @@ -166,6 +168,8 @@ namespace WebsitePanel.Providers.Web SSLCertificate ImportCertificate(WebSite website); bool CheckCertificate(WebSite webSite); - + //Directory Browseing + bool GetDirectoryBrowseEnabled(string siteId); + void SetDirectoryBrowseEnabled(string siteId, bool enabled); } } diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/WebDavFolderRule.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/WebDavFolderRule.cs new file mode 100644 index 00000000..44815d80 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Web/WebDavFolderRule.cs @@ -0,0 +1,60 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using WebsitePanel.Providers.HostedSolution; + +namespace WebsitePanel.Providers.Web +{ + + public enum WebDavAccess + { + Read = 1, + Source = 16, + Write = 2 + } + + [Serializable] + public class WebDavFolderRule + { + public List Pathes { get; set; } + public List Users { get; set; } + public List Roles { get; set; } + + public int AccessRights + { + get + { + int result = 0; + + if (Read) + { + result |= (int)WebDavAccess.Read; + } + + if (Write) + { + result |= (int)WebDavAccess.Write; + } + + if (Source) + { + result |= (int)WebDavAccess.Source; + } + + return result; + } + } + + public bool Read { get; set; } + public bool Write { get; set; } + public bool Source { get; set; } + + public WebDavFolderRule() + { + Pathes = new List(); + Users = new List(); + Roles = new List(); + } + } +} diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/WebsitePanel.Providers.Base.csproj b/WebsitePanel/Sources/WebsitePanel.Providers.Base/WebsitePanel.Providers.Base.csproj index ebac1619..427c0ffa 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/WebsitePanel.Providers.Base.csproj +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/WebsitePanel.Providers.Base.csproj @@ -57,6 +57,14 @@ 618 + + False + ..\..\Lib\References\Microsoft\Microsoft.Web.Administration.dll + + + False + ..\..\Lib\References\Microsoft\Microsoft.Web.Management.dll + @@ -105,6 +113,7 @@ + @@ -315,10 +324,12 @@ + + diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.EnterpriseStorage.Windows2012/WebsitePanel.Providers.EnterpriseStorage.Windows2012.csproj b/WebsitePanel/Sources/WebsitePanel.Providers.EnterpriseStorage.Windows2012/WebsitePanel.Providers.EnterpriseStorage.Windows2012.csproj index 14308c04..b73f0760 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.EnterpriseStorage.Windows2012/WebsitePanel.Providers.EnterpriseStorage.Windows2012.csproj +++ b/WebsitePanel/Sources/WebsitePanel.Providers.EnterpriseStorage.Windows2012/WebsitePanel.Providers.EnterpriseStorage.Windows2012.csproj @@ -39,6 +39,22 @@ {684C932A-6C75-46AC-A327-F3689D89EB42} WebsitePanel.Providers.Base + + {9be0317d-e42e-4ff6-9a87-8c801f046ea1} + WebsitePanel.Providers.Web.IIs60 + + + {1b9dce85-c664-49fc-b6e1-86c63cab88d1} + WebsitePanel.Providers.Web.IIs70 + + + {6e348968-461d-45a1-b235-4f552947b9f1} + WebsitePanel.Providers.Web.IIs80 + + + {ce2df3d7-d6ff-48fa-b2ea-7b836fcbf698} + WebsitePanel.Providers.Web.WebDav + {E91E52F3-9555-4D00-B577-2B1DBDD87CA7} WebsitePanel.Server.Utils diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.EnterpriseStorage.Windows2012/Windows2012.cs b/WebsitePanel/Sources/WebsitePanel.Providers.EnterpriseStorage.Windows2012/Windows2012.cs index 4e919d44..8ac0996f 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.EnterpriseStorage.Windows2012/Windows2012.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.EnterpriseStorage.Windows2012/Windows2012.cs @@ -36,63 +36,142 @@ using Microsoft.Win32; using WebsitePanel.Server.Utils; using WebsitePanel.Providers.Utils; using WebsitePanel.Providers.OS; +using WebsitePanel.Providers.Web; namespace WebsitePanel.Providers.EnterpriseStorage { - public class Windows2012 : HostingServiceProviderBase + public class Windows2012 : HostingServiceProviderBase, IEnterpriseStorage { - #region Properties + protected string UsersHome { get { return FileUtils.EvaluateSystemVariables(ProviderSettings["UsersHome"]); } } - #endregion + protected string LocationDrive + { + get { return FileUtils.EvaluateSystemVariables(ProviderSettings["LocationDrive"]); } + } + + protected string UsersDomain + { + get { return FileUtils.EvaluateSystemVariables(ProviderSettings["UsersDomain"]); } + } + + #endregion #region Folders public SystemFile[] GetFolders(string organizationId) { + string rootPath = string.Format("{0}:\\{1}\\{2}", LocationDrive, UsersHome, organizationId); + + DirectoryInfo root = new DirectoryInfo(rootPath); + IWebDav webdav = new Web.WebDav(UsersDomain); ArrayList items = new ArrayList(); - DirectoryInfo root = new DirectoryInfo(string.Format("{0}\\{1}", UsersHome, organizationId)); // get directories DirectoryInfo[] dirs = root.GetDirectories(); foreach (DirectoryInfo dir in dirs) { - string fullName = System.IO.Path.Combine(string.Format("{0}\\{1}", UsersHome, organizationId), dir.Name); - SystemFile fi = new SystemFile(dir.Name, fullName, true, 0, dir.CreationTime, dir.LastWriteTime); - items.Add(fi); + string fullName = System.IO.Path.Combine(rootPath, dir.Name); + + SystemFile folder = new SystemFile(dir.Name, fullName, true, + FileUtils.BytesToMb(FileUtils.CalculateFolderSize(dir.FullName)), dir.CreationTime, dir.LastWriteTime); + + folder.Url = string.Format("https://{0}/{1}/{2}", UsersDomain, organizationId, dir.Name); + folder.Rules = webdav.GetFolderWebDavRules(organizationId, dir.Name); + + items.Add(folder); // check if the directory is empty - fi.IsEmpty = (Directory.GetFileSystemEntries(fullName).Length == 0); + folder.IsEmpty = (Directory.GetFileSystemEntries(fullName).Length == 0); } return (SystemFile[])items.ToArray(typeof(SystemFile)); } - public SystemFile GetFolder(string organizationId, string folder) + public SystemFile GetFolder(string organizationId, string folderName) { - DirectoryInfo root = new DirectoryInfo(string.Format("{0}\\{1}\\{2}", UsersHome, organizationId, folder)); - string fullName = string.Format("{0}\\{1}\\{2}", UsersHome, organizationId, folder); - return new SystemFile(root.Name, fullName, true, 0, root.CreationTime, root.LastWriteTime); + string fullName = string.Format("{0}:\\{1}\\{2}\\{3}", LocationDrive, UsersHome, organizationId, folderName); + + DirectoryInfo root = new DirectoryInfo(fullName); + + SystemFile folder = new SystemFile(root.Name, fullName, true, + FileUtils.BytesToMb( FileUtils.CalculateFolderSize(root.FullName)), root.CreationTime, root.LastWriteTime); + + folder.Url = string.Format("https://{0}/{1}/{2}", UsersDomain, organizationId, folderName); + folder.Rules = GetFolderWebDavRules(organizationId, folderName); + + return folder; } public void CreateFolder(string organizationId, string folder) { - FileUtils.CreateDirectory(string.Format("{0}\\{1}\\{2}", UsersHome, organizationId, folder)); + FileUtils.CreateDirectory(string.Format("{0}:\\{1}\\{2}\\{3}", LocationDrive, UsersHome, organizationId, folder)); + } + + public SystemFile RenameFolder(string organizationId, string originalFolder, string newFolder) + { + var oldPath = string.Format("{0}:\\{1}\\{2}\\{3}", LocationDrive, UsersHome, organizationId, originalFolder); + var newPath = string.Format("{0}:\\{1}\\{2}\\{3}", LocationDrive, UsersHome, organizationId, newFolder); + + FileUtils.MoveFile(oldPath,newPath); + + IWebDav webdav = new WebDav(UsersDomain); + + //deleting old folder rules + webdav.DeleteAllWebDavRules(organizationId, originalFolder); + + return GetFolder(organizationId, newFolder); } public void DeleteFolder(string organizationId, string folder) { - FileUtils.DeleteDirectoryRecursive(string.Format("{0}\\{1}\\{2}", UsersHome, organizationId, folder)); + string rootPath = string.Format("{0}:\\{1}\\{2}\\{3}", LocationDrive, UsersHome, organizationId, folder); + + DirectoryInfo treeRoot = new DirectoryInfo(rootPath); + + if (treeRoot.Exists) + { + DirectoryInfo[] dirs = treeRoot.GetDirectories(); + while (dirs.Length > 0) + { + foreach (DirectoryInfo dir in dirs) + DeleteFolder(organizationId, folder != string.Empty ? string.Format("{0}\\{1}", folder, dir.Name) : dir.Name); + + dirs = treeRoot.GetDirectories(); + } + + // DELETE THE FILES UNDER THE CURRENT ROOT + string[] files = Directory.GetFiles(treeRoot.FullName); + foreach (string file in files) + { + File.SetAttributes(file, FileAttributes.Normal); + File.Delete(file); + } + + IWebDav webdav = new WebDav(UsersDomain); + + webdav.DeleteAllWebDavRules(organizationId, folder); + + Directory.Delete(treeRoot.FullName, true); + } } - public void SetFolderQuota(string organizationId, string folder, long quota) + public bool SetFolderWebDavRules(string organizationId, string folder, WebDavFolderRule[] rules) { + IWebDav webdav = new WebDav(UsersDomain); + return webdav.SetFolderWebDavRules(organizationId, folder, rules); + } + public WebDavFolderRule[] GetFolderWebDavRules(string organizationId, string folder) + { + IWebDav webdav = new WebDav(UsersDomain); + + return webdav.GetFolderWebDavRules(organizationId, folder); } public bool CheckFileServicesInstallation() @@ -103,6 +182,7 @@ namespace WebsitePanel.Providers.EnterpriseStorage #endregion #region HostingServiceProvider methods + public override string[] Install() { List messages = new List(); @@ -177,5 +257,6 @@ namespace WebsitePanel.Providers.EnterpriseStorage Server.Utils.OS.WindowsVersion version = WebsitePanel.Server.Utils.OS.GetVersion(); return version == WebsitePanel.Server.Utils.OS.WindowsVersion.WindowsServer2012; } + } } diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs index 5594f308..0a203841 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs @@ -3771,6 +3771,27 @@ namespace WebsitePanel.Providers.Web #endregion + #region Directory Browsing + + public override bool GetDirectoryBrowseEnabled(string siteId) + { + using (ServerManager srvman = webObjectsSvc.GetServerManager()) + { + var enabled = dirBrowseSvc.GetDirectoryBrowseSettings(srvman, siteId)[DirectoryBrowseGlobals.Enabled]; + + return enabled != null ? (bool)enabled : false; + } + } + + public override void SetDirectoryBrowseEnabled(string siteId, bool enabled) + { + dirBrowseSvc.SetDirectoryBrowseEnabled(siteId, enabled); + } + + + + #endregion + public override bool IsIISInstalled() { int value = 0; diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/IIs60.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/IIs60.cs index 48bc859e..86c60501 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/IIs60.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/IIs60.cs @@ -56,6 +56,8 @@ using System.Xml.Serialization; using System.Text.RegularExpressions; using WebsitePanel.Providers.Common; using System.Collections.Specialized; +using Microsoft.Web.Administration; +using Microsoft.Web.Management.Server; namespace WebsitePanel.Providers.Web { @@ -3412,7 +3414,28 @@ namespace WebsitePanel.Providers.Web } #endregion - public virtual bool IsIISInstalled() + #region Directory Browsing + + public virtual bool GetDirectoryBrowseEnabled(string siteId) + { + ManagementObject objVirtDir = wmi.GetObject(String.Format("IIsWebVirtualDirSetting='{0}'", GetVirtualDirectoryPath(siteId, ""))); + return objVirtDir.Properties["EnableDirBrowsing"].Value != null ? (bool)objVirtDir.Properties["EnableDirBrowsing"].Value : false; + } + + public virtual void SetDirectoryBrowseEnabled(string siteId, bool enabled) + { + ManagementObject objSite = wmi.GetObject(String.Format("IIsWebServerSetting='{0}'", siteId)); + + WebSite site = GetSite(siteId); + site.EnableDirectoryBrowsing = enabled; + + FillWmiObjectFromVirtualDirectory(objSite, site, false); + objSite.Put(); + } + + #endregion + + public virtual bool IsIISInstalled() { int value = 0; RegistryKey root = Registry.LocalMachine; @@ -3737,10 +3760,5 @@ namespace WebsitePanel.Providers.Web throw new NotSupportedException(); } #endregion - - - - - } } diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/WebsitePanel.Providers.Web.IIs60.csproj b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/WebsitePanel.Providers.Web.IIs60.csproj index d14ee66c..53a4c9a8 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/WebsitePanel.Providers.Web.IIs60.csproj +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs60/WebsitePanel.Providers.Web.IIs60.csproj @@ -67,11 +67,19 @@ False ..\..\Lib\Microsoft.Practices.ObjectBuilder.dll + + False + ..\..\Lib\References\Microsoft\Microsoft.Web.Administration.dll + False ..\..\Lib\References\Microsoft\Microsoft.Web.Deployment.dll True + + False + ..\..\Lib\References\Microsoft\Microsoft.Web.Management.dll + False ..\..\Lib\References\Microsoft\Microsoft.Web.PlatformInstaller.dll diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/WebsitePanel.Providers.Web.IIs80.csproj b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/WebsitePanel.Providers.Web.IIs80.csproj index a4a33fb4..8e83d0c4 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/WebsitePanel.Providers.Web.IIs80.csproj +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/WebsitePanel.Providers.Web.IIs80.csproj @@ -30,6 +30,14 @@ 4 + + False + ..\..\Lib\References\Microsoft\Microsoft.Web.Administration.dll + + + False + ..\..\Lib\References\Microsoft\Microsoft.Web.Management.dll + diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/Properties/AssemblyInfo.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..143b2f15 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("WebsitePanel.Providers.Web.WebDav")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("WebsitePanel.Providers.Web.WebDav")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("2682cc06-0b09-4b90-80a9-ffb9e936f114")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/WebDav.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/WebDav.cs new file mode 100644 index 00000000..3c60b5f6 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/WebDav.cs @@ -0,0 +1,147 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using WebsitePanel.Providers; +using WebsitePanel.Providers.Web; +using Microsoft.Web.Administration; +using WebsitePanel.Providers.Web.Extensions; + +namespace WebsitePanel.Providers.Web +{ + public class WebDav : IWebDav + { + #region Fields + + private string _usersDomain; + + #endregion + + public WebDav(string domain) + { + _usersDomain = domain; + } + + public void CreateWebDavRule(string organizationId, string folder, WebDavFolderRule rule) + { + using (ServerManager serverManager = new ServerManager()) + { + Configuration config = serverManager.GetApplicationHostConfiguration(); + + ConfigurationSection authoringRulesSection = config.GetSection("system.webServer/webdav/authoringRules", string.Format("{0}/{1}/{2}", _usersDomain, organizationId, folder)); + + ConfigurationElementCollection authoringRulesCollection = authoringRulesSection.GetCollection(); + + ConfigurationElement addElement = authoringRulesCollection.CreateElement("add"); + + if (rule.Users.Any()) + { + addElement["users"] = string.Join(", ", rule.Users.Select(x => x.ToString()).ToArray()); + } + + if (rule.Roles.Any()) + { + addElement["roles"] = string.Join(", ", rule.Roles.Select(x => x.ToString()).ToArray()); + } + + if (rule.Pathes.Any()) + { + addElement["path"] = string.Join(", ", rule.Pathes.ToArray()); + } + + addElement["access"] = rule.AccessRights; + authoringRulesCollection.Add(addElement); + + serverManager.CommitChanges(); + } + } + public bool DeleteWebDavRule(string organizationId, string folder, WebDavFolderRule rule) + { + using (ServerManager serverManager = new ServerManager()) + { + Configuration config = serverManager.GetApplicationHostConfiguration(); + + ConfigurationSection authoringRulesSection = config.GetSection("system.webServer/webdav/authoringRules", string.Format("{0}/{1}/{2}", _usersDomain, organizationId, folder)); + + ConfigurationElementCollection authoringRulesCollection = authoringRulesSection.GetCollection(); + + var toDeleteRule = authoringRulesCollection.FindWebDavRule(rule); + + if (toDeleteRule != null) + { + authoringRulesCollection.Remove(toDeleteRule); + serverManager.CommitChanges(); + return true; + } + return false; + } + } + + public bool SetFolderWebDavRules(string organizationId, string folder, WebDavFolderRule[] newRules) + { + try + { + if (DeleteAllWebDavRules(organizationId, folder)) + { + if (newRules != null) + { + foreach (var rule in newRules) + { + CreateWebDavRule(organizationId, folder, rule); + } + } + + return true; + } + } + catch { } + return false; + } + + public WebDavFolderRule[] GetFolderWebDavRules(string organizationId, string folder) + { + using (ServerManager serverManager = new ServerManager()) + { + Configuration config = serverManager.GetApplicationHostConfiguration(); + + ConfigurationSection authoringRulesSection = config.GetSection("system.webServer/webdav/authoringRules", string.Format("{0}/{1}/{2}", _usersDomain, organizationId, folder)); + + ConfigurationElementCollection authoringRulesCollection = authoringRulesSection.GetCollection(); + + var rules = new List(); + + foreach (var rule in authoringRulesCollection) + { + rules.Add(rule.ToWebDavFolderRule()); + } + + return rules.ToArray(); + } + } + + + public bool DeleteAllWebDavRules(string organizationId, string folder) + { + try + { + using (ServerManager serverManager = new ServerManager()) + { + + Configuration config = serverManager.GetApplicationHostConfiguration(); + //ConfigurationSection authoringRulesSection = config.GetSection("system.webServer/webdav/authoringRules", string.Format("{0}/{1}/{2}", _usersDomain, organizationId, folder)); + + //ConfigurationElementCollection authoringRulesCollection = authoringRulesSection.GetCollection(); + //authoringRulesCollection.Clear(); + + config.RemoveLocationPath(string.Format("{0}/{1}/{2}", _usersDomain, organizationId, folder)); + serverManager.CommitChanges(); + return true; + } + } + catch + { + return false; + } + } + } +} diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/WebDavExtensions.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/WebDavExtensions.cs new file mode 100644 index 00000000..4a566c87 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/WebDavExtensions.cs @@ -0,0 +1,91 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Microsoft.Web.Administration; + +namespace WebsitePanel.Providers.Web.Extensions +{ + public static class WebDavExtensions + { + public static WebDavFolderRule ToWebDavFolderRule(this ConfigurationElement element) + { + var result = new WebDavFolderRule(); + + if(!string.IsNullOrEmpty(element["users"].ToString())) + { + var users = element["users"].ToString().Split(','); + + foreach (var user in users) + { + result.Users.Add(user.Trim()); + } + } + + if (!string.IsNullOrEmpty(element["roles"].ToString())) + { + var roles = element["roles"].ToString().Split(','); + + foreach (var role in roles) + { + result.Roles.Add(role.Trim()); + } + } + + if (!string.IsNullOrEmpty(element["path"].ToString())) + { + var pathes = element["path"].ToString().Split(','); + + foreach (var path in pathes) + { + result.Pathes.Add(path.Trim()); + } + } + + var access = (int)element["access"] ; + + result.Write = (access & (int)WebDavAccess.Write) == (int)WebDavAccess.Write; + result.Read = (access & (int)WebDavAccess.Read) == (int)WebDavAccess.Read; + result.Source = (access & (int)WebDavAccess.Source) == (int)WebDavAccess.Source; + + return result; + } + + public static bool ExistsWebDavRule(this ConfigurationElementCollection collection, WebDavFolderRule settings) + { + return collection.FindWebDavRule(settings) != null; + } + + public static ConfigurationElement FindWebDavRule(this ConfigurationElementCollection collection, WebDavFolderRule settings) + { + return collection.FirstOrDefault(x => + { + var s = x["users"].ToString(); + if (settings.Users.Any() + && x["users"].ToString() != string.Join(", ", settings.Users.ToArray())) + { + return false; + } + + if (settings.Roles.Any() + && x["roles"].ToString() != string.Join(", ", settings.Roles.ToArray())) + { + return false; + } + + if (settings.Pathes.Any() + && x["path"].ToString() != string.Join(", ", settings.Pathes.ToArray())) + { + return false; + } + + //if ((int)x["access"] != settings.AccessRights) + //{ + // return false; + //} + + return true; + }); + } + } +} diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/WebsitePanel.Providers.Web.WebDav.csproj b/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/WebsitePanel.Providers.Web.WebDav.csproj new file mode 100644 index 00000000..79dfc0f3 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.WebDav/WebsitePanel.Providers.Web.WebDav.csproj @@ -0,0 +1,63 @@ + + + + + Debug + AnyCPU + {CE2DF3D7-D6FF-48FA-B2EA-7B836FCBF698} + Library + Properties + WebsitePanel.Providers.Web.WebDav + WebsitePanel.Providers.Web.WebDav + v3.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + ..\..\Lib\References\Microsoft\Microsoft.Web.Administration.dll + + + + + + + + + + + + + + + + {684c932a-6c75-46ac-a327-f3689d89eb42} + WebsitePanel.Providers.Base + + + + + \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.Server.Client/EnterpriseStorageProxy.cs b/WebsitePanel/Sources/WebsitePanel.Server.Client/EnterpriseStorageProxy.cs index 15aa090c..81bed424 100644 --- a/WebsitePanel/Sources/WebsitePanel.Server.Client/EnterpriseStorageProxy.cs +++ b/WebsitePanel/Sources/WebsitePanel.Server.Client/EnterpriseStorageProxy.cs @@ -25,11 +25,10 @@ // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.6407 +// Runtime Version:2.0.50727.4984 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -37,418 +36,688 @@ //------------------------------------------------------------------------------ // -// This source code was auto-generated by wsdl, Version=2.0.50727.3038. +// This source code was auto-generated by wsdl, Version=2.0.50727.42. // -using WebsitePanel.Providers.Common; -using WebsitePanel.Providers.ResultObjects; using WebsitePanel.Providers.OS; +using WebsitePanel.Providers.Web; -namespace WebsitePanel.Providers.EnterpriseStorage { +namespace WebsitePanel.Providers.EnterpriseStorage +{ using System.Xml.Serialization; using System.Web.Services; using System.ComponentModel; using System.Web.Services.Protocols; using System; using System.Diagnostics; - - + + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Web.Services.WebServiceBindingAttribute(Name="EnterpriseStorageSoap", Namespace="http://smbsaas/websitepanel/server/")] + [System.Web.Services.WebServiceBindingAttribute(Name = "EnterpriseStorageSoap", Namespace = "http://smbsaas/websitepanel/server/")] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceProviderItem))] - public partial class EnterpriseStorage : Microsoft.Web.Services3.WebServicesClientProtocol { - + public partial class EnterpriseStorage : Microsoft.Web.Services3.WebServicesClientProtocol + { + public ServiceProviderSettingsSoapHeader ServiceProviderSettingsSoapHeaderValue; - + private System.Threading.SendOrPostCallback GetFoldersOperationCompleted; - + private System.Threading.SendOrPostCallback GetFolderOperationCompleted; - + private System.Threading.SendOrPostCallback CreateFolderOperationCompleted; - + private System.Threading.SendOrPostCallback DeleteFolderOperationCompleted; - - private System.Threading.SendOrPostCallback SetFolderQuotaOperationCompleted; - + + private System.Threading.SendOrPostCallback SetFolderWebDavRulesOperationCompleted; + + private System.Threading.SendOrPostCallback GetFolderWebDavRulesOperationCompleted; + private System.Threading.SendOrPostCallback CheckFileServicesInstallationOperationCompleted; - + + private System.Threading.SendOrPostCallback RenameFolderOperationCompleted; + /// - public EnterpriseStorage() { - this.Url = "http://localhost:9003/EnterpriseStorage.asmx"; + public EnterpriseStorage() + { + this.Url = "http://localhost:9004/EnterpriseStorage.asmx"; } - + /// public event GetFoldersCompletedEventHandler GetFoldersCompleted; - + /// public event GetFolderCompletedEventHandler GetFolderCompleted; - + /// public event CreateFolderCompletedEventHandler CreateFolderCompleted; - + /// public event DeleteFolderCompletedEventHandler DeleteFolderCompleted; - + /// - public event SetFolderQuotaCompletedEventHandler SetFolderQuotaCompleted; - + public event SetFolderWebDavRulesCompletedEventHandler SetFolderWebDavRulesCompleted; + + /// + public event GetFolderWebDavRulesCompletedEventHandler GetFolderWebDavRulesCompleted; + /// public event CheckFileServicesInstallationCompletedEventHandler CheckFileServicesInstallationCompleted; - + + /// + public event RenameFolderCompletedEventHandler RenameFolderCompleted; + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolders", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SystemFile[] GetFolders(string organizationId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolders", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SystemFile[] GetFolders(string organizationId) + { object[] results = this.Invoke("GetFolders", new object[] { organizationId}); return ((SystemFile[])(results[0])); } - + /// - public System.IAsyncResult BeginGetFolders(string organizationId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetFolders(string organizationId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetFolders", new object[] { organizationId}, callback, asyncState); } - + /// - public SystemFile[] EndGetFolders(System.IAsyncResult asyncResult) { + public SystemFile[] EndGetFolders(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((SystemFile[])(results[0])); } - + /// - public void GetFoldersAsync(string organizationId) { + public void GetFoldersAsync(string organizationId) + { this.GetFoldersAsync(organizationId, null); } - + /// - public void GetFoldersAsync(string organizationId, object userState) { - if ((this.GetFoldersOperationCompleted == null)) { + public void GetFoldersAsync(string organizationId, object userState) + { + if ((this.GetFoldersOperationCompleted == null)) + { this.GetFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFoldersOperationCompleted); } this.InvokeAsync("GetFolders", new object[] { organizationId}, this.GetFoldersOperationCompleted, userState); } - - private void OnGetFoldersOperationCompleted(object arg) { - if ((this.GetFoldersCompleted != null)) { + + private void OnGetFoldersOperationCompleted(object arg) + { + if ((this.GetFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetFoldersCompleted(this, new GetFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SystemFile GetFolder(string organizationId, string folder) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SystemFile GetFolder(string organizationId, string folder) + { object[] results = this.Invoke("GetFolder", new object[] { organizationId, folder}); return ((SystemFile)(results[0])); } - + /// - public System.IAsyncResult BeginGetFolder(string organizationId, string folder, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetFolder(string organizationId, string folder, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetFolder", new object[] { organizationId, folder}, callback, asyncState); } - + /// - public SystemFile EndGetFolder(System.IAsyncResult asyncResult) { + public SystemFile EndGetFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((SystemFile)(results[0])); } - + /// - public void GetFolderAsync(string organizationId, string folder) { + public void GetFolderAsync(string organizationId, string folder) + { this.GetFolderAsync(organizationId, folder, null); } - + /// - public void GetFolderAsync(string organizationId, string folder, object userState) { - if ((this.GetFolderOperationCompleted == null)) { + public void GetFolderAsync(string organizationId, string folder, object userState) + { + if ((this.GetFolderOperationCompleted == null)) + { this.GetFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFolderOperationCompleted); } this.InvokeAsync("GetFolder", new object[] { organizationId, folder}, this.GetFolderOperationCompleted, userState); } - - private void OnGetFolderOperationCompleted(object arg) { - if ((this.GetFolderCompleted != null)) { + + private void OnGetFolderOperationCompleted(object arg) + { + if ((this.GetFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetFolderCompleted(this, new GetFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void CreateFolder(string organizationId, string folder) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void CreateFolder(string organizationId, string folder) + { this.Invoke("CreateFolder", new object[] { organizationId, folder}); } - + /// - public System.IAsyncResult BeginCreateFolder(string organizationId, string folder, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginCreateFolder(string organizationId, string folder, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("CreateFolder", new object[] { organizationId, folder}, callback, asyncState); } - + /// - public void EndCreateFolder(System.IAsyncResult asyncResult) { + public void EndCreateFolder(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void CreateFolderAsync(string organizationId, string folder) { + public void CreateFolderAsync(string organizationId, string folder) + { this.CreateFolderAsync(organizationId, folder, null); } - + /// - public void CreateFolderAsync(string organizationId, string folder, object userState) { - if ((this.CreateFolderOperationCompleted == null)) { + public void CreateFolderAsync(string organizationId, string folder, object userState) + { + if ((this.CreateFolderOperationCompleted == null)) + { this.CreateFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateFolderOperationCompleted); } this.InvokeAsync("CreateFolder", new object[] { organizationId, folder}, this.CreateFolderOperationCompleted, userState); } - - private void OnCreateFolderOperationCompleted(object arg) { - if ((this.CreateFolderCompleted != null)) { + + private void OnCreateFolderOperationCompleted(object arg) + { + if ((this.CreateFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CreateFolderCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void DeleteFolder(string organizationId, string folder) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void DeleteFolder(string organizationId, string folder) + { this.Invoke("DeleteFolder", new object[] { organizationId, folder}); } - + /// - public System.IAsyncResult BeginDeleteFolder(string organizationId, string folder, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteFolder(string organizationId, string folder, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteFolder", new object[] { organizationId, folder}, callback, asyncState); } - + /// - public void EndDeleteFolder(System.IAsyncResult asyncResult) { + public void EndDeleteFolder(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void DeleteFolderAsync(string organizationId, string folder) { + public void DeleteFolderAsync(string organizationId, string folder) + { this.DeleteFolderAsync(organizationId, folder, null); } - + /// - public void DeleteFolderAsync(string organizationId, string folder, object userState) { - if ((this.DeleteFolderOperationCompleted == null)) { + public void DeleteFolderAsync(string organizationId, string folder, object userState) + { + if ((this.DeleteFolderOperationCompleted == null)) + { this.DeleteFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteFolderOperationCompleted); } this.InvokeAsync("DeleteFolder", new object[] { organizationId, folder}, this.DeleteFolderOperationCompleted, userState); } - - private void OnDeleteFolderOperationCompleted(object arg) { - if ((this.DeleteFolderCompleted != null)) { + + private void OnDeleteFolderOperationCompleted(object arg) + { + if ((this.DeleteFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteFolderCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetFolderQuota", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void SetFolderQuota(string organizationId, string folder, long quota) { - this.Invoke("SetFolderQuota", new object[] { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetFolderWebDavRules", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool SetFolderWebDavRules(string organizationId, string folder, WebDavFolderRule[] rules) + { + object[] results = this.Invoke("SetFolderWebDavRules", new object[] { organizationId, folder, - quota}); - } - - /// - public System.IAsyncResult BeginSetFolderQuota(string organizationId, string folder, long quota, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("SetFolderQuota", new object[] { - organizationId, - folder, - quota}, callback, asyncState); - } - - /// - public void EndSetFolderQuota(System.IAsyncResult asyncResult) { - this.EndInvoke(asyncResult); - } - - /// - public void SetFolderQuotaAsync(string organizationId, string folder, long quota) { - this.SetFolderQuotaAsync(organizationId, folder, quota, null); - } - - /// - public void SetFolderQuotaAsync(string organizationId, string folder, long quota, object userState) { - if ((this.SetFolderQuotaOperationCompleted == null)) { - this.SetFolderQuotaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetFolderQuotaOperationCompleted); - } - this.InvokeAsync("SetFolderQuota", new object[] { - organizationId, - folder, - quota}, this.SetFolderQuotaOperationCompleted, userState); - } - - private void OnSetFolderQuotaOperationCompleted(object arg) { - if ((this.SetFolderQuotaCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.SetFolderQuotaCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckFileServicesInstallation", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool CheckFileServicesInstallation() { - object[] results = this.Invoke("CheckFileServicesInstallation", new object[0]); + rules}); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginCheckFileServicesInstallation(System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("CheckFileServicesInstallation", new object[0], callback, asyncState); + public System.IAsyncResult BeginSetFolderWebDavRules(string organizationId, string folder, WebDavFolderRule[] rules, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("SetFolderWebDavRules", new object[] { + organizationId, + folder, + rules}, callback, asyncState); } - + /// - public bool EndCheckFileServicesInstallation(System.IAsyncResult asyncResult) { + public bool EndSetFolderWebDavRules(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void CheckFileServicesInstallationAsync() { + public void SetFolderWebDavRulesAsync(string organizationId, string folder, WebDavFolderRule[] rules) + { + this.SetFolderWebDavRulesAsync(organizationId, folder, rules, null); + } + + /// + public void SetFolderWebDavRulesAsync(string organizationId, string folder, WebDavFolderRule[] rules, object userState) + { + if ((this.SetFolderWebDavRulesOperationCompleted == null)) + { + this.SetFolderWebDavRulesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetFolderWebDavRulesOperationCompleted); + } + this.InvokeAsync("SetFolderWebDavRules", new object[] { + organizationId, + folder, + rules}, this.SetFolderWebDavRulesOperationCompleted, userState); + } + + private void OnSetFolderWebDavRulesOperationCompleted(object arg) + { + if ((this.SetFolderWebDavRulesCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SetFolderWebDavRulesCompleted(this, new SetFolderWebDavRulesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolderWebDavRules", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebDavFolderRule[] GetFolderWebDavRules(string organizationId, string folder) + { + object[] results = this.Invoke("GetFolderWebDavRules", new object[] { + organizationId, + folder}); + return ((WebDavFolderRule[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetFolderWebDavRules(string organizationId, string folder, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetFolderWebDavRules", new object[] { + organizationId, + folder}, callback, asyncState); + } + + /// + public WebDavFolderRule[] EndGetFolderWebDavRules(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((WebDavFolderRule[])(results[0])); + } + + /// + public void GetFolderWebDavRulesAsync(string organizationId, string folder) + { + this.GetFolderWebDavRulesAsync(organizationId, folder, null); + } + + /// + public void GetFolderWebDavRulesAsync(string organizationId, string folder, object userState) + { + if ((this.GetFolderWebDavRulesOperationCompleted == null)) + { + this.GetFolderWebDavRulesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFolderWebDavRulesOperationCompleted); + } + this.InvokeAsync("GetFolderWebDavRules", new object[] { + organizationId, + folder}, this.GetFolderWebDavRulesOperationCompleted, userState); + } + + private void OnGetFolderWebDavRulesOperationCompleted(object arg) + { + if ((this.GetFolderWebDavRulesCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetFolderWebDavRulesCompleted(this, new GetFolderWebDavRulesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckFileServicesInstallation", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool CheckFileServicesInstallation() + { + object[] results = this.Invoke("CheckFileServicesInstallation", new object[0]); + return ((bool)(results[0])); + } + + /// + public System.IAsyncResult BeginCheckFileServicesInstallation(System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("CheckFileServicesInstallation", new object[0], callback, asyncState); + } + + /// + public bool EndCheckFileServicesInstallation(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((bool)(results[0])); + } + + /// + public void CheckFileServicesInstallationAsync() + { this.CheckFileServicesInstallationAsync(null); } - + /// - public void CheckFileServicesInstallationAsync(object userState) { - if ((this.CheckFileServicesInstallationOperationCompleted == null)) { + public void CheckFileServicesInstallationAsync(object userState) + { + if ((this.CheckFileServicesInstallationOperationCompleted == null)) + { this.CheckFileServicesInstallationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckFileServicesInstallationOperationCompleted); } this.InvokeAsync("CheckFileServicesInstallation", new object[0], this.CheckFileServicesInstallationOperationCompleted, userState); } - - private void OnCheckFileServicesInstallationOperationCompleted(object arg) { - if ((this.CheckFileServicesInstallationCompleted != null)) { + + private void OnCheckFileServicesInstallationOperationCompleted(object arg) + { + if ((this.CheckFileServicesInstallationCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CheckFileServicesInstallationCompleted(this, new CheckFileServicesInstallationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - public new void CancelAsync(object userState) { + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RenameFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SystemFile RenameFolder(string organizationId, string originalFolder, string newFolder) + { + object[] results = this.Invoke("RenameFolder", new object[] { + organizationId, + originalFolder, + newFolder}); + return ((SystemFile)(results[0])); + } + + /// + public System.IAsyncResult BeginRenameFolder(string organizationId, string originalFolder, string newFolder, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("RenameFolder", new object[] { + organizationId, + originalFolder, + newFolder}, callback, asyncState); + } + + /// + public SystemFile EndRenameFolder(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SystemFile)(results[0])); + } + + /// + public void RenameFolderAsync(string organizationId, string originalFolder, string newFolder) + { + this.RenameFolderAsync(organizationId, originalFolder, newFolder, null); + } + + /// + public void RenameFolderAsync(string organizationId, string originalFolder, string newFolder, object userState) + { + if ((this.RenameFolderOperationCompleted == null)) + { + this.RenameFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRenameFolderOperationCompleted); + } + this.InvokeAsync("RenameFolder", new object[] { + organizationId, + originalFolder, + newFolder}, this.RenameFolderOperationCompleted, userState); + } + + private void OnRenameFolderOperationCompleted(object arg) + { + if ((this.RenameFolderCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.RenameFolderCompleted(this, new RenameFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + public new void CancelAsync(object userState) + { base.CancelAsync(userState); } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetFoldersCompletedEventHandler(object sender, GetFoldersCompletedEventArgs e); - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SystemFile[] Result { - get { + public SystemFile[] Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SystemFile[])(this.results[0])); } } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetFolderCompletedEventHandler(object sender, GetFolderCompletedEventArgs e); - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class GetFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal GetFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal GetFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SystemFile Result { - get { + public SystemFile Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SystemFile)(this.results[0])); } } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CreateFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void DeleteFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] - public delegate void SetFolderQuotaCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SetFolderWebDavRulesCompletedEventHandler(object sender, SetFolderWebDavRulesCompletedEventArgs e); + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] - public delegate void CheckFileServicesInstallationCompletedEventHandler(object sender, CheckFileServicesInstallationCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CheckFileServicesInstallationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class SetFolderWebDavRulesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal CheckFileServicesInstallationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal SetFolderWebDavRulesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public bool Result { - get { + public bool Result + { + get + { this.RaiseExceptionIfNecessary(); return ((bool)(this.results[0])); } } } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetFolderWebDavRulesCompletedEventHandler(object sender, GetFolderWebDavRulesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetFolderWebDavRulesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetFolderWebDavRulesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebDavFolderRule[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebDavFolderRule[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void CheckFileServicesInstallationCompletedEventHandler(object sender, CheckFileServicesInstallationCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CheckFileServicesInstallationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal CheckFileServicesInstallationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void RenameFolderCompletedEventHandler(object sender, RenameFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RenameFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal RenameFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public SystemFile Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((SystemFile)(this.results[0])); + } + } + } } diff --git a/WebsitePanel/Sources/WebsitePanel.Server.Client/WebServerProxy.cs b/WebsitePanel/Sources/WebsitePanel.Server.Client/WebServerProxy.cs index c203dc3d..fafaa5c0 100644 --- a/WebsitePanel/Sources/WebsitePanel.Server.Client/WebServerProxy.cs +++ b/WebsitePanel/Sources/WebsitePanel.Server.Client/WebServerProxy.cs @@ -25,11 +25,10 @@ // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.5466 +// Runtime Version:2.0.50727.4984 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -39,950 +38,1665 @@ // // This source code was auto-generated by wsdl, Version=2.0.50727.42. // -namespace WebsitePanel.Providers.Web { + +using WebsitePanel.Providers.Common; +using WebsitePanel.Providers.ResultObjects; +using WebsitePanel.Providers.WebAppGallery; + +namespace WebsitePanel.Providers.Web +{ using System.Xml.Serialization; using System.Web.Services; using System.ComponentModel; using System.Web.Services.Protocols; using System; using System.Diagnostics; - using WebsitePanel.Providers.ResultObjects; - using WebsitePanel.Providers.WebAppGallery; - using WebsitePanel.Providers.Common; - - + + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Web.Services.WebServiceBindingAttribute(Name="WebServerSoap", Namespace="http://smbsaas/websitepanel/server/")] + [System.Web.Services.WebServiceBindingAttribute(Name = "WebServerSoap", Namespace = "http://smbsaas/websitepanel/server/")] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceProviderItem))] - public partial class WebServer : Microsoft.Web.Services3.WebServicesClientProtocol { - + public partial class WebServer : Microsoft.Web.Services3.WebServicesClientProtocol + { + public ServiceProviderSettingsSoapHeader ServiceProviderSettingsSoapHeaderValue; - - private System.Threading.SendOrPostCallback ChangeSiteStateOperationCompleted; - - private System.Threading.SendOrPostCallback GetSiteStateOperationCompleted; - - private System.Threading.SendOrPostCallback GetSiteIdOperationCompleted; - - private System.Threading.SendOrPostCallback GetSitesAccountsOperationCompleted; - - private System.Threading.SendOrPostCallback SiteExistsOperationCompleted; - - private System.Threading.SendOrPostCallback GetSitesOperationCompleted; - - private System.Threading.SendOrPostCallback GetSiteOperationCompleted; - - private System.Threading.SendOrPostCallback GetSiteBindingsOperationCompleted; - - private System.Threading.SendOrPostCallback CreateSiteOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateSiteOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateSiteBindingsOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteSiteOperationCompleted; - - private System.Threading.SendOrPostCallback ChangeAppPoolStateOperationCompleted; - - private System.Threading.SendOrPostCallback GetAppPoolStateOperationCompleted; - - private System.Threading.SendOrPostCallback VirtualDirectoryExistsOperationCompleted; - - private System.Threading.SendOrPostCallback GetVirtualDirectoriesOperationCompleted; - - private System.Threading.SendOrPostCallback GetVirtualDirectoryOperationCompleted; - - private System.Threading.SendOrPostCallback CreateVirtualDirectoryOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateVirtualDirectoryOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteVirtualDirectoryOperationCompleted; - - private System.Threading.SendOrPostCallback IsFrontPageSystemInstalledOperationCompleted; - - private System.Threading.SendOrPostCallback IsFrontPageInstalledOperationCompleted; - - private System.Threading.SendOrPostCallback InstallFrontPageOperationCompleted; - - private System.Threading.SendOrPostCallback UninstallFrontPageOperationCompleted; - - private System.Threading.SendOrPostCallback ChangeFrontPagePasswordOperationCompleted; - - private System.Threading.SendOrPostCallback IsColdFusionSystemInstalledOperationCompleted; - - private System.Threading.SendOrPostCallback GrantWebSiteAccessOperationCompleted; - - private System.Threading.SendOrPostCallback InstallSecuredFoldersOperationCompleted; - - private System.Threading.SendOrPostCallback UninstallSecuredFoldersOperationCompleted; - - private System.Threading.SendOrPostCallback GetFoldersOperationCompleted; - - private System.Threading.SendOrPostCallback GetFolderOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateFolderOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteFolderOperationCompleted; - - private System.Threading.SendOrPostCallback GetUsersOperationCompleted; - - private System.Threading.SendOrPostCallback GetUserOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateUserOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteUserOperationCompleted; - - private System.Threading.SendOrPostCallback GetGroupsOperationCompleted; - - private System.Threading.SendOrPostCallback GetGroupOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateGroupOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteGroupOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeStatusOperationCompleted; - - private System.Threading.SendOrPostCallback InstallHeliconApeOperationCompleted; - - private System.Threading.SendOrPostCallback EnableHeliconApeOperationCompleted; - - private System.Threading.SendOrPostCallback DisableHeliconApeOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeFoldersOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeHttpdFolderOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeFolderOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateHeliconApeFolderOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateHeliconApeHttpdFolderOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteHeliconApeFolderOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeUsersOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeUserOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateHeliconApeUserOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteHeliconApeUserOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeGroupsOperationCompleted; - - private System.Threading.SendOrPostCallback GetHeliconApeGroupOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateHeliconApeGroupOperationCompleted; - - private System.Threading.SendOrPostCallback GrantWebDeployPublishingAccessOperationCompleted; - - private System.Threading.SendOrPostCallback RevokeWebDeployPublishingAccessOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteHeliconApeGroupOperationCompleted; - - private System.Threading.SendOrPostCallback GetZooApplicationsOperationCompleted; - - private System.Threading.SendOrPostCallback SetZooEnvironmentVariableOperationCompleted; - - private System.Threading.SendOrPostCallback SetZooConsoleEnabledOperationCompleted; - - private System.Threading.SendOrPostCallback SetZooConsoleDisabledOperationCompleted; - - private System.Threading.SendOrPostCallback CheckLoadUserProfileOperationCompleted; - - private System.Threading.SendOrPostCallback EnableLoadUserProfileOperationCompleted; - - private System.Threading.SendOrPostCallback InitFeedsOperationCompleted; - - private System.Threading.SendOrPostCallback SetResourceLanguageOperationCompleted; - - private System.Threading.SendOrPostCallback GetGalleryLanguagesOperationCompleted; - - private System.Threading.SendOrPostCallback GetGalleryCategoriesOperationCompleted; - - private System.Threading.SendOrPostCallback GetGalleryApplicationsOperationCompleted; - - private System.Threading.SendOrPostCallback GetGalleryApplicationsFilteredOperationCompleted; - - private System.Threading.SendOrPostCallback IsMsDeployInstalledOperationCompleted; - - private System.Threading.SendOrPostCallback GetGalleryApplicationOperationCompleted; - - private System.Threading.SendOrPostCallback GetGalleryApplicationStatusOperationCompleted; - - private System.Threading.SendOrPostCallback DownloadGalleryApplicationOperationCompleted; - - private System.Threading.SendOrPostCallback GetGalleryApplicationParametersOperationCompleted; - - private System.Threading.SendOrPostCallback InstallGalleryApplicationOperationCompleted; - - private System.Threading.SendOrPostCallback CheckWebManagementAccountExistsOperationCompleted; - - private System.Threading.SendOrPostCallback CheckWebManagementPasswordComplexityOperationCompleted; - - private System.Threading.SendOrPostCallback GrantWebManagementAccessOperationCompleted; - - private System.Threading.SendOrPostCallback RevokeWebManagementAccessOperationCompleted; - - private System.Threading.SendOrPostCallback ChangeWebManagementAccessPasswordOperationCompleted; - + private System.Threading.SendOrPostCallback generateCSROperationCompleted; - + private System.Threading.SendOrPostCallback generateRenewalCSROperationCompleted; - + private System.Threading.SendOrPostCallback getCertificateOperationCompleted; - + private System.Threading.SendOrPostCallback installCertificateOperationCompleted; - + private System.Threading.SendOrPostCallback installPFXOperationCompleted; - + private System.Threading.SendOrPostCallback exportCertificateOperationCompleted; - + private System.Threading.SendOrPostCallback getServerCertificatesOperationCompleted; - + private System.Threading.SendOrPostCallback DeleteCertificateOperationCompleted; - + private System.Threading.SendOrPostCallback ImportCertificateOperationCompleted; - + private System.Threading.SendOrPostCallback CheckCertificateOperationCompleted; - + + private System.Threading.SendOrPostCallback GetDirectoryBrowseEnabledOperationCompleted; + + private System.Threading.SendOrPostCallback SetDirectoryBrowseEnabledOperationCompleted; + + private System.Threading.SendOrPostCallback ChangeSiteStateOperationCompleted; + + private System.Threading.SendOrPostCallback GetSiteStateOperationCompleted; + + private System.Threading.SendOrPostCallback GetSiteIdOperationCompleted; + + private System.Threading.SendOrPostCallback GetSitesAccountsOperationCompleted; + + private System.Threading.SendOrPostCallback SiteExistsOperationCompleted; + + private System.Threading.SendOrPostCallback GetSitesOperationCompleted; + + private System.Threading.SendOrPostCallback GetSiteOperationCompleted; + + private System.Threading.SendOrPostCallback GetSiteBindingsOperationCompleted; + + private System.Threading.SendOrPostCallback CreateSiteOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateSiteOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateSiteBindingsOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteSiteOperationCompleted; + + private System.Threading.SendOrPostCallback ChangeAppPoolStateOperationCompleted; + + private System.Threading.SendOrPostCallback GetAppPoolStateOperationCompleted; + + private System.Threading.SendOrPostCallback VirtualDirectoryExistsOperationCompleted; + + private System.Threading.SendOrPostCallback GetVirtualDirectoriesOperationCompleted; + + private System.Threading.SendOrPostCallback GetVirtualDirectoryOperationCompleted; + + private System.Threading.SendOrPostCallback CreateVirtualDirectoryOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateVirtualDirectoryOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteVirtualDirectoryOperationCompleted; + + private System.Threading.SendOrPostCallback IsFrontPageSystemInstalledOperationCompleted; + + private System.Threading.SendOrPostCallback IsFrontPageInstalledOperationCompleted; + + private System.Threading.SendOrPostCallback InstallFrontPageOperationCompleted; + + private System.Threading.SendOrPostCallback UninstallFrontPageOperationCompleted; + + private System.Threading.SendOrPostCallback ChangeFrontPagePasswordOperationCompleted; + + private System.Threading.SendOrPostCallback IsColdFusionSystemInstalledOperationCompleted; + + private System.Threading.SendOrPostCallback GrantWebSiteAccessOperationCompleted; + + private System.Threading.SendOrPostCallback InstallSecuredFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback UninstallSecuredFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback GetFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback GetFolderOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateFolderOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteFolderOperationCompleted; + + private System.Threading.SendOrPostCallback GetUsersOperationCompleted; + + private System.Threading.SendOrPostCallback GetUserOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateUserOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteUserOperationCompleted; + + private System.Threading.SendOrPostCallback GetGroupsOperationCompleted; + + private System.Threading.SendOrPostCallback GetGroupOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateGroupOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteGroupOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeStatusOperationCompleted; + + private System.Threading.SendOrPostCallback InstallHeliconApeOperationCompleted; + + private System.Threading.SendOrPostCallback EnableHeliconApeOperationCompleted; + + private System.Threading.SendOrPostCallback DisableHeliconApeOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeFoldersOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeHttpdFolderOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeFolderOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateHeliconApeFolderOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateHeliconApeHttpdFolderOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteHeliconApeFolderOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeUsersOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeUserOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateHeliconApeUserOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteHeliconApeUserOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeGroupsOperationCompleted; + + private System.Threading.SendOrPostCallback GetHeliconApeGroupOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateHeliconApeGroupOperationCompleted; + + private System.Threading.SendOrPostCallback GrantWebDeployPublishingAccessOperationCompleted; + + private System.Threading.SendOrPostCallback RevokeWebDeployPublishingAccessOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteHeliconApeGroupOperationCompleted; + + private System.Threading.SendOrPostCallback GetZooApplicationsOperationCompleted; + + private System.Threading.SendOrPostCallback SetZooEnvironmentVariableOperationCompleted; + + private System.Threading.SendOrPostCallback SetZooConsoleEnabledOperationCompleted; + + private System.Threading.SendOrPostCallback SetZooConsoleDisabledOperationCompleted; + + private System.Threading.SendOrPostCallback CheckLoadUserProfileOperationCompleted; + + private System.Threading.SendOrPostCallback EnableLoadUserProfileOperationCompleted; + + private System.Threading.SendOrPostCallback InitFeedsOperationCompleted; + + private System.Threading.SendOrPostCallback SetResourceLanguageOperationCompleted; + + private System.Threading.SendOrPostCallback GetGalleryLanguagesOperationCompleted; + + private System.Threading.SendOrPostCallback GetGalleryCategoriesOperationCompleted; + + private System.Threading.SendOrPostCallback GetGalleryApplicationsOperationCompleted; + + private System.Threading.SendOrPostCallback GetGalleryApplicationsFilteredOperationCompleted; + + private System.Threading.SendOrPostCallback IsMsDeployInstalledOperationCompleted; + + private System.Threading.SendOrPostCallback GetGalleryApplicationOperationCompleted; + + private System.Threading.SendOrPostCallback GetGalleryApplicationStatusOperationCompleted; + + private System.Threading.SendOrPostCallback DownloadGalleryApplicationOperationCompleted; + + private System.Threading.SendOrPostCallback GetGalleryApplicationParametersOperationCompleted; + + private System.Threading.SendOrPostCallback InstallGalleryApplicationOperationCompleted; + + private System.Threading.SendOrPostCallback CheckWebManagementAccountExistsOperationCompleted; + + private System.Threading.SendOrPostCallback CheckWebManagementPasswordComplexityOperationCompleted; + + private System.Threading.SendOrPostCallback GrantWebManagementAccessOperationCompleted; + + private System.Threading.SendOrPostCallback RevokeWebManagementAccessOperationCompleted; + + private System.Threading.SendOrPostCallback ChangeWebManagementAccessPasswordOperationCompleted; + /// - public WebServer() { - this.Url = "http://localhost:9003/WebServer.asmx"; + public WebServer() + { + this.Url = "http://localhost:9004/WebServer.asmx"; } - - /// - public event ChangeSiteStateCompletedEventHandler ChangeSiteStateCompleted; - - /// - public event GetSiteStateCompletedEventHandler GetSiteStateCompleted; - - /// - public event GetSiteIdCompletedEventHandler GetSiteIdCompleted; - - /// - public event GetSitesAccountsCompletedEventHandler GetSitesAccountsCompleted; - - /// - public event SiteExistsCompletedEventHandler SiteExistsCompleted; - - /// - public event GetSitesCompletedEventHandler GetSitesCompleted; - - /// - public event GetSiteCompletedEventHandler GetSiteCompleted; - - /// - public event GetSiteBindingsCompletedEventHandler GetSiteBindingsCompleted; - - /// - public event CreateSiteCompletedEventHandler CreateSiteCompleted; - - /// - public event UpdateSiteCompletedEventHandler UpdateSiteCompleted; - - /// - public event UpdateSiteBindingsCompletedEventHandler UpdateSiteBindingsCompleted; - - /// - public event DeleteSiteCompletedEventHandler DeleteSiteCompleted; - - /// - public event ChangeAppPoolStateCompletedEventHandler ChangeAppPoolStateCompleted; - - /// - public event GetAppPoolStateCompletedEventHandler GetAppPoolStateCompleted; - - /// - public event VirtualDirectoryExistsCompletedEventHandler VirtualDirectoryExistsCompleted; - - /// - public event GetVirtualDirectoriesCompletedEventHandler GetVirtualDirectoriesCompleted; - - /// - public event GetVirtualDirectoryCompletedEventHandler GetVirtualDirectoryCompleted; - - /// - public event CreateVirtualDirectoryCompletedEventHandler CreateVirtualDirectoryCompleted; - - /// - public event UpdateVirtualDirectoryCompletedEventHandler UpdateVirtualDirectoryCompleted; - - /// - public event DeleteVirtualDirectoryCompletedEventHandler DeleteVirtualDirectoryCompleted; - - /// - public event IsFrontPageSystemInstalledCompletedEventHandler IsFrontPageSystemInstalledCompleted; - - /// - public event IsFrontPageInstalledCompletedEventHandler IsFrontPageInstalledCompleted; - - /// - public event InstallFrontPageCompletedEventHandler InstallFrontPageCompleted; - - /// - public event UninstallFrontPageCompletedEventHandler UninstallFrontPageCompleted; - - /// - public event ChangeFrontPagePasswordCompletedEventHandler ChangeFrontPagePasswordCompleted; - - /// - public event IsColdFusionSystemInstalledCompletedEventHandler IsColdFusionSystemInstalledCompleted; - - /// - public event GrantWebSiteAccessCompletedEventHandler GrantWebSiteAccessCompleted; - - /// - public event InstallSecuredFoldersCompletedEventHandler InstallSecuredFoldersCompleted; - - /// - public event UninstallSecuredFoldersCompletedEventHandler UninstallSecuredFoldersCompleted; - - /// - public event GetFoldersCompletedEventHandler GetFoldersCompleted; - - /// - public event GetFolderCompletedEventHandler GetFolderCompleted; - - /// - public event UpdateFolderCompletedEventHandler UpdateFolderCompleted; - - /// - public event DeleteFolderCompletedEventHandler DeleteFolderCompleted; - - /// - public event GetUsersCompletedEventHandler GetUsersCompleted; - - /// - public event GetUserCompletedEventHandler GetUserCompleted; - - /// - public event UpdateUserCompletedEventHandler UpdateUserCompleted; - - /// - public event DeleteUserCompletedEventHandler DeleteUserCompleted; - - /// - public event GetGroupsCompletedEventHandler GetGroupsCompleted; - - /// - public event GetGroupCompletedEventHandler GetGroupCompleted; - - /// - public event UpdateGroupCompletedEventHandler UpdateGroupCompleted; - - /// - public event DeleteGroupCompletedEventHandler DeleteGroupCompleted; - - /// - public event GetHeliconApeStatusCompletedEventHandler GetHeliconApeStatusCompleted; - - /// - public event InstallHeliconApeCompletedEventHandler InstallHeliconApeCompleted; - - /// - public event EnableHeliconApeCompletedEventHandler EnableHeliconApeCompleted; - - /// - public event DisableHeliconApeCompletedEventHandler DisableHeliconApeCompleted; - - /// - public event GetHeliconApeFoldersCompletedEventHandler GetHeliconApeFoldersCompleted; - - /// - public event GetHeliconApeHttpdFolderCompletedEventHandler GetHeliconApeHttpdFolderCompleted; - - /// - public event GetHeliconApeFolderCompletedEventHandler GetHeliconApeFolderCompleted; - - /// - public event UpdateHeliconApeFolderCompletedEventHandler UpdateHeliconApeFolderCompleted; - - /// - public event UpdateHeliconApeHttpdFolderCompletedEventHandler UpdateHeliconApeHttpdFolderCompleted; - - /// - public event DeleteHeliconApeFolderCompletedEventHandler DeleteHeliconApeFolderCompleted; - - /// - public event GetHeliconApeUsersCompletedEventHandler GetHeliconApeUsersCompleted; - - /// - public event GetHeliconApeUserCompletedEventHandler GetHeliconApeUserCompleted; - - /// - public event UpdateHeliconApeUserCompletedEventHandler UpdateHeliconApeUserCompleted; - - /// - public event DeleteHeliconApeUserCompletedEventHandler DeleteHeliconApeUserCompleted; - - /// - public event GetHeliconApeGroupsCompletedEventHandler GetHeliconApeGroupsCompleted; - - /// - public event GetHeliconApeGroupCompletedEventHandler GetHeliconApeGroupCompleted; - - /// - public event UpdateHeliconApeGroupCompletedEventHandler UpdateHeliconApeGroupCompleted; - - /// - public event GrantWebDeployPublishingAccessCompletedEventHandler GrantWebDeployPublishingAccessCompleted; - - /// - public event RevokeWebDeployPublishingAccessCompletedEventHandler RevokeWebDeployPublishingAccessCompleted; - - /// - public event DeleteHeliconApeGroupCompletedEventHandler DeleteHeliconApeGroupCompleted; - - /// - public event GetZooApplicationsCompletedEventHandler GetZooApplicationsCompleted; - - /// - public event SetZooEnvironmentVariableCompletedEventHandler SetZooEnvironmentVariableCompleted; - - /// - public event SetZooConsoleEnabledCompletedEventHandler SetZooConsoleEnabledCompleted; - - /// - public event SetZooConsoleDisabledCompletedEventHandler SetZooConsoleDisabledCompleted; - - /// - public event CheckLoadUserProfileCompletedEventHandler CheckLoadUserProfileCompleted; - - /// - public event EnableLoadUserProfileCompletedEventHandler EnableLoadUserProfileCompleted; - - /// - public event InitFeedsCompletedEventHandler InitFeedsCompleted; - - /// - public event SetResourceLanguageCompletedEventHandler SetResourceLanguageCompleted; - - /// - public event GetGalleryLanguagesCompletedEventHandler GetGalleryLanguagesCompleted; - - /// - public event GetGalleryCategoriesCompletedEventHandler GetGalleryCategoriesCompleted; - - /// - public event GetGalleryApplicationsCompletedEventHandler GetGalleryApplicationsCompleted; - - /// - public event GetGalleryApplicationsFilteredCompletedEventHandler GetGalleryApplicationsFilteredCompleted; - - /// - public event IsMsDeployInstalledCompletedEventHandler IsMsDeployInstalledCompleted; - - /// - public event GetGalleryApplicationCompletedEventHandler GetGalleryApplicationCompleted; - - /// - public event GetGalleryApplicationStatusCompletedEventHandler GetGalleryApplicationStatusCompleted; - - /// - public event DownloadGalleryApplicationCompletedEventHandler DownloadGalleryApplicationCompleted; - - /// - public event GetGalleryApplicationParametersCompletedEventHandler GetGalleryApplicationParametersCompleted; - - /// - public event InstallGalleryApplicationCompletedEventHandler InstallGalleryApplicationCompleted; - - /// - public event CheckWebManagementAccountExistsCompletedEventHandler CheckWebManagementAccountExistsCompleted; - - /// - public event CheckWebManagementPasswordComplexityCompletedEventHandler CheckWebManagementPasswordComplexityCompleted; - - /// - public event GrantWebManagementAccessCompletedEventHandler GrantWebManagementAccessCompleted; - - /// - public event RevokeWebManagementAccessCompletedEventHandler RevokeWebManagementAccessCompleted; - - /// - public event ChangeWebManagementAccessPasswordCompletedEventHandler ChangeWebManagementAccessPasswordCompleted; - + /// public event generateCSRCompletedEventHandler generateCSRCompleted; - + /// public event generateRenewalCSRCompletedEventHandler generateRenewalCSRCompleted; - + /// public event getCertificateCompletedEventHandler getCertificateCompleted; - + /// public event installCertificateCompletedEventHandler installCertificateCompleted; - + /// public event installPFXCompletedEventHandler installPFXCompleted; - + /// public event exportCertificateCompletedEventHandler exportCertificateCompleted; - + /// public event getServerCertificatesCompletedEventHandler getServerCertificatesCompleted; - + /// public event DeleteCertificateCompletedEventHandler DeleteCertificateCompleted; - + /// public event ImportCertificateCompletedEventHandler ImportCertificateCompleted; - + /// public event CheckCertificateCompletedEventHandler CheckCertificateCompleted; - + + /// + public event GetDirectoryBrowseEnabledCompletedEventHandler GetDirectoryBrowseEnabledCompleted; + + /// + public event SetDirectoryBrowseEnabledCompletedEventHandler SetDirectoryBrowseEnabledCompleted; + + /// + public event ChangeSiteStateCompletedEventHandler ChangeSiteStateCompleted; + + /// + public event GetSiteStateCompletedEventHandler GetSiteStateCompleted; + + /// + public event GetSiteIdCompletedEventHandler GetSiteIdCompleted; + + /// + public event GetSitesAccountsCompletedEventHandler GetSitesAccountsCompleted; + + /// + public event SiteExistsCompletedEventHandler SiteExistsCompleted; + + /// + public event GetSitesCompletedEventHandler GetSitesCompleted; + + /// + public event GetSiteCompletedEventHandler GetSiteCompleted; + + /// + public event GetSiteBindingsCompletedEventHandler GetSiteBindingsCompleted; + + /// + public event CreateSiteCompletedEventHandler CreateSiteCompleted; + + /// + public event UpdateSiteCompletedEventHandler UpdateSiteCompleted; + + /// + public event UpdateSiteBindingsCompletedEventHandler UpdateSiteBindingsCompleted; + + /// + public event DeleteSiteCompletedEventHandler DeleteSiteCompleted; + + /// + public event ChangeAppPoolStateCompletedEventHandler ChangeAppPoolStateCompleted; + + /// + public event GetAppPoolStateCompletedEventHandler GetAppPoolStateCompleted; + + /// + public event VirtualDirectoryExistsCompletedEventHandler VirtualDirectoryExistsCompleted; + + /// + public event GetVirtualDirectoriesCompletedEventHandler GetVirtualDirectoriesCompleted; + + /// + public event GetVirtualDirectoryCompletedEventHandler GetVirtualDirectoryCompleted; + + /// + public event CreateVirtualDirectoryCompletedEventHandler CreateVirtualDirectoryCompleted; + + /// + public event UpdateVirtualDirectoryCompletedEventHandler UpdateVirtualDirectoryCompleted; + + /// + public event DeleteVirtualDirectoryCompletedEventHandler DeleteVirtualDirectoryCompleted; + + /// + public event IsFrontPageSystemInstalledCompletedEventHandler IsFrontPageSystemInstalledCompleted; + + /// + public event IsFrontPageInstalledCompletedEventHandler IsFrontPageInstalledCompleted; + + /// + public event InstallFrontPageCompletedEventHandler InstallFrontPageCompleted; + + /// + public event UninstallFrontPageCompletedEventHandler UninstallFrontPageCompleted; + + /// + public event ChangeFrontPagePasswordCompletedEventHandler ChangeFrontPagePasswordCompleted; + + /// + public event IsColdFusionSystemInstalledCompletedEventHandler IsColdFusionSystemInstalledCompleted; + + /// + public event GrantWebSiteAccessCompletedEventHandler GrantWebSiteAccessCompleted; + + /// + public event InstallSecuredFoldersCompletedEventHandler InstallSecuredFoldersCompleted; + + /// + public event UninstallSecuredFoldersCompletedEventHandler UninstallSecuredFoldersCompleted; + + /// + public event GetFoldersCompletedEventHandler GetFoldersCompleted; + + /// + public event GetFolderCompletedEventHandler GetFolderCompleted; + + /// + public event UpdateFolderCompletedEventHandler UpdateFolderCompleted; + + /// + public event DeleteFolderCompletedEventHandler DeleteFolderCompleted; + + /// + public event GetUsersCompletedEventHandler GetUsersCompleted; + + /// + public event GetUserCompletedEventHandler GetUserCompleted; + + /// + public event UpdateUserCompletedEventHandler UpdateUserCompleted; + + /// + public event DeleteUserCompletedEventHandler DeleteUserCompleted; + + /// + public event GetGroupsCompletedEventHandler GetGroupsCompleted; + + /// + public event GetGroupCompletedEventHandler GetGroupCompleted; + + /// + public event UpdateGroupCompletedEventHandler UpdateGroupCompleted; + + /// + public event DeleteGroupCompletedEventHandler DeleteGroupCompleted; + + /// + public event GetHeliconApeStatusCompletedEventHandler GetHeliconApeStatusCompleted; + + /// + public event InstallHeliconApeCompletedEventHandler InstallHeliconApeCompleted; + + /// + public event EnableHeliconApeCompletedEventHandler EnableHeliconApeCompleted; + + /// + public event DisableHeliconApeCompletedEventHandler DisableHeliconApeCompleted; + + /// + public event GetHeliconApeFoldersCompletedEventHandler GetHeliconApeFoldersCompleted; + + /// + public event GetHeliconApeHttpdFolderCompletedEventHandler GetHeliconApeHttpdFolderCompleted; + + /// + public event GetHeliconApeFolderCompletedEventHandler GetHeliconApeFolderCompleted; + + /// + public event UpdateHeliconApeFolderCompletedEventHandler UpdateHeliconApeFolderCompleted; + + /// + public event UpdateHeliconApeHttpdFolderCompletedEventHandler UpdateHeliconApeHttpdFolderCompleted; + + /// + public event DeleteHeliconApeFolderCompletedEventHandler DeleteHeliconApeFolderCompleted; + + /// + public event GetHeliconApeUsersCompletedEventHandler GetHeliconApeUsersCompleted; + + /// + public event GetHeliconApeUserCompletedEventHandler GetHeliconApeUserCompleted; + + /// + public event UpdateHeliconApeUserCompletedEventHandler UpdateHeliconApeUserCompleted; + + /// + public event DeleteHeliconApeUserCompletedEventHandler DeleteHeliconApeUserCompleted; + + /// + public event GetHeliconApeGroupsCompletedEventHandler GetHeliconApeGroupsCompleted; + + /// + public event GetHeliconApeGroupCompletedEventHandler GetHeliconApeGroupCompleted; + + /// + public event UpdateHeliconApeGroupCompletedEventHandler UpdateHeliconApeGroupCompleted; + + /// + public event GrantWebDeployPublishingAccessCompletedEventHandler GrantWebDeployPublishingAccessCompleted; + + /// + public event RevokeWebDeployPublishingAccessCompletedEventHandler RevokeWebDeployPublishingAccessCompleted; + + /// + public event DeleteHeliconApeGroupCompletedEventHandler DeleteHeliconApeGroupCompleted; + + /// + public event GetZooApplicationsCompletedEventHandler GetZooApplicationsCompleted; + + /// + public event SetZooEnvironmentVariableCompletedEventHandler SetZooEnvironmentVariableCompleted; + + /// + public event SetZooConsoleEnabledCompletedEventHandler SetZooConsoleEnabledCompleted; + + /// + public event SetZooConsoleDisabledCompletedEventHandler SetZooConsoleDisabledCompleted; + + /// + public event CheckLoadUserProfileCompletedEventHandler CheckLoadUserProfileCompleted; + + /// + public event EnableLoadUserProfileCompletedEventHandler EnableLoadUserProfileCompleted; + + /// + public event InitFeedsCompletedEventHandler InitFeedsCompleted; + + /// + public event SetResourceLanguageCompletedEventHandler SetResourceLanguageCompleted; + + /// + public event GetGalleryLanguagesCompletedEventHandler GetGalleryLanguagesCompleted; + + /// + public event GetGalleryCategoriesCompletedEventHandler GetGalleryCategoriesCompleted; + + /// + public event GetGalleryApplicationsCompletedEventHandler GetGalleryApplicationsCompleted; + + /// + public event GetGalleryApplicationsFilteredCompletedEventHandler GetGalleryApplicationsFilteredCompleted; + + /// + public event IsMsDeployInstalledCompletedEventHandler IsMsDeployInstalledCompleted; + + /// + public event GetGalleryApplicationCompletedEventHandler GetGalleryApplicationCompleted; + + /// + public event GetGalleryApplicationStatusCompletedEventHandler GetGalleryApplicationStatusCompleted; + + /// + public event DownloadGalleryApplicationCompletedEventHandler DownloadGalleryApplicationCompleted; + + /// + public event GetGalleryApplicationParametersCompletedEventHandler GetGalleryApplicationParametersCompleted; + + /// + public event InstallGalleryApplicationCompletedEventHandler InstallGalleryApplicationCompleted; + + /// + public event CheckWebManagementAccountExistsCompletedEventHandler CheckWebManagementAccountExistsCompleted; + + /// + public event CheckWebManagementPasswordComplexityCompletedEventHandler CheckWebManagementPasswordComplexityCompleted; + + /// + public event GrantWebManagementAccessCompletedEventHandler GrantWebManagementAccessCompleted; + + /// + public event RevokeWebManagementAccessCompletedEventHandler RevokeWebManagementAccessCompleted; + + /// + public event ChangeWebManagementAccessPasswordCompletedEventHandler ChangeWebManagementAccessPasswordCompleted; + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeSiteState", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void ChangeSiteState(string siteId, ServerState state) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/generateCSR", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate generateCSR(SSLCertificate certificate) + { + object[] results = this.Invoke("generateCSR", new object[] { + certificate}); + return ((SSLCertificate)(results[0])); + } + + /// + public System.IAsyncResult BegingenerateCSR(SSLCertificate certificate, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("generateCSR", new object[] { + certificate}, callback, asyncState); + } + + /// + public SSLCertificate EndgenerateCSR(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate)(results[0])); + } + + /// + public void generateCSRAsync(SSLCertificate certificate) + { + this.generateCSRAsync(certificate, null); + } + + /// + public void generateCSRAsync(SSLCertificate certificate, object userState) + { + if ((this.generateCSROperationCompleted == null)) + { + this.generateCSROperationCompleted = new System.Threading.SendOrPostCallback(this.OngenerateCSROperationCompleted); + } + this.InvokeAsync("generateCSR", new object[] { + certificate}, this.generateCSROperationCompleted, userState); + } + + private void OngenerateCSROperationCompleted(object arg) + { + if ((this.generateCSRCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.generateCSRCompleted(this, new generateCSRCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/generateRenewalCSR", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate generateRenewalCSR(SSLCertificate certificate) + { + object[] results = this.Invoke("generateRenewalCSR", new object[] { + certificate}); + return ((SSLCertificate)(results[0])); + } + + /// + public System.IAsyncResult BegingenerateRenewalCSR(SSLCertificate certificate, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("generateRenewalCSR", new object[] { + certificate}, callback, asyncState); + } + + /// + public SSLCertificate EndgenerateRenewalCSR(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate)(results[0])); + } + + /// + public void generateRenewalCSRAsync(SSLCertificate certificate) + { + this.generateRenewalCSRAsync(certificate, null); + } + + /// + public void generateRenewalCSRAsync(SSLCertificate certificate, object userState) + { + if ((this.generateRenewalCSROperationCompleted == null)) + { + this.generateRenewalCSROperationCompleted = new System.Threading.SendOrPostCallback(this.OngenerateRenewalCSROperationCompleted); + } + this.InvokeAsync("generateRenewalCSR", new object[] { + certificate}, this.generateRenewalCSROperationCompleted, userState); + } + + private void OngenerateRenewalCSROperationCompleted(object arg) + { + if ((this.generateRenewalCSRCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.generateRenewalCSRCompleted(this, new generateRenewalCSRCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/getCertificate", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate getCertificate(WebSite site) + { + object[] results = this.Invoke("getCertificate", new object[] { + site}); + return ((SSLCertificate)(results[0])); + } + + /// + public System.IAsyncResult BegingetCertificate(WebSite site, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("getCertificate", new object[] { + site}, callback, asyncState); + } + + /// + public SSLCertificate EndgetCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate)(results[0])); + } + + /// + public void getCertificateAsync(WebSite site) + { + this.getCertificateAsync(site, null); + } + + /// + public void getCertificateAsync(WebSite site, object userState) + { + if ((this.getCertificateOperationCompleted == null)) + { + this.getCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetCertificateOperationCompleted); + } + this.InvokeAsync("getCertificate", new object[] { + site}, this.getCertificateOperationCompleted, userState); + } + + private void OngetCertificateOperationCompleted(object arg) + { + if ((this.getCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.getCertificateCompleted(this, new getCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/installCertificate", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate installCertificate(SSLCertificate certificate, WebSite website) + { + object[] results = this.Invoke("installCertificate", new object[] { + certificate, + website}); + return ((SSLCertificate)(results[0])); + } + + /// + public System.IAsyncResult BegininstallCertificate(SSLCertificate certificate, WebSite website, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("installCertificate", new object[] { + certificate, + website}, callback, asyncState); + } + + /// + public SSLCertificate EndinstallCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate)(results[0])); + } + + /// + public void installCertificateAsync(SSLCertificate certificate, WebSite website) + { + this.installCertificateAsync(certificate, website, null); + } + + /// + public void installCertificateAsync(SSLCertificate certificate, WebSite website, object userState) + { + if ((this.installCertificateOperationCompleted == null)) + { + this.installCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OninstallCertificateOperationCompleted); + } + this.InvokeAsync("installCertificate", new object[] { + certificate, + website}, this.installCertificateOperationCompleted, userState); + } + + private void OninstallCertificateOperationCompleted(object arg) + { + if ((this.installCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.installCertificateCompleted(this, new installCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/installPFX", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate installPFX([System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")] byte[] certificate, string password, WebSite website) + { + object[] results = this.Invoke("installPFX", new object[] { + certificate, + password, + website}); + return ((SSLCertificate)(results[0])); + } + + /// + public System.IAsyncResult BegininstallPFX(byte[] certificate, string password, WebSite website, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("installPFX", new object[] { + certificate, + password, + website}, callback, asyncState); + } + + /// + public SSLCertificate EndinstallPFX(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate)(results[0])); + } + + /// + public void installPFXAsync(byte[] certificate, string password, WebSite website) + { + this.installPFXAsync(certificate, password, website, null); + } + + /// + public void installPFXAsync(byte[] certificate, string password, WebSite website, object userState) + { + if ((this.installPFXOperationCompleted == null)) + { + this.installPFXOperationCompleted = new System.Threading.SendOrPostCallback(this.OninstallPFXOperationCompleted); + } + this.InvokeAsync("installPFX", new object[] { + certificate, + password, + website}, this.installPFXOperationCompleted, userState); + } + + private void OninstallPFXOperationCompleted(object arg) + { + if ((this.installPFXCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.installPFXCompleted(this, new installPFXCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/exportCertificate", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + [return: System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")] + public byte[] exportCertificate(string serialNumber, string password) + { + object[] results = this.Invoke("exportCertificate", new object[] { + serialNumber, + password}); + return ((byte[])(results[0])); + } + + /// + public System.IAsyncResult BeginexportCertificate(string serialNumber, string password, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("exportCertificate", new object[] { + serialNumber, + password}, callback, asyncState); + } + + /// + public byte[] EndexportCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((byte[])(results[0])); + } + + /// + public void exportCertificateAsync(string serialNumber, string password) + { + this.exportCertificateAsync(serialNumber, password, null); + } + + /// + public void exportCertificateAsync(string serialNumber, string password, object userState) + { + if ((this.exportCertificateOperationCompleted == null)) + { + this.exportCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnexportCertificateOperationCompleted); + } + this.InvokeAsync("exportCertificate", new object[] { + serialNumber, + password}, this.exportCertificateOperationCompleted, userState); + } + + private void OnexportCertificateOperationCompleted(object arg) + { + if ((this.exportCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.exportCertificateCompleted(this, new exportCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/getServerCertificates", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate[] getServerCertificates() + { + object[] results = this.Invoke("getServerCertificates", new object[0]); + return ((SSLCertificate[])(results[0])); + } + + /// + public System.IAsyncResult BegingetServerCertificates(System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("getServerCertificates", new object[0], callback, asyncState); + } + + /// + public SSLCertificate[] EndgetServerCertificates(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate[])(results[0])); + } + + /// + public void getServerCertificatesAsync() + { + this.getServerCertificatesAsync(null); + } + + /// + public void getServerCertificatesAsync(object userState) + { + if ((this.getServerCertificatesOperationCompleted == null)) + { + this.getServerCertificatesOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetServerCertificatesOperationCompleted); + } + this.InvokeAsync("getServerCertificates", new object[0], this.getServerCertificatesOperationCompleted, userState); + } + + private void OngetServerCertificatesOperationCompleted(object arg) + { + if ((this.getServerCertificatesCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.getServerCertificatesCompleted(this, new getServerCertificatesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteCertificate", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject DeleteCertificate(SSLCertificate certificate, WebSite website) + { + object[] results = this.Invoke("DeleteCertificate", new object[] { + certificate, + website}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteCertificate(SSLCertificate certificate, WebSite website, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("DeleteCertificate", new object[] { + certificate, + website}, callback, asyncState); + } + + /// + public ResultObject EndDeleteCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void DeleteCertificateAsync(SSLCertificate certificate, WebSite website) + { + this.DeleteCertificateAsync(certificate, website, null); + } + + /// + public void DeleteCertificateAsync(SSLCertificate certificate, WebSite website, object userState) + { + if ((this.DeleteCertificateOperationCompleted == null)) + { + this.DeleteCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteCertificateOperationCompleted); + } + this.InvokeAsync("DeleteCertificate", new object[] { + certificate, + website}, this.DeleteCertificateOperationCompleted, userState); + } + + private void OnDeleteCertificateOperationCompleted(object arg) + { + if ((this.DeleteCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteCertificateCompleted(this, new DeleteCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ImportCertificate", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public SSLCertificate ImportCertificate(WebSite website) + { + object[] results = this.Invoke("ImportCertificate", new object[] { + website}); + return ((SSLCertificate)(results[0])); + } + + /// + public System.IAsyncResult BeginImportCertificate(WebSite website, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("ImportCertificate", new object[] { + website}, callback, asyncState); + } + + /// + public SSLCertificate EndImportCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((SSLCertificate)(results[0])); + } + + /// + public void ImportCertificateAsync(WebSite website) + { + this.ImportCertificateAsync(website, null); + } + + /// + public void ImportCertificateAsync(WebSite website, object userState) + { + if ((this.ImportCertificateOperationCompleted == null)) + { + this.ImportCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnImportCertificateOperationCompleted); + } + this.InvokeAsync("ImportCertificate", new object[] { + website}, this.ImportCertificateOperationCompleted, userState); + } + + private void OnImportCertificateOperationCompleted(object arg) + { + if ((this.ImportCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ImportCertificateCompleted(this, new ImportCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckCertificate", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool CheckCertificate(WebSite webSite) + { + object[] results = this.Invoke("CheckCertificate", new object[] { + webSite}); + return ((bool)(results[0])); + } + + /// + public System.IAsyncResult BeginCheckCertificate(WebSite webSite, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("CheckCertificate", new object[] { + webSite}, callback, asyncState); + } + + /// + public bool EndCheckCertificate(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((bool)(results[0])); + } + + /// + public void CheckCertificateAsync(WebSite webSite) + { + this.CheckCertificateAsync(webSite, null); + } + + /// + public void CheckCertificateAsync(WebSite webSite, object userState) + { + if ((this.CheckCertificateOperationCompleted == null)) + { + this.CheckCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckCertificateOperationCompleted); + } + this.InvokeAsync("CheckCertificate", new object[] { + webSite}, this.CheckCertificateOperationCompleted, userState); + } + + private void OnCheckCertificateOperationCompleted(object arg) + { + if ((this.CheckCertificateCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckCertificateCompleted(this, new CheckCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetDirectoryBrowseEnabled", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool GetDirectoryBrowseEnabled(string siteId) + { + object[] results = this.Invoke("GetDirectoryBrowseEnabled", new object[] { + siteId}); + return ((bool)(results[0])); + } + + /// + public System.IAsyncResult BeginGetDirectoryBrowseEnabled(string siteId, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("GetDirectoryBrowseEnabled", new object[] { + siteId}, callback, asyncState); + } + + /// + public bool EndGetDirectoryBrowseEnabled(System.IAsyncResult asyncResult) + { + object[] results = this.EndInvoke(asyncResult); + return ((bool)(results[0])); + } + + /// + public void GetDirectoryBrowseEnabledAsync(string siteId) + { + this.GetDirectoryBrowseEnabledAsync(siteId, null); + } + + /// + public void GetDirectoryBrowseEnabledAsync(string siteId, object userState) + { + if ((this.GetDirectoryBrowseEnabledOperationCompleted == null)) + { + this.GetDirectoryBrowseEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDirectoryBrowseEnabledOperationCompleted); + } + this.InvokeAsync("GetDirectoryBrowseEnabled", new object[] { + siteId}, this.GetDirectoryBrowseEnabledOperationCompleted, userState); + } + + private void OnGetDirectoryBrowseEnabledOperationCompleted(object arg) + { + if ((this.GetDirectoryBrowseEnabledCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetDirectoryBrowseEnabledCompleted(this, new GetDirectoryBrowseEnabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetDirectoryBrowseEnabled", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void SetDirectoryBrowseEnabled(string siteId, bool enabled) + { + this.Invoke("SetDirectoryBrowseEnabled", new object[] { + siteId, + enabled}); + } + + /// + public System.IAsyncResult BeginSetDirectoryBrowseEnabled(string siteId, bool enabled, System.AsyncCallback callback, object asyncState) + { + return this.BeginInvoke("SetDirectoryBrowseEnabled", new object[] { + siteId, + enabled}, callback, asyncState); + } + + /// + public void EndSetDirectoryBrowseEnabled(System.IAsyncResult asyncResult) + { + this.EndInvoke(asyncResult); + } + + /// + public void SetDirectoryBrowseEnabledAsync(string siteId, bool enabled) + { + this.SetDirectoryBrowseEnabledAsync(siteId, enabled, null); + } + + /// + public void SetDirectoryBrowseEnabledAsync(string siteId, bool enabled, object userState) + { + if ((this.SetDirectoryBrowseEnabledOperationCompleted == null)) + { + this.SetDirectoryBrowseEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetDirectoryBrowseEnabledOperationCompleted); + } + this.InvokeAsync("SetDirectoryBrowseEnabled", new object[] { + siteId, + enabled}, this.SetDirectoryBrowseEnabledOperationCompleted, userState); + } + + private void OnSetDirectoryBrowseEnabledOperationCompleted(object arg) + { + if ((this.SetDirectoryBrowseEnabledCompleted != null)) + { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.SetDirectoryBrowseEnabledCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeSiteState", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void ChangeSiteState(string siteId, ServerState state) + { this.Invoke("ChangeSiteState", new object[] { siteId, state}); } - + /// - public System.IAsyncResult BeginChangeSiteState(string siteId, ServerState state, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginChangeSiteState(string siteId, ServerState state, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("ChangeSiteState", new object[] { siteId, state}, callback, asyncState); } - + /// - public void EndChangeSiteState(System.IAsyncResult asyncResult) { + public void EndChangeSiteState(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void ChangeSiteStateAsync(string siteId, ServerState state) { + public void ChangeSiteStateAsync(string siteId, ServerState state) + { this.ChangeSiteStateAsync(siteId, state, null); } - + /// - public void ChangeSiteStateAsync(string siteId, ServerState state, object userState) { - if ((this.ChangeSiteStateOperationCompleted == null)) { + public void ChangeSiteStateAsync(string siteId, ServerState state, object userState) + { + if ((this.ChangeSiteStateOperationCompleted == null)) + { this.ChangeSiteStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeSiteStateOperationCompleted); } this.InvokeAsync("ChangeSiteState", new object[] { siteId, state}, this.ChangeSiteStateOperationCompleted, userState); } - - private void OnChangeSiteStateOperationCompleted(object arg) { - if ((this.ChangeSiteStateCompleted != null)) { + + private void OnChangeSiteStateOperationCompleted(object arg) + { + if ((this.ChangeSiteStateCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ChangeSiteStateCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSiteState", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ServerState GetSiteState(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSiteState", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ServerState GetSiteState(string siteId) + { object[] results = this.Invoke("GetSiteState", new object[] { siteId}); return ((ServerState)(results[0])); } - + /// - public System.IAsyncResult BeginGetSiteState(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSiteState(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSiteState", new object[] { siteId}, callback, asyncState); } - + /// - public ServerState EndGetSiteState(System.IAsyncResult asyncResult) { + public ServerState EndGetSiteState(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((ServerState)(results[0])); } - + /// - public void GetSiteStateAsync(string siteId) { + public void GetSiteStateAsync(string siteId) + { this.GetSiteStateAsync(siteId, null); } - + /// - public void GetSiteStateAsync(string siteId, object userState) { - if ((this.GetSiteStateOperationCompleted == null)) { + public void GetSiteStateAsync(string siteId, object userState) + { + if ((this.GetSiteStateOperationCompleted == null)) + { this.GetSiteStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSiteStateOperationCompleted); } this.InvokeAsync("GetSiteState", new object[] { siteId}, this.GetSiteStateOperationCompleted, userState); } - - private void OnGetSiteStateOperationCompleted(object arg) { - if ((this.GetSiteStateCompleted != null)) { + + private void OnGetSiteStateOperationCompleted(object arg) + { + if ((this.GetSiteStateCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSiteStateCompleted(this, new GetSiteStateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSiteId", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public string GetSiteId(string siteName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSiteId", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetSiteId(string siteName) + { object[] results = this.Invoke("GetSiteId", new object[] { siteName}); return ((string)(results[0])); } - + /// - public System.IAsyncResult BeginGetSiteId(string siteName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSiteId(string siteName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSiteId", new object[] { siteName}, callback, asyncState); } - + /// - public string EndGetSiteId(System.IAsyncResult asyncResult) { + public string EndGetSiteId(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } - + /// - public void GetSiteIdAsync(string siteName) { + public void GetSiteIdAsync(string siteName) + { this.GetSiteIdAsync(siteName, null); } - + /// - public void GetSiteIdAsync(string siteName, object userState) { - if ((this.GetSiteIdOperationCompleted == null)) { + public void GetSiteIdAsync(string siteName, object userState) + { + if ((this.GetSiteIdOperationCompleted == null)) + { this.GetSiteIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSiteIdOperationCompleted); } this.InvokeAsync("GetSiteId", new object[] { siteName}, this.GetSiteIdOperationCompleted, userState); } - - private void OnGetSiteIdOperationCompleted(object arg) { - if ((this.GetSiteIdCompleted != null)) { + + private void OnGetSiteIdOperationCompleted(object arg) + { + if ((this.GetSiteIdCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSiteIdCompleted(this, new GetSiteIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSitesAccounts", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public string[] GetSitesAccounts(string[] siteIds) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSitesAccounts", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string[] GetSitesAccounts(string[] siteIds) + { object[] results = this.Invoke("GetSitesAccounts", new object[] { siteIds}); return ((string[])(results[0])); } - + /// - public System.IAsyncResult BeginGetSitesAccounts(string[] siteIds, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSitesAccounts(string[] siteIds, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSitesAccounts", new object[] { siteIds}, callback, asyncState); } - + /// - public string[] EndGetSitesAccounts(System.IAsyncResult asyncResult) { + public string[] EndGetSitesAccounts(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } - + /// - public void GetSitesAccountsAsync(string[] siteIds) { + public void GetSitesAccountsAsync(string[] siteIds) + { this.GetSitesAccountsAsync(siteIds, null); } - + /// - public void GetSitesAccountsAsync(string[] siteIds, object userState) { - if ((this.GetSitesAccountsOperationCompleted == null)) { + public void GetSitesAccountsAsync(string[] siteIds, object userState) + { + if ((this.GetSitesAccountsOperationCompleted == null)) + { this.GetSitesAccountsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSitesAccountsOperationCompleted); } this.InvokeAsync("GetSitesAccounts", new object[] { siteIds}, this.GetSitesAccountsOperationCompleted, userState); } - - private void OnGetSitesAccountsOperationCompleted(object arg) { - if ((this.GetSitesAccountsCompleted != null)) { + + private void OnGetSitesAccountsOperationCompleted(object arg) + { + if ((this.GetSitesAccountsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSitesAccountsCompleted(this, new GetSitesAccountsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SiteExists", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool SiteExists(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SiteExists", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool SiteExists(string siteId) + { object[] results = this.Invoke("SiteExists", new object[] { siteId}); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginSiteExists(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginSiteExists(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("SiteExists", new object[] { siteId}, callback, asyncState); } - + /// - public bool EndSiteExists(System.IAsyncResult asyncResult) { + public bool EndSiteExists(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void SiteExistsAsync(string siteId) { + public void SiteExistsAsync(string siteId) + { this.SiteExistsAsync(siteId, null); } - + /// - public void SiteExistsAsync(string siteId, object userState) { - if ((this.SiteExistsOperationCompleted == null)) { + public void SiteExistsAsync(string siteId, object userState) + { + if ((this.SiteExistsOperationCompleted == null)) + { this.SiteExistsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSiteExistsOperationCompleted); } this.InvokeAsync("SiteExists", new object[] { siteId}, this.SiteExistsOperationCompleted, userState); } - - private void OnSiteExistsOperationCompleted(object arg) { - if ((this.SiteExistsCompleted != null)) { + + private void OnSiteExistsOperationCompleted(object arg) + { + if ((this.SiteExistsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SiteExistsCompleted(this, new SiteExistsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSites", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public string[] GetSites() { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSites", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string[] GetSites() + { object[] results = this.Invoke("GetSites", new object[0]); return ((string[])(results[0])); } - + /// - public System.IAsyncResult BeginGetSites(System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSites(System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSites", new object[0], callback, asyncState); } - + /// - public string[] EndGetSites(System.IAsyncResult asyncResult) { + public string[] EndGetSites(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } - + /// - public void GetSitesAsync() { + public void GetSitesAsync() + { this.GetSitesAsync(null); } - + /// - public void GetSitesAsync(object userState) { - if ((this.GetSitesOperationCompleted == null)) { + public void GetSitesAsync(object userState) + { + if ((this.GetSitesOperationCompleted == null)) + { this.GetSitesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSitesOperationCompleted); } this.InvokeAsync("GetSites", new object[0], this.GetSitesOperationCompleted, userState); } - - private void OnGetSitesOperationCompleted(object arg) { - if ((this.GetSitesCompleted != null)) { + + private void OnGetSitesOperationCompleted(object arg) + { + if ((this.GetSitesCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSitesCompleted(this, new GetSitesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSite", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebSite GetSite(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSite", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebSite GetSite(string siteId) + { object[] results = this.Invoke("GetSite", new object[] { siteId}); return ((WebSite)(results[0])); } - + /// - public System.IAsyncResult BeginGetSite(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSite(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSite", new object[] { siteId}, callback, asyncState); } - + /// - public WebSite EndGetSite(System.IAsyncResult asyncResult) { + public WebSite EndGetSite(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebSite)(results[0])); } - + /// - public void GetSiteAsync(string siteId) { + public void GetSiteAsync(string siteId) + { this.GetSiteAsync(siteId, null); } - + /// - public void GetSiteAsync(string siteId, object userState) { - if ((this.GetSiteOperationCompleted == null)) { + public void GetSiteAsync(string siteId, object userState) + { + if ((this.GetSiteOperationCompleted == null)) + { this.GetSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSiteOperationCompleted); } this.InvokeAsync("GetSite", new object[] { siteId}, this.GetSiteOperationCompleted, userState); } - - private void OnGetSiteOperationCompleted(object arg) { - if ((this.GetSiteCompleted != null)) { + + private void OnGetSiteOperationCompleted(object arg) + { + if ((this.GetSiteCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSiteCompleted(this, new GetSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSiteBindings", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ServerBinding[] GetSiteBindings(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSiteBindings", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ServerBinding[] GetSiteBindings(string siteId) + { object[] results = this.Invoke("GetSiteBindings", new object[] { siteId}); return ((ServerBinding[])(results[0])); } - + /// - public System.IAsyncResult BeginGetSiteBindings(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetSiteBindings(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetSiteBindings", new object[] { siteId}, callback, asyncState); } - + /// - public ServerBinding[] EndGetSiteBindings(System.IAsyncResult asyncResult) { + public ServerBinding[] EndGetSiteBindings(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((ServerBinding[])(results[0])); } - + /// - public void GetSiteBindingsAsync(string siteId) { + public void GetSiteBindingsAsync(string siteId) + { this.GetSiteBindingsAsync(siteId, null); } - + /// - public void GetSiteBindingsAsync(string siteId, object userState) { - if ((this.GetSiteBindingsOperationCompleted == null)) { + public void GetSiteBindingsAsync(string siteId, object userState) + { + if ((this.GetSiteBindingsOperationCompleted == null)) + { this.GetSiteBindingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSiteBindingsOperationCompleted); } this.InvokeAsync("GetSiteBindings", new object[] { siteId}, this.GetSiteBindingsOperationCompleted, userState); } - - private void OnGetSiteBindingsOperationCompleted(object arg) { - if ((this.GetSiteBindingsCompleted != null)) { + + private void OnGetSiteBindingsOperationCompleted(object arg) + { + if ((this.GetSiteBindingsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSiteBindingsCompleted(this, new GetSiteBindingsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateSite", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public string CreateSite(WebSite site) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateSite", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string CreateSite(WebSite site) + { object[] results = this.Invoke("CreateSite", new object[] { site}); return ((string)(results[0])); } - + /// - public System.IAsyncResult BeginCreateSite(WebSite site, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginCreateSite(WebSite site, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("CreateSite", new object[] { site}, callback, asyncState); } - + /// - public string EndCreateSite(System.IAsyncResult asyncResult) { + public string EndCreateSite(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } - + /// - public void CreateSiteAsync(WebSite site) { + public void CreateSiteAsync(WebSite site) + { this.CreateSiteAsync(site, null); } - + /// - public void CreateSiteAsync(WebSite site, object userState) { - if ((this.CreateSiteOperationCompleted == null)) { + public void CreateSiteAsync(WebSite site, object userState) + { + if ((this.CreateSiteOperationCompleted == null)) + { this.CreateSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateSiteOperationCompleted); } this.InvokeAsync("CreateSite", new object[] { site}, this.CreateSiteOperationCompleted, userState); } - - private void OnCreateSiteOperationCompleted(object arg) { - if ((this.CreateSiteCompleted != null)) { + + private void OnCreateSiteOperationCompleted(object arg) + { + if ((this.CreateSiteCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CreateSiteCompleted(this, new CreateSiteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateSite", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UpdateSite(WebSite site) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateSite", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UpdateSite(WebSite site) + { this.Invoke("UpdateSite", new object[] { site}); } - + /// - public System.IAsyncResult BeginUpdateSite(WebSite site, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateSite(WebSite site, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateSite", new object[] { site}, callback, asyncState); } - + /// - public void EndUpdateSite(System.IAsyncResult asyncResult) { + public void EndUpdateSite(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UpdateSiteAsync(WebSite site) { + public void UpdateSiteAsync(WebSite site) + { this.UpdateSiteAsync(site, null); } - + /// - public void UpdateSiteAsync(WebSite site, object userState) { - if ((this.UpdateSiteOperationCompleted == null)) { + public void UpdateSiteAsync(WebSite site, object userState) + { + if ((this.UpdateSiteOperationCompleted == null)) + { this.UpdateSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSiteOperationCompleted); } this.InvokeAsync("UpdateSite", new object[] { site}, this.UpdateSiteOperationCompleted, userState); } - - private void OnUpdateSiteOperationCompleted(object arg) { - if ((this.UpdateSiteCompleted != null)) { + + private void OnUpdateSiteOperationCompleted(object arg) + { + if ((this.UpdateSiteCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateSiteCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateSiteBindings", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UpdateSiteBindings(string siteId, ServerBinding[] bindings, bool emptyBindingsAllowed) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateSiteBindings", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UpdateSiteBindings(string siteId, ServerBinding[] bindings, bool emptyBindingsAllowed) + { this.Invoke("UpdateSiteBindings", new object[] { siteId, bindings, emptyBindingsAllowed}); } - + /// - public System.IAsyncResult BeginUpdateSiteBindings(string siteId, ServerBinding[] bindings, bool emptyBindingsAllowed, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateSiteBindings(string siteId, ServerBinding[] bindings, bool emptyBindingsAllowed, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateSiteBindings", new object[] { siteId, bindings, emptyBindingsAllowed}, callback, asyncState); } - + /// - public void EndUpdateSiteBindings(System.IAsyncResult asyncResult) { + public void EndUpdateSiteBindings(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UpdateSiteBindingsAsync(string siteId, ServerBinding[] bindings, bool emptyBindingsAllowed) { + public void UpdateSiteBindingsAsync(string siteId, ServerBinding[] bindings, bool emptyBindingsAllowed) + { this.UpdateSiteBindingsAsync(siteId, bindings, emptyBindingsAllowed, null); } - + /// - public void UpdateSiteBindingsAsync(string siteId, ServerBinding[] bindings, bool emptyBindingsAllowed, object userState) { - if ((this.UpdateSiteBindingsOperationCompleted == null)) { + public void UpdateSiteBindingsAsync(string siteId, ServerBinding[] bindings, bool emptyBindingsAllowed, object userState) + { + if ((this.UpdateSiteBindingsOperationCompleted == null)) + { this.UpdateSiteBindingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSiteBindingsOperationCompleted); } this.InvokeAsync("UpdateSiteBindings", new object[] { @@ -990,514 +1704,610 @@ namespace WebsitePanel.Providers.Web { bindings, emptyBindingsAllowed}, this.UpdateSiteBindingsOperationCompleted, userState); } - - private void OnUpdateSiteBindingsOperationCompleted(object arg) { - if ((this.UpdateSiteBindingsCompleted != null)) { + + private void OnUpdateSiteBindingsOperationCompleted(object arg) + { + if ((this.UpdateSiteBindingsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateSiteBindingsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteSite", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void DeleteSite(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteSite", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void DeleteSite(string siteId) + { this.Invoke("DeleteSite", new object[] { siteId}); } - + /// - public System.IAsyncResult BeginDeleteSite(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteSite(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteSite", new object[] { siteId}, callback, asyncState); } - + /// - public void EndDeleteSite(System.IAsyncResult asyncResult) { + public void EndDeleteSite(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void DeleteSiteAsync(string siteId) { + public void DeleteSiteAsync(string siteId) + { this.DeleteSiteAsync(siteId, null); } - + /// - public void DeleteSiteAsync(string siteId, object userState) { - if ((this.DeleteSiteOperationCompleted == null)) { + public void DeleteSiteAsync(string siteId, object userState) + { + if ((this.DeleteSiteOperationCompleted == null)) + { this.DeleteSiteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSiteOperationCompleted); } this.InvokeAsync("DeleteSite", new object[] { siteId}, this.DeleteSiteOperationCompleted, userState); } - - private void OnDeleteSiteOperationCompleted(object arg) { - if ((this.DeleteSiteCompleted != null)) { + + private void OnDeleteSiteOperationCompleted(object arg) + { + if ((this.DeleteSiteCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteSiteCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeAppPoolState", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void ChangeAppPoolState(string siteId, AppPoolState state) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeAppPoolState", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void ChangeAppPoolState(string siteId, AppPoolState state) + { this.Invoke("ChangeAppPoolState", new object[] { siteId, state}); } - + /// - public System.IAsyncResult BeginChangeAppPoolState(string siteId, AppPoolState state, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginChangeAppPoolState(string siteId, AppPoolState state, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("ChangeAppPoolState", new object[] { siteId, state}, callback, asyncState); } - + /// - public void EndChangeAppPoolState(System.IAsyncResult asyncResult) { + public void EndChangeAppPoolState(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void ChangeAppPoolStateAsync(string siteId, AppPoolState state) { + public void ChangeAppPoolStateAsync(string siteId, AppPoolState state) + { this.ChangeAppPoolStateAsync(siteId, state, null); } - + /// - public void ChangeAppPoolStateAsync(string siteId, AppPoolState state, object userState) { - if ((this.ChangeAppPoolStateOperationCompleted == null)) { + public void ChangeAppPoolStateAsync(string siteId, AppPoolState state, object userState) + { + if ((this.ChangeAppPoolStateOperationCompleted == null)) + { this.ChangeAppPoolStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeAppPoolStateOperationCompleted); } this.InvokeAsync("ChangeAppPoolState", new object[] { siteId, state}, this.ChangeAppPoolStateOperationCompleted, userState); } - - private void OnChangeAppPoolStateOperationCompleted(object arg) { - if ((this.ChangeAppPoolStateCompleted != null)) { + + private void OnChangeAppPoolStateOperationCompleted(object arg) + { + if ((this.ChangeAppPoolStateCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ChangeAppPoolStateCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetAppPoolState", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public AppPoolState GetAppPoolState(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetAppPoolState", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public AppPoolState GetAppPoolState(string siteId) + { object[] results = this.Invoke("GetAppPoolState", new object[] { siteId}); return ((AppPoolState)(results[0])); } - + /// - public System.IAsyncResult BeginGetAppPoolState(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetAppPoolState(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetAppPoolState", new object[] { siteId}, callback, asyncState); } - + /// - public AppPoolState EndGetAppPoolState(System.IAsyncResult asyncResult) { + public AppPoolState EndGetAppPoolState(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((AppPoolState)(results[0])); } - + /// - public void GetAppPoolStateAsync(string siteId) { + public void GetAppPoolStateAsync(string siteId) + { this.GetAppPoolStateAsync(siteId, null); } - + /// - public void GetAppPoolStateAsync(string siteId, object userState) { - if ((this.GetAppPoolStateOperationCompleted == null)) { + public void GetAppPoolStateAsync(string siteId, object userState) + { + if ((this.GetAppPoolStateOperationCompleted == null)) + { this.GetAppPoolStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAppPoolStateOperationCompleted); } this.InvokeAsync("GetAppPoolState", new object[] { siteId}, this.GetAppPoolStateOperationCompleted, userState); } - - private void OnGetAppPoolStateOperationCompleted(object arg) { - if ((this.GetAppPoolStateCompleted != null)) { + + private void OnGetAppPoolStateOperationCompleted(object arg) + { + if ((this.GetAppPoolStateCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetAppPoolStateCompleted(this, new GetAppPoolStateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/VirtualDirectoryExists", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool VirtualDirectoryExists(string siteId, string directoryName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/VirtualDirectoryExists", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool VirtualDirectoryExists(string siteId, string directoryName) + { object[] results = this.Invoke("VirtualDirectoryExists", new object[] { siteId, directoryName}); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginVirtualDirectoryExists(string siteId, string directoryName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginVirtualDirectoryExists(string siteId, string directoryName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("VirtualDirectoryExists", new object[] { siteId, directoryName}, callback, asyncState); } - + /// - public bool EndVirtualDirectoryExists(System.IAsyncResult asyncResult) { + public bool EndVirtualDirectoryExists(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void VirtualDirectoryExistsAsync(string siteId, string directoryName) { + public void VirtualDirectoryExistsAsync(string siteId, string directoryName) + { this.VirtualDirectoryExistsAsync(siteId, directoryName, null); } - + /// - public void VirtualDirectoryExistsAsync(string siteId, string directoryName, object userState) { - if ((this.VirtualDirectoryExistsOperationCompleted == null)) { + public void VirtualDirectoryExistsAsync(string siteId, string directoryName, object userState) + { + if ((this.VirtualDirectoryExistsOperationCompleted == null)) + { this.VirtualDirectoryExistsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnVirtualDirectoryExistsOperationCompleted); } this.InvokeAsync("VirtualDirectoryExists", new object[] { siteId, directoryName}, this.VirtualDirectoryExistsOperationCompleted, userState); } - - private void OnVirtualDirectoryExistsOperationCompleted(object arg) { - if ((this.VirtualDirectoryExistsCompleted != null)) { + + private void OnVirtualDirectoryExistsOperationCompleted(object arg) + { + if ((this.VirtualDirectoryExistsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.VirtualDirectoryExistsCompleted(this, new VirtualDirectoryExistsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetVirtualDirectories", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebVirtualDirectory[] GetVirtualDirectories(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetVirtualDirectories", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebVirtualDirectory[] GetVirtualDirectories(string siteId) + { object[] results = this.Invoke("GetVirtualDirectories", new object[] { siteId}); return ((WebVirtualDirectory[])(results[0])); } - + /// - public System.IAsyncResult BeginGetVirtualDirectories(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetVirtualDirectories(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetVirtualDirectories", new object[] { siteId}, callback, asyncState); } - + /// - public WebVirtualDirectory[] EndGetVirtualDirectories(System.IAsyncResult asyncResult) { + public WebVirtualDirectory[] EndGetVirtualDirectories(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebVirtualDirectory[])(results[0])); } - + /// - public void GetVirtualDirectoriesAsync(string siteId) { + public void GetVirtualDirectoriesAsync(string siteId) + { this.GetVirtualDirectoriesAsync(siteId, null); } - + /// - public void GetVirtualDirectoriesAsync(string siteId, object userState) { - if ((this.GetVirtualDirectoriesOperationCompleted == null)) { + public void GetVirtualDirectoriesAsync(string siteId, object userState) + { + if ((this.GetVirtualDirectoriesOperationCompleted == null)) + { this.GetVirtualDirectoriesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVirtualDirectoriesOperationCompleted); } this.InvokeAsync("GetVirtualDirectories", new object[] { siteId}, this.GetVirtualDirectoriesOperationCompleted, userState); } - - private void OnGetVirtualDirectoriesOperationCompleted(object arg) { - if ((this.GetVirtualDirectoriesCompleted != null)) { + + private void OnGetVirtualDirectoriesOperationCompleted(object arg) + { + if ((this.GetVirtualDirectoriesCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetVirtualDirectoriesCompleted(this, new GetVirtualDirectoriesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetVirtualDirectory", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebVirtualDirectory GetVirtualDirectory(string siteId, string directoryName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetVirtualDirectory", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebVirtualDirectory GetVirtualDirectory(string siteId, string directoryName) + { object[] results = this.Invoke("GetVirtualDirectory", new object[] { siteId, directoryName}); return ((WebVirtualDirectory)(results[0])); } - + /// - public System.IAsyncResult BeginGetVirtualDirectory(string siteId, string directoryName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetVirtualDirectory(string siteId, string directoryName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetVirtualDirectory", new object[] { siteId, directoryName}, callback, asyncState); } - + /// - public WebVirtualDirectory EndGetVirtualDirectory(System.IAsyncResult asyncResult) { + public WebVirtualDirectory EndGetVirtualDirectory(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebVirtualDirectory)(results[0])); } - + /// - public void GetVirtualDirectoryAsync(string siteId, string directoryName) { + public void GetVirtualDirectoryAsync(string siteId, string directoryName) + { this.GetVirtualDirectoryAsync(siteId, directoryName, null); } - + /// - public void GetVirtualDirectoryAsync(string siteId, string directoryName, object userState) { - if ((this.GetVirtualDirectoryOperationCompleted == null)) { + public void GetVirtualDirectoryAsync(string siteId, string directoryName, object userState) + { + if ((this.GetVirtualDirectoryOperationCompleted == null)) + { this.GetVirtualDirectoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVirtualDirectoryOperationCompleted); } this.InvokeAsync("GetVirtualDirectory", new object[] { siteId, directoryName}, this.GetVirtualDirectoryOperationCompleted, userState); } - - private void OnGetVirtualDirectoryOperationCompleted(object arg) { - if ((this.GetVirtualDirectoryCompleted != null)) { + + private void OnGetVirtualDirectoryOperationCompleted(object arg) + { + if ((this.GetVirtualDirectoryCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetVirtualDirectoryCompleted(this, new GetVirtualDirectoryCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateVirtualDirectory", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void CreateVirtualDirectory(string siteId, WebVirtualDirectory directory) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateVirtualDirectory", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void CreateVirtualDirectory(string siteId, WebVirtualDirectory directory) + { this.Invoke("CreateVirtualDirectory", new object[] { siteId, directory}); } - + /// - public System.IAsyncResult BeginCreateVirtualDirectory(string siteId, WebVirtualDirectory directory, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginCreateVirtualDirectory(string siteId, WebVirtualDirectory directory, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("CreateVirtualDirectory", new object[] { siteId, directory}, callback, asyncState); } - + /// - public void EndCreateVirtualDirectory(System.IAsyncResult asyncResult) { + public void EndCreateVirtualDirectory(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void CreateVirtualDirectoryAsync(string siteId, WebVirtualDirectory directory) { + public void CreateVirtualDirectoryAsync(string siteId, WebVirtualDirectory directory) + { this.CreateVirtualDirectoryAsync(siteId, directory, null); } - + /// - public void CreateVirtualDirectoryAsync(string siteId, WebVirtualDirectory directory, object userState) { - if ((this.CreateVirtualDirectoryOperationCompleted == null)) { + public void CreateVirtualDirectoryAsync(string siteId, WebVirtualDirectory directory, object userState) + { + if ((this.CreateVirtualDirectoryOperationCompleted == null)) + { this.CreateVirtualDirectoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateVirtualDirectoryOperationCompleted); } this.InvokeAsync("CreateVirtualDirectory", new object[] { siteId, directory}, this.CreateVirtualDirectoryOperationCompleted, userState); } - - private void OnCreateVirtualDirectoryOperationCompleted(object arg) { - if ((this.CreateVirtualDirectoryCompleted != null)) { + + private void OnCreateVirtualDirectoryOperationCompleted(object arg) + { + if ((this.CreateVirtualDirectoryCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CreateVirtualDirectoryCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateVirtualDirectory", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UpdateVirtualDirectory(string siteId, WebVirtualDirectory directory) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateVirtualDirectory", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UpdateVirtualDirectory(string siteId, WebVirtualDirectory directory) + { this.Invoke("UpdateVirtualDirectory", new object[] { siteId, directory}); } - + /// - public System.IAsyncResult BeginUpdateVirtualDirectory(string siteId, WebVirtualDirectory directory, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateVirtualDirectory(string siteId, WebVirtualDirectory directory, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateVirtualDirectory", new object[] { siteId, directory}, callback, asyncState); } - + /// - public void EndUpdateVirtualDirectory(System.IAsyncResult asyncResult) { + public void EndUpdateVirtualDirectory(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UpdateVirtualDirectoryAsync(string siteId, WebVirtualDirectory directory) { + public void UpdateVirtualDirectoryAsync(string siteId, WebVirtualDirectory directory) + { this.UpdateVirtualDirectoryAsync(siteId, directory, null); } - + /// - public void UpdateVirtualDirectoryAsync(string siteId, WebVirtualDirectory directory, object userState) { - if ((this.UpdateVirtualDirectoryOperationCompleted == null)) { + public void UpdateVirtualDirectoryAsync(string siteId, WebVirtualDirectory directory, object userState) + { + if ((this.UpdateVirtualDirectoryOperationCompleted == null)) + { this.UpdateVirtualDirectoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateVirtualDirectoryOperationCompleted); } this.InvokeAsync("UpdateVirtualDirectory", new object[] { siteId, directory}, this.UpdateVirtualDirectoryOperationCompleted, userState); } - - private void OnUpdateVirtualDirectoryOperationCompleted(object arg) { - if ((this.UpdateVirtualDirectoryCompleted != null)) { + + private void OnUpdateVirtualDirectoryOperationCompleted(object arg) + { + if ((this.UpdateVirtualDirectoryCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateVirtualDirectoryCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteVirtualDirectory", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void DeleteVirtualDirectory(string siteId, string directoryName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteVirtualDirectory", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void DeleteVirtualDirectory(string siteId, string directoryName) + { this.Invoke("DeleteVirtualDirectory", new object[] { siteId, directoryName}); } - + /// - public System.IAsyncResult BeginDeleteVirtualDirectory(string siteId, string directoryName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteVirtualDirectory(string siteId, string directoryName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteVirtualDirectory", new object[] { siteId, directoryName}, callback, asyncState); } - + /// - public void EndDeleteVirtualDirectory(System.IAsyncResult asyncResult) { + public void EndDeleteVirtualDirectory(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void DeleteVirtualDirectoryAsync(string siteId, string directoryName) { + public void DeleteVirtualDirectoryAsync(string siteId, string directoryName) + { this.DeleteVirtualDirectoryAsync(siteId, directoryName, null); } - + /// - public void DeleteVirtualDirectoryAsync(string siteId, string directoryName, object userState) { - if ((this.DeleteVirtualDirectoryOperationCompleted == null)) { + public void DeleteVirtualDirectoryAsync(string siteId, string directoryName, object userState) + { + if ((this.DeleteVirtualDirectoryOperationCompleted == null)) + { this.DeleteVirtualDirectoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteVirtualDirectoryOperationCompleted); } this.InvokeAsync("DeleteVirtualDirectory", new object[] { siteId, directoryName}, this.DeleteVirtualDirectoryOperationCompleted, userState); } - - private void OnDeleteVirtualDirectoryOperationCompleted(object arg) { - if ((this.DeleteVirtualDirectoryCompleted != null)) { + + private void OnDeleteVirtualDirectoryOperationCompleted(object arg) + { + if ((this.DeleteVirtualDirectoryCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteVirtualDirectoryCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/IsFrontPageSystemInstalled", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool IsFrontPageSystemInstalled() { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/IsFrontPageSystemInstalled", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool IsFrontPageSystemInstalled() + { object[] results = this.Invoke("IsFrontPageSystemInstalled", new object[0]); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginIsFrontPageSystemInstalled(System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginIsFrontPageSystemInstalled(System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("IsFrontPageSystemInstalled", new object[0], callback, asyncState); } - + /// - public bool EndIsFrontPageSystemInstalled(System.IAsyncResult asyncResult) { + public bool EndIsFrontPageSystemInstalled(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void IsFrontPageSystemInstalledAsync() { + public void IsFrontPageSystemInstalledAsync() + { this.IsFrontPageSystemInstalledAsync(null); } - + /// - public void IsFrontPageSystemInstalledAsync(object userState) { - if ((this.IsFrontPageSystemInstalledOperationCompleted == null)) { + public void IsFrontPageSystemInstalledAsync(object userState) + { + if ((this.IsFrontPageSystemInstalledOperationCompleted == null)) + { this.IsFrontPageSystemInstalledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsFrontPageSystemInstalledOperationCompleted); } this.InvokeAsync("IsFrontPageSystemInstalled", new object[0], this.IsFrontPageSystemInstalledOperationCompleted, userState); } - - private void OnIsFrontPageSystemInstalledOperationCompleted(object arg) { - if ((this.IsFrontPageSystemInstalledCompleted != null)) { + + private void OnIsFrontPageSystemInstalledOperationCompleted(object arg) + { + if ((this.IsFrontPageSystemInstalledCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.IsFrontPageSystemInstalledCompleted(this, new IsFrontPageSystemInstalledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/IsFrontPageInstalled", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool IsFrontPageInstalled(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/IsFrontPageInstalled", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool IsFrontPageInstalled(string siteId) + { object[] results = this.Invoke("IsFrontPageInstalled", new object[] { siteId}); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginIsFrontPageInstalled(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginIsFrontPageInstalled(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("IsFrontPageInstalled", new object[] { siteId}, callback, asyncState); } - + /// - public bool EndIsFrontPageInstalled(System.IAsyncResult asyncResult) { + public bool EndIsFrontPageInstalled(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void IsFrontPageInstalledAsync(string siteId) { + public void IsFrontPageInstalledAsync(string siteId) + { this.IsFrontPageInstalledAsync(siteId, null); } - + /// - public void IsFrontPageInstalledAsync(string siteId, object userState) { - if ((this.IsFrontPageInstalledOperationCompleted == null)) { + public void IsFrontPageInstalledAsync(string siteId, object userState) + { + if ((this.IsFrontPageInstalledOperationCompleted == null)) + { this.IsFrontPageInstalledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsFrontPageInstalledOperationCompleted); } this.InvokeAsync("IsFrontPageInstalled", new object[] { siteId}, this.IsFrontPageInstalledOperationCompleted, userState); } - - private void OnIsFrontPageInstalledOperationCompleted(object arg) { - if ((this.IsFrontPageInstalledCompleted != null)) { + + private void OnIsFrontPageInstalledOperationCompleted(object arg) + { + if ((this.IsFrontPageInstalledCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.IsFrontPageInstalledCompleted(this, new IsFrontPageInstalledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/InstallFrontPage", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool InstallFrontPage(string siteId, string username, string password) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/InstallFrontPage", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool InstallFrontPage(string siteId, string username, string password) + { object[] results = this.Invoke("InstallFrontPage", new object[] { siteId, username, password}); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginInstallFrontPage(string siteId, string username, string password, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginInstallFrontPage(string siteId, string username, string password, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("InstallFrontPage", new object[] { siteId, username, password}, callback, asyncState); } - + /// - public bool EndInstallFrontPage(System.IAsyncResult asyncResult) { + public bool EndInstallFrontPage(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void InstallFrontPageAsync(string siteId, string username, string password) { + public void InstallFrontPageAsync(string siteId, string username, string password) + { this.InstallFrontPageAsync(siteId, username, password, null); } - + /// - public void InstallFrontPageAsync(string siteId, string username, string password, object userState) { - if ((this.InstallFrontPageOperationCompleted == null)) { + public void InstallFrontPageAsync(string siteId, string username, string password, object userState) + { + if ((this.InstallFrontPageOperationCompleted == null)) + { this.InstallFrontPageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallFrontPageOperationCompleted); } this.InvokeAsync("InstallFrontPage", new object[] { @@ -1505,170 +2315,202 @@ namespace WebsitePanel.Providers.Web { username, password}, this.InstallFrontPageOperationCompleted, userState); } - - private void OnInstallFrontPageOperationCompleted(object arg) { - if ((this.InstallFrontPageCompleted != null)) { + + private void OnInstallFrontPageOperationCompleted(object arg) + { + if ((this.InstallFrontPageCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.InstallFrontPageCompleted(this, new InstallFrontPageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UninstallFrontPage", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UninstallFrontPage(string siteId, string username) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UninstallFrontPage", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UninstallFrontPage(string siteId, string username) + { this.Invoke("UninstallFrontPage", new object[] { siteId, username}); } - + /// - public System.IAsyncResult BeginUninstallFrontPage(string siteId, string username, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUninstallFrontPage(string siteId, string username, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UninstallFrontPage", new object[] { siteId, username}, callback, asyncState); } - + /// - public void EndUninstallFrontPage(System.IAsyncResult asyncResult) { + public void EndUninstallFrontPage(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UninstallFrontPageAsync(string siteId, string username) { + public void UninstallFrontPageAsync(string siteId, string username) + { this.UninstallFrontPageAsync(siteId, username, null); } - + /// - public void UninstallFrontPageAsync(string siteId, string username, object userState) { - if ((this.UninstallFrontPageOperationCompleted == null)) { + public void UninstallFrontPageAsync(string siteId, string username, object userState) + { + if ((this.UninstallFrontPageOperationCompleted == null)) + { this.UninstallFrontPageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUninstallFrontPageOperationCompleted); } this.InvokeAsync("UninstallFrontPage", new object[] { siteId, username}, this.UninstallFrontPageOperationCompleted, userState); } - - private void OnUninstallFrontPageOperationCompleted(object arg) { - if ((this.UninstallFrontPageCompleted != null)) { + + private void OnUninstallFrontPageOperationCompleted(object arg) + { + if ((this.UninstallFrontPageCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UninstallFrontPageCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeFrontPagePassword", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void ChangeFrontPagePassword(string username, string password) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeFrontPagePassword", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void ChangeFrontPagePassword(string username, string password) + { this.Invoke("ChangeFrontPagePassword", new object[] { username, password}); } - + /// - public System.IAsyncResult BeginChangeFrontPagePassword(string username, string password, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginChangeFrontPagePassword(string username, string password, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("ChangeFrontPagePassword", new object[] { username, password}, callback, asyncState); } - + /// - public void EndChangeFrontPagePassword(System.IAsyncResult asyncResult) { + public void EndChangeFrontPagePassword(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void ChangeFrontPagePasswordAsync(string username, string password) { + public void ChangeFrontPagePasswordAsync(string username, string password) + { this.ChangeFrontPagePasswordAsync(username, password, null); } - + /// - public void ChangeFrontPagePasswordAsync(string username, string password, object userState) { - if ((this.ChangeFrontPagePasswordOperationCompleted == null)) { + public void ChangeFrontPagePasswordAsync(string username, string password, object userState) + { + if ((this.ChangeFrontPagePasswordOperationCompleted == null)) + { this.ChangeFrontPagePasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeFrontPagePasswordOperationCompleted); } this.InvokeAsync("ChangeFrontPagePassword", new object[] { username, password}, this.ChangeFrontPagePasswordOperationCompleted, userState); } - - private void OnChangeFrontPagePasswordOperationCompleted(object arg) { - if ((this.ChangeFrontPagePasswordCompleted != null)) { + + private void OnChangeFrontPagePasswordOperationCompleted(object arg) + { + if ((this.ChangeFrontPagePasswordCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ChangeFrontPagePasswordCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/IsColdFusionSystemInstalled", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool IsColdFusionSystemInstalled() { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/IsColdFusionSystemInstalled", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool IsColdFusionSystemInstalled() + { object[] results = this.Invoke("IsColdFusionSystemInstalled", new object[0]); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginIsColdFusionSystemInstalled(System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginIsColdFusionSystemInstalled(System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("IsColdFusionSystemInstalled", new object[0], callback, asyncState); } - + /// - public bool EndIsColdFusionSystemInstalled(System.IAsyncResult asyncResult) { + public bool EndIsColdFusionSystemInstalled(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void IsColdFusionSystemInstalledAsync() { + public void IsColdFusionSystemInstalledAsync() + { this.IsColdFusionSystemInstalledAsync(null); } - + /// - public void IsColdFusionSystemInstalledAsync(object userState) { - if ((this.IsColdFusionSystemInstalledOperationCompleted == null)) { + public void IsColdFusionSystemInstalledAsync(object userState) + { + if ((this.IsColdFusionSystemInstalledOperationCompleted == null)) + { this.IsColdFusionSystemInstalledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsColdFusionSystemInstalledOperationCompleted); } this.InvokeAsync("IsColdFusionSystemInstalled", new object[0], this.IsColdFusionSystemInstalledOperationCompleted, userState); } - - private void OnIsColdFusionSystemInstalledOperationCompleted(object arg) { - if ((this.IsColdFusionSystemInstalledCompleted != null)) { + + private void OnIsColdFusionSystemInstalledOperationCompleted(object arg) + { + if ((this.IsColdFusionSystemInstalledCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.IsColdFusionSystemInstalledCompleted(this, new IsColdFusionSystemInstalledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GrantWebSiteAccess", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void GrantWebSiteAccess(string path, string siteId, NTFSPermission permission) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GrantWebSiteAccess", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void GrantWebSiteAccess(string path, string siteId, NTFSPermission permission) + { this.Invoke("GrantWebSiteAccess", new object[] { path, siteId, permission}); } - + /// - public System.IAsyncResult BeginGrantWebSiteAccess(string path, string siteId, NTFSPermission permission, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGrantWebSiteAccess(string path, string siteId, NTFSPermission permission, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GrantWebSiteAccess", new object[] { path, siteId, permission}, callback, asyncState); } - + /// - public void EndGrantWebSiteAccess(System.IAsyncResult asyncResult) { + public void EndGrantWebSiteAccess(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void GrantWebSiteAccessAsync(string path, string siteId, NTFSPermission permission) { + public void GrantWebSiteAccessAsync(string path, string siteId, NTFSPermission permission) + { this.GrantWebSiteAccessAsync(path, siteId, permission, null); } - + /// - public void GrantWebSiteAccessAsync(string path, string siteId, NTFSPermission permission, object userState) { - if ((this.GrantWebSiteAccessOperationCompleted == null)) { + public void GrantWebSiteAccessAsync(string path, string siteId, NTFSPermission permission, object userState) + { + if ((this.GrantWebSiteAccessOperationCompleted == null)) + { this.GrantWebSiteAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGrantWebSiteAccessOperationCompleted); } this.InvokeAsync("GrantWebSiteAccess", new object[] { @@ -1676,1361 +2518,1617 @@ namespace WebsitePanel.Providers.Web { siteId, permission}, this.GrantWebSiteAccessOperationCompleted, userState); } - - private void OnGrantWebSiteAccessOperationCompleted(object arg) { - if ((this.GrantWebSiteAccessCompleted != null)) { + + private void OnGrantWebSiteAccessOperationCompleted(object arg) + { + if ((this.GrantWebSiteAccessCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GrantWebSiteAccessCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/InstallSecuredFolders", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void InstallSecuredFolders(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/InstallSecuredFolders", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void InstallSecuredFolders(string siteId) + { this.Invoke("InstallSecuredFolders", new object[] { siteId}); } - + /// - public System.IAsyncResult BeginInstallSecuredFolders(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginInstallSecuredFolders(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("InstallSecuredFolders", new object[] { siteId}, callback, asyncState); } - + /// - public void EndInstallSecuredFolders(System.IAsyncResult asyncResult) { + public void EndInstallSecuredFolders(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void InstallSecuredFoldersAsync(string siteId) { + public void InstallSecuredFoldersAsync(string siteId) + { this.InstallSecuredFoldersAsync(siteId, null); } - + /// - public void InstallSecuredFoldersAsync(string siteId, object userState) { - if ((this.InstallSecuredFoldersOperationCompleted == null)) { + public void InstallSecuredFoldersAsync(string siteId, object userState) + { + if ((this.InstallSecuredFoldersOperationCompleted == null)) + { this.InstallSecuredFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallSecuredFoldersOperationCompleted); } this.InvokeAsync("InstallSecuredFolders", new object[] { siteId}, this.InstallSecuredFoldersOperationCompleted, userState); } - - private void OnInstallSecuredFoldersOperationCompleted(object arg) { - if ((this.InstallSecuredFoldersCompleted != null)) { + + private void OnInstallSecuredFoldersOperationCompleted(object arg) + { + if ((this.InstallSecuredFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.InstallSecuredFoldersCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UninstallSecuredFolders", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UninstallSecuredFolders(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UninstallSecuredFolders", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UninstallSecuredFolders(string siteId) + { this.Invoke("UninstallSecuredFolders", new object[] { siteId}); } - + /// - public System.IAsyncResult BeginUninstallSecuredFolders(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUninstallSecuredFolders(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UninstallSecuredFolders", new object[] { siteId}, callback, asyncState); } - + /// - public void EndUninstallSecuredFolders(System.IAsyncResult asyncResult) { + public void EndUninstallSecuredFolders(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UninstallSecuredFoldersAsync(string siteId) { + public void UninstallSecuredFoldersAsync(string siteId) + { this.UninstallSecuredFoldersAsync(siteId, null); } - + /// - public void UninstallSecuredFoldersAsync(string siteId, object userState) { - if ((this.UninstallSecuredFoldersOperationCompleted == null)) { + public void UninstallSecuredFoldersAsync(string siteId, object userState) + { + if ((this.UninstallSecuredFoldersOperationCompleted == null)) + { this.UninstallSecuredFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUninstallSecuredFoldersOperationCompleted); } this.InvokeAsync("UninstallSecuredFolders", new object[] { siteId}, this.UninstallSecuredFoldersOperationCompleted, userState); } - - private void OnUninstallSecuredFoldersOperationCompleted(object arg) { - if ((this.UninstallSecuredFoldersCompleted != null)) { + + private void OnUninstallSecuredFoldersOperationCompleted(object arg) + { + if ((this.UninstallSecuredFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UninstallSecuredFoldersCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolders", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebFolder[] GetFolders(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolders", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebFolder[] GetFolders(string siteId) + { object[] results = this.Invoke("GetFolders", new object[] { siteId}); return ((WebFolder[])(results[0])); } - + /// - public System.IAsyncResult BeginGetFolders(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetFolders(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetFolders", new object[] { siteId}, callback, asyncState); } - + /// - public WebFolder[] EndGetFolders(System.IAsyncResult asyncResult) { + public WebFolder[] EndGetFolders(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebFolder[])(results[0])); } - + /// - public void GetFoldersAsync(string siteId) { + public void GetFoldersAsync(string siteId) + { this.GetFoldersAsync(siteId, null); } - + /// - public void GetFoldersAsync(string siteId, object userState) { - if ((this.GetFoldersOperationCompleted == null)) { + public void GetFoldersAsync(string siteId, object userState) + { + if ((this.GetFoldersOperationCompleted == null)) + { this.GetFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFoldersOperationCompleted); } this.InvokeAsync("GetFolders", new object[] { siteId}, this.GetFoldersOperationCompleted, userState); } - - private void OnGetFoldersOperationCompleted(object arg) { - if ((this.GetFoldersCompleted != null)) { + + private void OnGetFoldersOperationCompleted(object arg) + { + if ((this.GetFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetFoldersCompleted(this, new GetFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebFolder GetFolder(string siteId, string folderPath) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebFolder GetFolder(string siteId, string folderPath) + { object[] results = this.Invoke("GetFolder", new object[] { siteId, folderPath}); return ((WebFolder)(results[0])); } - + /// - public System.IAsyncResult BeginGetFolder(string siteId, string folderPath, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetFolder(string siteId, string folderPath, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetFolder", new object[] { siteId, folderPath}, callback, asyncState); } - + /// - public WebFolder EndGetFolder(System.IAsyncResult asyncResult) { + public WebFolder EndGetFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebFolder)(results[0])); } - + /// - public void GetFolderAsync(string siteId, string folderPath) { + public void GetFolderAsync(string siteId, string folderPath) + { this.GetFolderAsync(siteId, folderPath, null); } - + /// - public void GetFolderAsync(string siteId, string folderPath, object userState) { - if ((this.GetFolderOperationCompleted == null)) { + public void GetFolderAsync(string siteId, string folderPath, object userState) + { + if ((this.GetFolderOperationCompleted == null)) + { this.GetFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFolderOperationCompleted); } this.InvokeAsync("GetFolder", new object[] { siteId, folderPath}, this.GetFolderOperationCompleted, userState); } - - private void OnGetFolderOperationCompleted(object arg) { - if ((this.GetFolderCompleted != null)) { + + private void OnGetFolderOperationCompleted(object arg) + { + if ((this.GetFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetFolderCompleted(this, new GetFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UpdateFolder(string siteId, WebFolder folder) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UpdateFolder(string siteId, WebFolder folder) + { this.Invoke("UpdateFolder", new object[] { siteId, folder}); } - + /// - public System.IAsyncResult BeginUpdateFolder(string siteId, WebFolder folder, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateFolder(string siteId, WebFolder folder, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateFolder", new object[] { siteId, folder}, callback, asyncState); } - + /// - public void EndUpdateFolder(System.IAsyncResult asyncResult) { + public void EndUpdateFolder(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UpdateFolderAsync(string siteId, WebFolder folder) { + public void UpdateFolderAsync(string siteId, WebFolder folder) + { this.UpdateFolderAsync(siteId, folder, null); } - + /// - public void UpdateFolderAsync(string siteId, WebFolder folder, object userState) { - if ((this.UpdateFolderOperationCompleted == null)) { + public void UpdateFolderAsync(string siteId, WebFolder folder, object userState) + { + if ((this.UpdateFolderOperationCompleted == null)) + { this.UpdateFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateFolderOperationCompleted); } this.InvokeAsync("UpdateFolder", new object[] { siteId, folder}, this.UpdateFolderOperationCompleted, userState); } - - private void OnUpdateFolderOperationCompleted(object arg) { - if ((this.UpdateFolderCompleted != null)) { + + private void OnUpdateFolderOperationCompleted(object arg) + { + if ((this.UpdateFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateFolderCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void DeleteFolder(string siteId, string folderPath) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void DeleteFolder(string siteId, string folderPath) + { this.Invoke("DeleteFolder", new object[] { siteId, folderPath}); } - + /// - public System.IAsyncResult BeginDeleteFolder(string siteId, string folderPath, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteFolder(string siteId, string folderPath, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteFolder", new object[] { siteId, folderPath}, callback, asyncState); } - + /// - public void EndDeleteFolder(System.IAsyncResult asyncResult) { + public void EndDeleteFolder(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void DeleteFolderAsync(string siteId, string folderPath) { + public void DeleteFolderAsync(string siteId, string folderPath) + { this.DeleteFolderAsync(siteId, folderPath, null); } - + /// - public void DeleteFolderAsync(string siteId, string folderPath, object userState) { - if ((this.DeleteFolderOperationCompleted == null)) { + public void DeleteFolderAsync(string siteId, string folderPath, object userState) + { + if ((this.DeleteFolderOperationCompleted == null)) + { this.DeleteFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteFolderOperationCompleted); } this.InvokeAsync("DeleteFolder", new object[] { siteId, folderPath}, this.DeleteFolderOperationCompleted, userState); } - - private void OnDeleteFolderOperationCompleted(object arg) { - if ((this.DeleteFolderCompleted != null)) { + + private void OnDeleteFolderOperationCompleted(object arg) + { + if ((this.DeleteFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteFolderCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetUsers", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebUser[] GetUsers(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetUsers", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebUser[] GetUsers(string siteId) + { object[] results = this.Invoke("GetUsers", new object[] { siteId}); return ((WebUser[])(results[0])); } - + /// - public System.IAsyncResult BeginGetUsers(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetUsers(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetUsers", new object[] { siteId}, callback, asyncState); } - + /// - public WebUser[] EndGetUsers(System.IAsyncResult asyncResult) { + public WebUser[] EndGetUsers(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebUser[])(results[0])); } - + /// - public void GetUsersAsync(string siteId) { + public void GetUsersAsync(string siteId) + { this.GetUsersAsync(siteId, null); } - + /// - public void GetUsersAsync(string siteId, object userState) { - if ((this.GetUsersOperationCompleted == null)) { + public void GetUsersAsync(string siteId, object userState) + { + if ((this.GetUsersOperationCompleted == null)) + { this.GetUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUsersOperationCompleted); } this.InvokeAsync("GetUsers", new object[] { siteId}, this.GetUsersOperationCompleted, userState); } - - private void OnGetUsersOperationCompleted(object arg) { - if ((this.GetUsersCompleted != null)) { + + private void OnGetUsersOperationCompleted(object arg) + { + if ((this.GetUsersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetUsersCompleted(this, new GetUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetUser", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebUser GetUser(string siteId, string userName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetUser", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebUser GetUser(string siteId, string userName) + { object[] results = this.Invoke("GetUser", new object[] { siteId, userName}); return ((WebUser)(results[0])); } - + /// - public System.IAsyncResult BeginGetUser(string siteId, string userName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetUser(string siteId, string userName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetUser", new object[] { siteId, userName}, callback, asyncState); } - + /// - public WebUser EndGetUser(System.IAsyncResult asyncResult) { + public WebUser EndGetUser(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebUser)(results[0])); } - + /// - public void GetUserAsync(string siteId, string userName) { + public void GetUserAsync(string siteId, string userName) + { this.GetUserAsync(siteId, userName, null); } - + /// - public void GetUserAsync(string siteId, string userName, object userState) { - if ((this.GetUserOperationCompleted == null)) { + public void GetUserAsync(string siteId, string userName, object userState) + { + if ((this.GetUserOperationCompleted == null)) + { this.GetUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUserOperationCompleted); } this.InvokeAsync("GetUser", new object[] { siteId, userName}, this.GetUserOperationCompleted, userState); } - - private void OnGetUserOperationCompleted(object arg) { - if ((this.GetUserCompleted != null)) { + + private void OnGetUserOperationCompleted(object arg) + { + if ((this.GetUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetUserCompleted(this, new GetUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateUser", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UpdateUser(string siteId, WebUser user) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateUser", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UpdateUser(string siteId, WebUser user) + { this.Invoke("UpdateUser", new object[] { siteId, user}); } - + /// - public System.IAsyncResult BeginUpdateUser(string siteId, WebUser user, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateUser(string siteId, WebUser user, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateUser", new object[] { siteId, user}, callback, asyncState); } - + /// - public void EndUpdateUser(System.IAsyncResult asyncResult) { + public void EndUpdateUser(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UpdateUserAsync(string siteId, WebUser user) { + public void UpdateUserAsync(string siteId, WebUser user) + { this.UpdateUserAsync(siteId, user, null); } - + /// - public void UpdateUserAsync(string siteId, WebUser user, object userState) { - if ((this.UpdateUserOperationCompleted == null)) { + public void UpdateUserAsync(string siteId, WebUser user, object userState) + { + if ((this.UpdateUserOperationCompleted == null)) + { this.UpdateUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateUserOperationCompleted); } this.InvokeAsync("UpdateUser", new object[] { siteId, user}, this.UpdateUserOperationCompleted, userState); } - - private void OnUpdateUserOperationCompleted(object arg) { - if ((this.UpdateUserCompleted != null)) { + + private void OnUpdateUserOperationCompleted(object arg) + { + if ((this.UpdateUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateUserCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteUser", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void DeleteUser(string siteId, string userName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteUser", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void DeleteUser(string siteId, string userName) + { this.Invoke("DeleteUser", new object[] { siteId, userName}); } - + /// - public System.IAsyncResult BeginDeleteUser(string siteId, string userName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteUser(string siteId, string userName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteUser", new object[] { siteId, userName}, callback, asyncState); } - + /// - public void EndDeleteUser(System.IAsyncResult asyncResult) { + public void EndDeleteUser(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void DeleteUserAsync(string siteId, string userName) { + public void DeleteUserAsync(string siteId, string userName) + { this.DeleteUserAsync(siteId, userName, null); } - + /// - public void DeleteUserAsync(string siteId, string userName, object userState) { - if ((this.DeleteUserOperationCompleted == null)) { + public void DeleteUserAsync(string siteId, string userName, object userState) + { + if ((this.DeleteUserOperationCompleted == null)) + { this.DeleteUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteUserOperationCompleted); } this.InvokeAsync("DeleteUser", new object[] { siteId, userName}, this.DeleteUserOperationCompleted, userState); } - - private void OnDeleteUserOperationCompleted(object arg) { - if ((this.DeleteUserCompleted != null)) { + + private void OnDeleteUserOperationCompleted(object arg) + { + if ((this.DeleteUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteUserCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGroups", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebGroup[] GetGroups(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGroups", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebGroup[] GetGroups(string siteId) + { object[] results = this.Invoke("GetGroups", new object[] { siteId}); return ((WebGroup[])(results[0])); } - + /// - public System.IAsyncResult BeginGetGroups(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetGroups(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetGroups", new object[] { siteId}, callback, asyncState); } - + /// - public WebGroup[] EndGetGroups(System.IAsyncResult asyncResult) { + public WebGroup[] EndGetGroups(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebGroup[])(results[0])); } - + /// - public void GetGroupsAsync(string siteId) { + public void GetGroupsAsync(string siteId) + { this.GetGroupsAsync(siteId, null); } - + /// - public void GetGroupsAsync(string siteId, object userState) { - if ((this.GetGroupsOperationCompleted == null)) { + public void GetGroupsAsync(string siteId, object userState) + { + if ((this.GetGroupsOperationCompleted == null)) + { this.GetGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGroupsOperationCompleted); } this.InvokeAsync("GetGroups", new object[] { siteId}, this.GetGroupsOperationCompleted, userState); } - - private void OnGetGroupsOperationCompleted(object arg) { - if ((this.GetGroupsCompleted != null)) { + + private void OnGetGroupsOperationCompleted(object arg) + { + if ((this.GetGroupsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGroupsCompleted(this, new GetGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGroup", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebGroup GetGroup(string siteId, string groupName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGroup", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebGroup GetGroup(string siteId, string groupName) + { object[] results = this.Invoke("GetGroup", new object[] { siteId, groupName}); return ((WebGroup)(results[0])); } - + /// - public System.IAsyncResult BeginGetGroup(string siteId, string groupName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetGroup(string siteId, string groupName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetGroup", new object[] { siteId, groupName}, callback, asyncState); } - + /// - public WebGroup EndGetGroup(System.IAsyncResult asyncResult) { + public WebGroup EndGetGroup(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebGroup)(results[0])); } - + /// - public void GetGroupAsync(string siteId, string groupName) { + public void GetGroupAsync(string siteId, string groupName) + { this.GetGroupAsync(siteId, groupName, null); } - + /// - public void GetGroupAsync(string siteId, string groupName, object userState) { - if ((this.GetGroupOperationCompleted == null)) { + public void GetGroupAsync(string siteId, string groupName, object userState) + { + if ((this.GetGroupOperationCompleted == null)) + { this.GetGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGroupOperationCompleted); } this.InvokeAsync("GetGroup", new object[] { siteId, groupName}, this.GetGroupOperationCompleted, userState); } - - private void OnGetGroupOperationCompleted(object arg) { - if ((this.GetGroupCompleted != null)) { + + private void OnGetGroupOperationCompleted(object arg) + { + if ((this.GetGroupCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGroupCompleted(this, new GetGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateGroup", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UpdateGroup(string siteId, WebGroup group) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateGroup", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UpdateGroup(string siteId, WebGroup group) + { this.Invoke("UpdateGroup", new object[] { siteId, group}); } - + /// - public System.IAsyncResult BeginUpdateGroup(string siteId, WebGroup group, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateGroup(string siteId, WebGroup group, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateGroup", new object[] { siteId, group}, callback, asyncState); } - + /// - public void EndUpdateGroup(System.IAsyncResult asyncResult) { + public void EndUpdateGroup(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UpdateGroupAsync(string siteId, WebGroup group) { + public void UpdateGroupAsync(string siteId, WebGroup group) + { this.UpdateGroupAsync(siteId, group, null); } - + /// - public void UpdateGroupAsync(string siteId, WebGroup group, object userState) { - if ((this.UpdateGroupOperationCompleted == null)) { + public void UpdateGroupAsync(string siteId, WebGroup group, object userState) + { + if ((this.UpdateGroupOperationCompleted == null)) + { this.UpdateGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateGroupOperationCompleted); } this.InvokeAsync("UpdateGroup", new object[] { siteId, group}, this.UpdateGroupOperationCompleted, userState); } - - private void OnUpdateGroupOperationCompleted(object arg) { - if ((this.UpdateGroupCompleted != null)) { + + private void OnUpdateGroupOperationCompleted(object arg) + { + if ((this.UpdateGroupCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateGroupCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteGroup", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void DeleteGroup(string siteId, string groupName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteGroup", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void DeleteGroup(string siteId, string groupName) + { this.Invoke("DeleteGroup", new object[] { siteId, groupName}); } - + /// - public System.IAsyncResult BeginDeleteGroup(string siteId, string groupName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteGroup(string siteId, string groupName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteGroup", new object[] { siteId, groupName}, callback, asyncState); } - + /// - public void EndDeleteGroup(System.IAsyncResult asyncResult) { + public void EndDeleteGroup(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void DeleteGroupAsync(string siteId, string groupName) { + public void DeleteGroupAsync(string siteId, string groupName) + { this.DeleteGroupAsync(siteId, groupName, null); } - + /// - public void DeleteGroupAsync(string siteId, string groupName, object userState) { - if ((this.DeleteGroupOperationCompleted == null)) { + public void DeleteGroupAsync(string siteId, string groupName, object userState) + { + if ((this.DeleteGroupOperationCompleted == null)) + { this.DeleteGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteGroupOperationCompleted); } this.InvokeAsync("DeleteGroup", new object[] { siteId, groupName}, this.DeleteGroupOperationCompleted, userState); } - - private void OnDeleteGroupOperationCompleted(object arg) { - if ((this.DeleteGroupCompleted != null)) { + + private void OnDeleteGroupOperationCompleted(object arg) + { + if ((this.DeleteGroupCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteGroupCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeStatus", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HeliconApeStatus GetHeliconApeStatus(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeStatus", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HeliconApeStatus GetHeliconApeStatus(string siteId) + { object[] results = this.Invoke("GetHeliconApeStatus", new object[] { siteId}); return ((HeliconApeStatus)(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeStatus(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeStatus(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeStatus", new object[] { siteId}, callback, asyncState); } - + /// - public HeliconApeStatus EndGetHeliconApeStatus(System.IAsyncResult asyncResult) { + public HeliconApeStatus EndGetHeliconApeStatus(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HeliconApeStatus)(results[0])); } - + /// - public void GetHeliconApeStatusAsync(string siteId) { + public void GetHeliconApeStatusAsync(string siteId) + { this.GetHeliconApeStatusAsync(siteId, null); } - + /// - public void GetHeliconApeStatusAsync(string siteId, object userState) { - if ((this.GetHeliconApeStatusOperationCompleted == null)) { + public void GetHeliconApeStatusAsync(string siteId, object userState) + { + if ((this.GetHeliconApeStatusOperationCompleted == null)) + { this.GetHeliconApeStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeStatusOperationCompleted); } this.InvokeAsync("GetHeliconApeStatus", new object[] { siteId}, this.GetHeliconApeStatusOperationCompleted, userState); } - - private void OnGetHeliconApeStatusOperationCompleted(object arg) { - if ((this.GetHeliconApeStatusCompleted != null)) { + + private void OnGetHeliconApeStatusOperationCompleted(object arg) + { + if ((this.GetHeliconApeStatusCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeStatusCompleted(this, new GetHeliconApeStatusCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/InstallHeliconApe", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void InstallHeliconApe(string ServiceId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/InstallHeliconApe", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void InstallHeliconApe(string ServiceId) + { this.Invoke("InstallHeliconApe", new object[] { ServiceId}); } - + /// - public System.IAsyncResult BeginInstallHeliconApe(string ServiceId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginInstallHeliconApe(string ServiceId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("InstallHeliconApe", new object[] { ServiceId}, callback, asyncState); } - + /// - public void EndInstallHeliconApe(System.IAsyncResult asyncResult) { + public void EndInstallHeliconApe(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void InstallHeliconApeAsync(string ServiceId) { + public void InstallHeliconApeAsync(string ServiceId) + { this.InstallHeliconApeAsync(ServiceId, null); } - + /// - public void InstallHeliconApeAsync(string ServiceId, object userState) { - if ((this.InstallHeliconApeOperationCompleted == null)) { + public void InstallHeliconApeAsync(string ServiceId, object userState) + { + if ((this.InstallHeliconApeOperationCompleted == null)) + { this.InstallHeliconApeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallHeliconApeOperationCompleted); } this.InvokeAsync("InstallHeliconApe", new object[] { ServiceId}, this.InstallHeliconApeOperationCompleted, userState); } - - private void OnInstallHeliconApeOperationCompleted(object arg) { - if ((this.InstallHeliconApeCompleted != null)) { + + private void OnInstallHeliconApeOperationCompleted(object arg) + { + if ((this.InstallHeliconApeCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.InstallHeliconApeCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/EnableHeliconApe", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void EnableHeliconApe(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/EnableHeliconApe", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void EnableHeliconApe(string siteId) + { this.Invoke("EnableHeliconApe", new object[] { siteId}); } - + /// - public System.IAsyncResult BeginEnableHeliconApe(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginEnableHeliconApe(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("EnableHeliconApe", new object[] { siteId}, callback, asyncState); } - + /// - public void EndEnableHeliconApe(System.IAsyncResult asyncResult) { + public void EndEnableHeliconApe(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void EnableHeliconApeAsync(string siteId) { + public void EnableHeliconApeAsync(string siteId) + { this.EnableHeliconApeAsync(siteId, null); } - + /// - public void EnableHeliconApeAsync(string siteId, object userState) { - if ((this.EnableHeliconApeOperationCompleted == null)) { + public void EnableHeliconApeAsync(string siteId, object userState) + { + if ((this.EnableHeliconApeOperationCompleted == null)) + { this.EnableHeliconApeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEnableHeliconApeOperationCompleted); } this.InvokeAsync("EnableHeliconApe", new object[] { siteId}, this.EnableHeliconApeOperationCompleted, userState); } - - private void OnEnableHeliconApeOperationCompleted(object arg) { - if ((this.EnableHeliconApeCompleted != null)) { + + private void OnEnableHeliconApeOperationCompleted(object arg) + { + if ((this.EnableHeliconApeCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.EnableHeliconApeCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DisableHeliconApe", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void DisableHeliconApe(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DisableHeliconApe", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void DisableHeliconApe(string siteId) + { this.Invoke("DisableHeliconApe", new object[] { siteId}); } - + /// - public System.IAsyncResult BeginDisableHeliconApe(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDisableHeliconApe(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DisableHeliconApe", new object[] { siteId}, callback, asyncState); } - + /// - public void EndDisableHeliconApe(System.IAsyncResult asyncResult) { + public void EndDisableHeliconApe(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void DisableHeliconApeAsync(string siteId) { + public void DisableHeliconApeAsync(string siteId) + { this.DisableHeliconApeAsync(siteId, null); } - + /// - public void DisableHeliconApeAsync(string siteId, object userState) { - if ((this.DisableHeliconApeOperationCompleted == null)) { + public void DisableHeliconApeAsync(string siteId, object userState) + { + if ((this.DisableHeliconApeOperationCompleted == null)) + { this.DisableHeliconApeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDisableHeliconApeOperationCompleted); } this.InvokeAsync("DisableHeliconApe", new object[] { siteId}, this.DisableHeliconApeOperationCompleted, userState); } - - private void OnDisableHeliconApeOperationCompleted(object arg) { - if ((this.DisableHeliconApeCompleted != null)) { + + private void OnDisableHeliconApeOperationCompleted(object arg) + { + if ((this.DisableHeliconApeCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DisableHeliconApeCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeFolders", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HtaccessFolder[] GetHeliconApeFolders(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeFolders", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HtaccessFolder[] GetHeliconApeFolders(string siteId) + { object[] results = this.Invoke("GetHeliconApeFolders", new object[] { siteId}); return ((HtaccessFolder[])(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeFolders(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeFolders(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeFolders", new object[] { siteId}, callback, asyncState); } - + /// - public HtaccessFolder[] EndGetHeliconApeFolders(System.IAsyncResult asyncResult) { + public HtaccessFolder[] EndGetHeliconApeFolders(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HtaccessFolder[])(results[0])); } - + /// - public void GetHeliconApeFoldersAsync(string siteId) { + public void GetHeliconApeFoldersAsync(string siteId) + { this.GetHeliconApeFoldersAsync(siteId, null); } - + /// - public void GetHeliconApeFoldersAsync(string siteId, object userState) { - if ((this.GetHeliconApeFoldersOperationCompleted == null)) { + public void GetHeliconApeFoldersAsync(string siteId, object userState) + { + if ((this.GetHeliconApeFoldersOperationCompleted == null)) + { this.GetHeliconApeFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeFoldersOperationCompleted); } this.InvokeAsync("GetHeliconApeFolders", new object[] { siteId}, this.GetHeliconApeFoldersOperationCompleted, userState); } - - private void OnGetHeliconApeFoldersOperationCompleted(object arg) { - if ((this.GetHeliconApeFoldersCompleted != null)) { + + private void OnGetHeliconApeFoldersOperationCompleted(object arg) + { + if ((this.GetHeliconApeFoldersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeFoldersCompleted(this, new GetHeliconApeFoldersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeHttpdFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HtaccessFolder GetHeliconApeHttpdFolder() { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeHttpdFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HtaccessFolder GetHeliconApeHttpdFolder() + { object[] results = this.Invoke("GetHeliconApeHttpdFolder", new object[0]); return ((HtaccessFolder)(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeHttpdFolder(System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeHttpdFolder(System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeHttpdFolder", new object[0], callback, asyncState); } - + /// - public HtaccessFolder EndGetHeliconApeHttpdFolder(System.IAsyncResult asyncResult) { + public HtaccessFolder EndGetHeliconApeHttpdFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HtaccessFolder)(results[0])); } - + /// - public void GetHeliconApeHttpdFolderAsync() { + public void GetHeliconApeHttpdFolderAsync() + { this.GetHeliconApeHttpdFolderAsync(null); } - + /// - public void GetHeliconApeHttpdFolderAsync(object userState) { - if ((this.GetHeliconApeHttpdFolderOperationCompleted == null)) { + public void GetHeliconApeHttpdFolderAsync(object userState) + { + if ((this.GetHeliconApeHttpdFolderOperationCompleted == null)) + { this.GetHeliconApeHttpdFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeHttpdFolderOperationCompleted); } this.InvokeAsync("GetHeliconApeHttpdFolder", new object[0], this.GetHeliconApeHttpdFolderOperationCompleted, userState); } - - private void OnGetHeliconApeHttpdFolderOperationCompleted(object arg) { - if ((this.GetHeliconApeHttpdFolderCompleted != null)) { + + private void OnGetHeliconApeHttpdFolderOperationCompleted(object arg) + { + if ((this.GetHeliconApeHttpdFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeHttpdFolderCompleted(this, new GetHeliconApeHttpdFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HtaccessFolder GetHeliconApeFolder(string siteId, string folderPath) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HtaccessFolder GetHeliconApeFolder(string siteId, string folderPath) + { object[] results = this.Invoke("GetHeliconApeFolder", new object[] { siteId, folderPath}); return ((HtaccessFolder)(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeFolder(string siteId, string folderPath, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeFolder(string siteId, string folderPath, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeFolder", new object[] { siteId, folderPath}, callback, asyncState); } - + /// - public HtaccessFolder EndGetHeliconApeFolder(System.IAsyncResult asyncResult) { + public HtaccessFolder EndGetHeliconApeFolder(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HtaccessFolder)(results[0])); } - + /// - public void GetHeliconApeFolderAsync(string siteId, string folderPath) { + public void GetHeliconApeFolderAsync(string siteId, string folderPath) + { this.GetHeliconApeFolderAsync(siteId, folderPath, null); } - + /// - public void GetHeliconApeFolderAsync(string siteId, string folderPath, object userState) { - if ((this.GetHeliconApeFolderOperationCompleted == null)) { + public void GetHeliconApeFolderAsync(string siteId, string folderPath, object userState) + { + if ((this.GetHeliconApeFolderOperationCompleted == null)) + { this.GetHeliconApeFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeFolderOperationCompleted); } this.InvokeAsync("GetHeliconApeFolder", new object[] { siteId, folderPath}, this.GetHeliconApeFolderOperationCompleted, userState); } - - private void OnGetHeliconApeFolderOperationCompleted(object arg) { - if ((this.GetHeliconApeFolderCompleted != null)) { + + private void OnGetHeliconApeFolderOperationCompleted(object arg) + { + if ((this.GetHeliconApeFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeFolderCompleted(this, new GetHeliconApeFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateHeliconApeFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UpdateHeliconApeFolder(string siteId, HtaccessFolder folder) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateHeliconApeFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UpdateHeliconApeFolder(string siteId, HtaccessFolder folder) + { this.Invoke("UpdateHeliconApeFolder", new object[] { siteId, folder}); } - + /// - public System.IAsyncResult BeginUpdateHeliconApeFolder(string siteId, HtaccessFolder folder, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateHeliconApeFolder(string siteId, HtaccessFolder folder, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateHeliconApeFolder", new object[] { siteId, folder}, callback, asyncState); } - + /// - public void EndUpdateHeliconApeFolder(System.IAsyncResult asyncResult) { + public void EndUpdateHeliconApeFolder(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UpdateHeliconApeFolderAsync(string siteId, HtaccessFolder folder) { + public void UpdateHeliconApeFolderAsync(string siteId, HtaccessFolder folder) + { this.UpdateHeliconApeFolderAsync(siteId, folder, null); } - + /// - public void UpdateHeliconApeFolderAsync(string siteId, HtaccessFolder folder, object userState) { - if ((this.UpdateHeliconApeFolderOperationCompleted == null)) { + public void UpdateHeliconApeFolderAsync(string siteId, HtaccessFolder folder, object userState) + { + if ((this.UpdateHeliconApeFolderOperationCompleted == null)) + { this.UpdateHeliconApeFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateHeliconApeFolderOperationCompleted); } this.InvokeAsync("UpdateHeliconApeFolder", new object[] { siteId, folder}, this.UpdateHeliconApeFolderOperationCompleted, userState); } - - private void OnUpdateHeliconApeFolderOperationCompleted(object arg) { - if ((this.UpdateHeliconApeFolderCompleted != null)) { + + private void OnUpdateHeliconApeFolderOperationCompleted(object arg) + { + if ((this.UpdateHeliconApeFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateHeliconApeFolderCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateHeliconApeHttpdFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UpdateHeliconApeHttpdFolder(HtaccessFolder folder) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateHeliconApeHttpdFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UpdateHeliconApeHttpdFolder(HtaccessFolder folder) + { this.Invoke("UpdateHeliconApeHttpdFolder", new object[] { folder}); } - + /// - public System.IAsyncResult BeginUpdateHeliconApeHttpdFolder(HtaccessFolder folder, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateHeliconApeHttpdFolder(HtaccessFolder folder, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateHeliconApeHttpdFolder", new object[] { folder}, callback, asyncState); } - + /// - public void EndUpdateHeliconApeHttpdFolder(System.IAsyncResult asyncResult) { + public void EndUpdateHeliconApeHttpdFolder(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UpdateHeliconApeHttpdFolderAsync(HtaccessFolder folder) { + public void UpdateHeliconApeHttpdFolderAsync(HtaccessFolder folder) + { this.UpdateHeliconApeHttpdFolderAsync(folder, null); } - + /// - public void UpdateHeliconApeHttpdFolderAsync(HtaccessFolder folder, object userState) { - if ((this.UpdateHeliconApeHttpdFolderOperationCompleted == null)) { + public void UpdateHeliconApeHttpdFolderAsync(HtaccessFolder folder, object userState) + { + if ((this.UpdateHeliconApeHttpdFolderOperationCompleted == null)) + { this.UpdateHeliconApeHttpdFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateHeliconApeHttpdFolderOperationCompleted); } this.InvokeAsync("UpdateHeliconApeHttpdFolder", new object[] { folder}, this.UpdateHeliconApeHttpdFolderOperationCompleted, userState); } - - private void OnUpdateHeliconApeHttpdFolderOperationCompleted(object arg) { - if ((this.UpdateHeliconApeHttpdFolderCompleted != null)) { + + private void OnUpdateHeliconApeHttpdFolderOperationCompleted(object arg) + { + if ((this.UpdateHeliconApeHttpdFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateHeliconApeHttpdFolderCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteHeliconApeFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void DeleteHeliconApeFolder(string siteId, string folderPath) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteHeliconApeFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void DeleteHeliconApeFolder(string siteId, string folderPath) + { this.Invoke("DeleteHeliconApeFolder", new object[] { siteId, folderPath}); } - + /// - public System.IAsyncResult BeginDeleteHeliconApeFolder(string siteId, string folderPath, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteHeliconApeFolder(string siteId, string folderPath, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteHeliconApeFolder", new object[] { siteId, folderPath}, callback, asyncState); } - + /// - public void EndDeleteHeliconApeFolder(System.IAsyncResult asyncResult) { + public void EndDeleteHeliconApeFolder(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void DeleteHeliconApeFolderAsync(string siteId, string folderPath) { + public void DeleteHeliconApeFolderAsync(string siteId, string folderPath) + { this.DeleteHeliconApeFolderAsync(siteId, folderPath, null); } - + /// - public void DeleteHeliconApeFolderAsync(string siteId, string folderPath, object userState) { - if ((this.DeleteHeliconApeFolderOperationCompleted == null)) { + public void DeleteHeliconApeFolderAsync(string siteId, string folderPath, object userState) + { + if ((this.DeleteHeliconApeFolderOperationCompleted == null)) + { this.DeleteHeliconApeFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteHeliconApeFolderOperationCompleted); } this.InvokeAsync("DeleteHeliconApeFolder", new object[] { siteId, folderPath}, this.DeleteHeliconApeFolderOperationCompleted, userState); } - - private void OnDeleteHeliconApeFolderOperationCompleted(object arg) { - if ((this.DeleteHeliconApeFolderCompleted != null)) { + + private void OnDeleteHeliconApeFolderOperationCompleted(object arg) + { + if ((this.DeleteHeliconApeFolderCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteHeliconApeFolderCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeUsers", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HtaccessUser[] GetHeliconApeUsers(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeUsers", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HtaccessUser[] GetHeliconApeUsers(string siteId) + { object[] results = this.Invoke("GetHeliconApeUsers", new object[] { siteId}); return ((HtaccessUser[])(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeUsers(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeUsers(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeUsers", new object[] { siteId}, callback, asyncState); } - + /// - public HtaccessUser[] EndGetHeliconApeUsers(System.IAsyncResult asyncResult) { + public HtaccessUser[] EndGetHeliconApeUsers(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HtaccessUser[])(results[0])); } - + /// - public void GetHeliconApeUsersAsync(string siteId) { + public void GetHeliconApeUsersAsync(string siteId) + { this.GetHeliconApeUsersAsync(siteId, null); } - + /// - public void GetHeliconApeUsersAsync(string siteId, object userState) { - if ((this.GetHeliconApeUsersOperationCompleted == null)) { + public void GetHeliconApeUsersAsync(string siteId, object userState) + { + if ((this.GetHeliconApeUsersOperationCompleted == null)) + { this.GetHeliconApeUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeUsersOperationCompleted); } this.InvokeAsync("GetHeliconApeUsers", new object[] { siteId}, this.GetHeliconApeUsersOperationCompleted, userState); } - - private void OnGetHeliconApeUsersOperationCompleted(object arg) { - if ((this.GetHeliconApeUsersCompleted != null)) { + + private void OnGetHeliconApeUsersOperationCompleted(object arg) + { + if ((this.GetHeliconApeUsersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeUsersCompleted(this, new GetHeliconApeUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeUser", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public HtaccessUser GetHeliconApeUser(string siteId, string userName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeUser", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public HtaccessUser GetHeliconApeUser(string siteId, string userName) + { object[] results = this.Invoke("GetHeliconApeUser", new object[] { siteId, userName}); return ((HtaccessUser)(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeUser(string siteId, string userName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeUser(string siteId, string userName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeUser", new object[] { siteId, userName}, callback, asyncState); } - + /// - public HtaccessUser EndGetHeliconApeUser(System.IAsyncResult asyncResult) { + public HtaccessUser EndGetHeliconApeUser(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((HtaccessUser)(results[0])); } - + /// - public void GetHeliconApeUserAsync(string siteId, string userName) { + public void GetHeliconApeUserAsync(string siteId, string userName) + { this.GetHeliconApeUserAsync(siteId, userName, null); } - + /// - public void GetHeliconApeUserAsync(string siteId, string userName, object userState) { - if ((this.GetHeliconApeUserOperationCompleted == null)) { + public void GetHeliconApeUserAsync(string siteId, string userName, object userState) + { + if ((this.GetHeliconApeUserOperationCompleted == null)) + { this.GetHeliconApeUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeUserOperationCompleted); } this.InvokeAsync("GetHeliconApeUser", new object[] { siteId, userName}, this.GetHeliconApeUserOperationCompleted, userState); } - - private void OnGetHeliconApeUserOperationCompleted(object arg) { - if ((this.GetHeliconApeUserCompleted != null)) { + + private void OnGetHeliconApeUserOperationCompleted(object arg) + { + if ((this.GetHeliconApeUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeUserCompleted(this, new GetHeliconApeUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateHeliconApeUser", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UpdateHeliconApeUser(string siteId, HtaccessUser user) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateHeliconApeUser", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UpdateHeliconApeUser(string siteId, HtaccessUser user) + { this.Invoke("UpdateHeliconApeUser", new object[] { siteId, user}); } - + /// - public System.IAsyncResult BeginUpdateHeliconApeUser(string siteId, HtaccessUser user, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateHeliconApeUser(string siteId, HtaccessUser user, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateHeliconApeUser", new object[] { siteId, user}, callback, asyncState); } - + /// - public void EndUpdateHeliconApeUser(System.IAsyncResult asyncResult) { + public void EndUpdateHeliconApeUser(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UpdateHeliconApeUserAsync(string siteId, HtaccessUser user) { + public void UpdateHeliconApeUserAsync(string siteId, HtaccessUser user) + { this.UpdateHeliconApeUserAsync(siteId, user, null); } - + /// - public void UpdateHeliconApeUserAsync(string siteId, HtaccessUser user, object userState) { - if ((this.UpdateHeliconApeUserOperationCompleted == null)) { + public void UpdateHeliconApeUserAsync(string siteId, HtaccessUser user, object userState) + { + if ((this.UpdateHeliconApeUserOperationCompleted == null)) + { this.UpdateHeliconApeUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateHeliconApeUserOperationCompleted); } this.InvokeAsync("UpdateHeliconApeUser", new object[] { siteId, user}, this.UpdateHeliconApeUserOperationCompleted, userState); } - - private void OnUpdateHeliconApeUserOperationCompleted(object arg) { - if ((this.UpdateHeliconApeUserCompleted != null)) { + + private void OnUpdateHeliconApeUserOperationCompleted(object arg) + { + if ((this.UpdateHeliconApeUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateHeliconApeUserCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteHeliconApeUser", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void DeleteHeliconApeUser(string siteId, string userName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteHeliconApeUser", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void DeleteHeliconApeUser(string siteId, string userName) + { this.Invoke("DeleteHeliconApeUser", new object[] { siteId, userName}); } - + /// - public System.IAsyncResult BeginDeleteHeliconApeUser(string siteId, string userName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteHeliconApeUser(string siteId, string userName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteHeliconApeUser", new object[] { siteId, userName}, callback, asyncState); } - + /// - public void EndDeleteHeliconApeUser(System.IAsyncResult asyncResult) { + public void EndDeleteHeliconApeUser(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void DeleteHeliconApeUserAsync(string siteId, string userName) { + public void DeleteHeliconApeUserAsync(string siteId, string userName) + { this.DeleteHeliconApeUserAsync(siteId, userName, null); } - + /// - public void DeleteHeliconApeUserAsync(string siteId, string userName, object userState) { - if ((this.DeleteHeliconApeUserOperationCompleted == null)) { + public void DeleteHeliconApeUserAsync(string siteId, string userName, object userState) + { + if ((this.DeleteHeliconApeUserOperationCompleted == null)) + { this.DeleteHeliconApeUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteHeliconApeUserOperationCompleted); } this.InvokeAsync("DeleteHeliconApeUser", new object[] { siteId, userName}, this.DeleteHeliconApeUserOperationCompleted, userState); } - - private void OnDeleteHeliconApeUserOperationCompleted(object arg) { - if ((this.DeleteHeliconApeUserCompleted != null)) { + + private void OnDeleteHeliconApeUserOperationCompleted(object arg) + { + if ((this.DeleteHeliconApeUserCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteHeliconApeUserCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeGroups", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebGroup[] GetHeliconApeGroups(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeGroups", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebGroup[] GetHeliconApeGroups(string siteId) + { object[] results = this.Invoke("GetHeliconApeGroups", new object[] { siteId}); return ((WebGroup[])(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeGroups(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeGroups(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeGroups", new object[] { siteId}, callback, asyncState); } - + /// - public WebGroup[] EndGetHeliconApeGroups(System.IAsyncResult asyncResult) { + public WebGroup[] EndGetHeliconApeGroups(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebGroup[])(results[0])); } - + /// - public void GetHeliconApeGroupsAsync(string siteId) { + public void GetHeliconApeGroupsAsync(string siteId) + { this.GetHeliconApeGroupsAsync(siteId, null); } - + /// - public void GetHeliconApeGroupsAsync(string siteId, object userState) { - if ((this.GetHeliconApeGroupsOperationCompleted == null)) { + public void GetHeliconApeGroupsAsync(string siteId, object userState) + { + if ((this.GetHeliconApeGroupsOperationCompleted == null)) + { this.GetHeliconApeGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeGroupsOperationCompleted); } this.InvokeAsync("GetHeliconApeGroups", new object[] { siteId}, this.GetHeliconApeGroupsOperationCompleted, userState); } - - private void OnGetHeliconApeGroupsOperationCompleted(object arg) { - if ((this.GetHeliconApeGroupsCompleted != null)) { + + private void OnGetHeliconApeGroupsOperationCompleted(object arg) + { + if ((this.GetHeliconApeGroupsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeGroupsCompleted(this, new GetHeliconApeGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeGroup", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebGroup GetHeliconApeGroup(string siteId, string groupName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetHeliconApeGroup", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebGroup GetHeliconApeGroup(string siteId, string groupName) + { object[] results = this.Invoke("GetHeliconApeGroup", new object[] { siteId, groupName}); return ((WebGroup)(results[0])); } - + /// - public System.IAsyncResult BeginGetHeliconApeGroup(string siteId, string groupName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetHeliconApeGroup(string siteId, string groupName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetHeliconApeGroup", new object[] { siteId, groupName}, callback, asyncState); } - + /// - public WebGroup EndGetHeliconApeGroup(System.IAsyncResult asyncResult) { + public WebGroup EndGetHeliconApeGroup(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebGroup)(results[0])); } - + /// - public void GetHeliconApeGroupAsync(string siteId, string groupName) { + public void GetHeliconApeGroupAsync(string siteId, string groupName) + { this.GetHeliconApeGroupAsync(siteId, groupName, null); } - + /// - public void GetHeliconApeGroupAsync(string siteId, string groupName, object userState) { - if ((this.GetHeliconApeGroupOperationCompleted == null)) { + public void GetHeliconApeGroupAsync(string siteId, string groupName, object userState) + { + if ((this.GetHeliconApeGroupOperationCompleted == null)) + { this.GetHeliconApeGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetHeliconApeGroupOperationCompleted); } this.InvokeAsync("GetHeliconApeGroup", new object[] { siteId, groupName}, this.GetHeliconApeGroupOperationCompleted, userState); } - - private void OnGetHeliconApeGroupOperationCompleted(object arg) { - if ((this.GetHeliconApeGroupCompleted != null)) { + + private void OnGetHeliconApeGroupOperationCompleted(object arg) + { + if ((this.GetHeliconApeGroupCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetHeliconApeGroupCompleted(this, new GetHeliconApeGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateHeliconApeGroup", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void UpdateHeliconApeGroup(string siteId, WebGroup group) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateHeliconApeGroup", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void UpdateHeliconApeGroup(string siteId, WebGroup group) + { this.Invoke("UpdateHeliconApeGroup", new object[] { siteId, group}); } - + /// - public System.IAsyncResult BeginUpdateHeliconApeGroup(string siteId, WebGroup group, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginUpdateHeliconApeGroup(string siteId, WebGroup group, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("UpdateHeliconApeGroup", new object[] { siteId, group}, callback, asyncState); } - + /// - public void EndUpdateHeliconApeGroup(System.IAsyncResult asyncResult) { + public void EndUpdateHeliconApeGroup(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void UpdateHeliconApeGroupAsync(string siteId, WebGroup group) { + public void UpdateHeliconApeGroupAsync(string siteId, WebGroup group) + { this.UpdateHeliconApeGroupAsync(siteId, group, null); } - + /// - public void UpdateHeliconApeGroupAsync(string siteId, WebGroup group, object userState) { - if ((this.UpdateHeliconApeGroupOperationCompleted == null)) { + public void UpdateHeliconApeGroupAsync(string siteId, WebGroup group, object userState) + { + if ((this.UpdateHeliconApeGroupOperationCompleted == null)) + { this.UpdateHeliconApeGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateHeliconApeGroupOperationCompleted); } this.InvokeAsync("UpdateHeliconApeGroup", new object[] { siteId, group}, this.UpdateHeliconApeGroupOperationCompleted, userState); } - - private void OnUpdateHeliconApeGroupOperationCompleted(object arg) { - if ((this.UpdateHeliconApeGroupCompleted != null)) { + + private void OnUpdateHeliconApeGroupOperationCompleted(object arg) + { + if ((this.UpdateHeliconApeGroupCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateHeliconApeGroupCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GrantWebDeployPublishingAccess", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void GrantWebDeployPublishingAccess(string siteId, string accountName, string accountPassword) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GrantWebDeployPublishingAccess", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void GrantWebDeployPublishingAccess(string siteId, string accountName, string accountPassword) + { this.Invoke("GrantWebDeployPublishingAccess", new object[] { siteId, accountName, accountPassword}); } - + /// - public System.IAsyncResult BeginGrantWebDeployPublishingAccess(string siteId, string accountName, string accountPassword, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGrantWebDeployPublishingAccess(string siteId, string accountName, string accountPassword, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GrantWebDeployPublishingAccess", new object[] { siteId, accountName, accountPassword}, callback, asyncState); } - + /// - public void EndGrantWebDeployPublishingAccess(System.IAsyncResult asyncResult) { + public void EndGrantWebDeployPublishingAccess(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void GrantWebDeployPublishingAccessAsync(string siteId, string accountName, string accountPassword) { + public void GrantWebDeployPublishingAccessAsync(string siteId, string accountName, string accountPassword) + { this.GrantWebDeployPublishingAccessAsync(siteId, accountName, accountPassword, null); } - + /// - public void GrantWebDeployPublishingAccessAsync(string siteId, string accountName, string accountPassword, object userState) { - if ((this.GrantWebDeployPublishingAccessOperationCompleted == null)) { + public void GrantWebDeployPublishingAccessAsync(string siteId, string accountName, string accountPassword, object userState) + { + if ((this.GrantWebDeployPublishingAccessOperationCompleted == null)) + { this.GrantWebDeployPublishingAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGrantWebDeployPublishingAccessOperationCompleted); } this.InvokeAsync("GrantWebDeployPublishingAccess", new object[] { @@ -3038,146 +4136,173 @@ namespace WebsitePanel.Providers.Web { accountName, accountPassword}, this.GrantWebDeployPublishingAccessOperationCompleted, userState); } - - private void OnGrantWebDeployPublishingAccessOperationCompleted(object arg) { - if ((this.GrantWebDeployPublishingAccessCompleted != null)) { + + private void OnGrantWebDeployPublishingAccessOperationCompleted(object arg) + { + if ((this.GrantWebDeployPublishingAccessCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GrantWebDeployPublishingAccessCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RevokeWebDeployPublishingAccess", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void RevokeWebDeployPublishingAccess(string siteId, string accountName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RevokeWebDeployPublishingAccess", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void RevokeWebDeployPublishingAccess(string siteId, string accountName) + { this.Invoke("RevokeWebDeployPublishingAccess", new object[] { siteId, accountName}); } - + /// - public System.IAsyncResult BeginRevokeWebDeployPublishingAccess(string siteId, string accountName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginRevokeWebDeployPublishingAccess(string siteId, string accountName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("RevokeWebDeployPublishingAccess", new object[] { siteId, accountName}, callback, asyncState); } - + /// - public void EndRevokeWebDeployPublishingAccess(System.IAsyncResult asyncResult) { + public void EndRevokeWebDeployPublishingAccess(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void RevokeWebDeployPublishingAccessAsync(string siteId, string accountName) { + public void RevokeWebDeployPublishingAccessAsync(string siteId, string accountName) + { this.RevokeWebDeployPublishingAccessAsync(siteId, accountName, null); } - + /// - public void RevokeWebDeployPublishingAccessAsync(string siteId, string accountName, object userState) { - if ((this.RevokeWebDeployPublishingAccessOperationCompleted == null)) { + public void RevokeWebDeployPublishingAccessAsync(string siteId, string accountName, object userState) + { + if ((this.RevokeWebDeployPublishingAccessOperationCompleted == null)) + { this.RevokeWebDeployPublishingAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRevokeWebDeployPublishingAccessOperationCompleted); } this.InvokeAsync("RevokeWebDeployPublishingAccess", new object[] { siteId, accountName}, this.RevokeWebDeployPublishingAccessOperationCompleted, userState); } - - private void OnRevokeWebDeployPublishingAccessOperationCompleted(object arg) { - if ((this.RevokeWebDeployPublishingAccessCompleted != null)) { + + private void OnRevokeWebDeployPublishingAccessOperationCompleted(object arg) + { + if ((this.RevokeWebDeployPublishingAccessCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.RevokeWebDeployPublishingAccessCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteHeliconApeGroup", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void DeleteHeliconApeGroup(string siteId, string groupName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteHeliconApeGroup", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void DeleteHeliconApeGroup(string siteId, string groupName) + { this.Invoke("DeleteHeliconApeGroup", new object[] { siteId, groupName}); } - + /// - public System.IAsyncResult BeginDeleteHeliconApeGroup(string siteId, string groupName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDeleteHeliconApeGroup(string siteId, string groupName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DeleteHeliconApeGroup", new object[] { siteId, groupName}, callback, asyncState); } - + /// - public void EndDeleteHeliconApeGroup(System.IAsyncResult asyncResult) { + public void EndDeleteHeliconApeGroup(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void DeleteHeliconApeGroupAsync(string siteId, string groupName) { + public void DeleteHeliconApeGroupAsync(string siteId, string groupName) + { this.DeleteHeliconApeGroupAsync(siteId, groupName, null); } - + /// - public void DeleteHeliconApeGroupAsync(string siteId, string groupName, object userState) { - if ((this.DeleteHeliconApeGroupOperationCompleted == null)) { + public void DeleteHeliconApeGroupAsync(string siteId, string groupName, object userState) + { + if ((this.DeleteHeliconApeGroupOperationCompleted == null)) + { this.DeleteHeliconApeGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteHeliconApeGroupOperationCompleted); } this.InvokeAsync("DeleteHeliconApeGroup", new object[] { siteId, groupName}, this.DeleteHeliconApeGroupOperationCompleted, userState); } - - private void OnDeleteHeliconApeGroupOperationCompleted(object arg) { - if ((this.DeleteHeliconApeGroupCompleted != null)) { + + private void OnDeleteHeliconApeGroupOperationCompleted(object arg) + { + if ((this.DeleteHeliconApeGroupCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteHeliconApeGroupCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetZooApplications", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public WebVirtualDirectory[] GetZooApplications(string siteId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetZooApplications", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public WebVirtualDirectory[] GetZooApplications(string siteId) + { object[] results = this.Invoke("GetZooApplications", new object[] { siteId}); return ((WebVirtualDirectory[])(results[0])); } - + /// - public System.IAsyncResult BeginGetZooApplications(string siteId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetZooApplications(string siteId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetZooApplications", new object[] { siteId}, callback, asyncState); } - + /// - public WebVirtualDirectory[] EndGetZooApplications(System.IAsyncResult asyncResult) { + public WebVirtualDirectory[] EndGetZooApplications(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((WebVirtualDirectory[])(results[0])); } - + /// - public void GetZooApplicationsAsync(string siteId) { + public void GetZooApplicationsAsync(string siteId) + { this.GetZooApplicationsAsync(siteId, null); } - + /// - public void GetZooApplicationsAsync(string siteId, object userState) { - if ((this.GetZooApplicationsOperationCompleted == null)) { + public void GetZooApplicationsAsync(string siteId, object userState) + { + if ((this.GetZooApplicationsOperationCompleted == null)) + { this.GetZooApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetZooApplicationsOperationCompleted); } this.InvokeAsync("GetZooApplications", new object[] { siteId}, this.GetZooApplicationsOperationCompleted, userState); } - - private void OnGetZooApplicationsOperationCompleted(object arg) { - if ((this.GetZooApplicationsCompleted != null)) { + + private void OnGetZooApplicationsOperationCompleted(object arg) + { + if ((this.GetZooApplicationsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetZooApplicationsCompleted(this, new GetZooApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetZooEnvironmentVariable", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public StringResultObject SetZooEnvironmentVariable(string siteId, string appName, string envName, string envValue) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetZooEnvironmentVariable", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public StringResultObject SetZooEnvironmentVariable(string siteId, string appName, string envName, string envValue) + { object[] results = this.Invoke("SetZooEnvironmentVariable", new object[] { siteId, appName, @@ -3185,30 +4310,35 @@ namespace WebsitePanel.Providers.Web { envValue}); return ((StringResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginSetZooEnvironmentVariable(string siteId, string appName, string envName, string envValue, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginSetZooEnvironmentVariable(string siteId, string appName, string envName, string envValue, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("SetZooEnvironmentVariable", new object[] { siteId, appName, envName, envValue}, callback, asyncState); } - + /// - public StringResultObject EndSetZooEnvironmentVariable(System.IAsyncResult asyncResult) { + public StringResultObject EndSetZooEnvironmentVariable(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((StringResultObject)(results[0])); } - + /// - public void SetZooEnvironmentVariableAsync(string siteId, string appName, string envName, string envValue) { + public void SetZooEnvironmentVariableAsync(string siteId, string appName, string envName, string envValue) + { this.SetZooEnvironmentVariableAsync(siteId, appName, envName, envValue, null); } - + /// - public void SetZooEnvironmentVariableAsync(string siteId, string appName, string envName, string envValue, object userState) { - if ((this.SetZooEnvironmentVariableOperationCompleted == null)) { + public void SetZooEnvironmentVariableAsync(string siteId, string appName, string envName, string envValue, object userState) + { + if ((this.SetZooEnvironmentVariableOperationCompleted == null)) + { this.SetZooEnvironmentVariableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetZooEnvironmentVariableOperationCompleted); } this.InvokeAsync("SetZooEnvironmentVariable", new object[] { @@ -3217,663 +4347,786 @@ namespace WebsitePanel.Providers.Web { envName, envValue}, this.SetZooEnvironmentVariableOperationCompleted, userState); } - - private void OnSetZooEnvironmentVariableOperationCompleted(object arg) { - if ((this.SetZooEnvironmentVariableCompleted != null)) { + + private void OnSetZooEnvironmentVariableOperationCompleted(object arg) + { + if ((this.SetZooEnvironmentVariableCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SetZooEnvironmentVariableCompleted(this, new SetZooEnvironmentVariableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetZooConsoleEnabled", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public StringResultObject SetZooConsoleEnabled(string siteId, string appName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetZooConsoleEnabled", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public StringResultObject SetZooConsoleEnabled(string siteId, string appName) + { object[] results = this.Invoke("SetZooConsoleEnabled", new object[] { siteId, appName}); return ((StringResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginSetZooConsoleEnabled(string siteId, string appName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginSetZooConsoleEnabled(string siteId, string appName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("SetZooConsoleEnabled", new object[] { siteId, appName}, callback, asyncState); } - + /// - public StringResultObject EndSetZooConsoleEnabled(System.IAsyncResult asyncResult) { + public StringResultObject EndSetZooConsoleEnabled(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((StringResultObject)(results[0])); } - + /// - public void SetZooConsoleEnabledAsync(string siteId, string appName) { + public void SetZooConsoleEnabledAsync(string siteId, string appName) + { this.SetZooConsoleEnabledAsync(siteId, appName, null); } - + /// - public void SetZooConsoleEnabledAsync(string siteId, string appName, object userState) { - if ((this.SetZooConsoleEnabledOperationCompleted == null)) { + public void SetZooConsoleEnabledAsync(string siteId, string appName, object userState) + { + if ((this.SetZooConsoleEnabledOperationCompleted == null)) + { this.SetZooConsoleEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetZooConsoleEnabledOperationCompleted); } this.InvokeAsync("SetZooConsoleEnabled", new object[] { siteId, appName}, this.SetZooConsoleEnabledOperationCompleted, userState); } - - private void OnSetZooConsoleEnabledOperationCompleted(object arg) { - if ((this.SetZooConsoleEnabledCompleted != null)) { + + private void OnSetZooConsoleEnabledOperationCompleted(object arg) + { + if ((this.SetZooConsoleEnabledCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SetZooConsoleEnabledCompleted(this, new SetZooConsoleEnabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetZooConsoleDisabled", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public StringResultObject SetZooConsoleDisabled(string siteId, string appName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetZooConsoleDisabled", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public StringResultObject SetZooConsoleDisabled(string siteId, string appName) + { object[] results = this.Invoke("SetZooConsoleDisabled", new object[] { siteId, appName}); return ((StringResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginSetZooConsoleDisabled(string siteId, string appName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginSetZooConsoleDisabled(string siteId, string appName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("SetZooConsoleDisabled", new object[] { siteId, appName}, callback, asyncState); } - + /// - public StringResultObject EndSetZooConsoleDisabled(System.IAsyncResult asyncResult) { + public StringResultObject EndSetZooConsoleDisabled(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((StringResultObject)(results[0])); } - + /// - public void SetZooConsoleDisabledAsync(string siteId, string appName) { + public void SetZooConsoleDisabledAsync(string siteId, string appName) + { this.SetZooConsoleDisabledAsync(siteId, appName, null); } - + /// - public void SetZooConsoleDisabledAsync(string siteId, string appName, object userState) { - if ((this.SetZooConsoleDisabledOperationCompleted == null)) { + public void SetZooConsoleDisabledAsync(string siteId, string appName, object userState) + { + if ((this.SetZooConsoleDisabledOperationCompleted == null)) + { this.SetZooConsoleDisabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetZooConsoleDisabledOperationCompleted); } this.InvokeAsync("SetZooConsoleDisabled", new object[] { siteId, appName}, this.SetZooConsoleDisabledOperationCompleted, userState); } - - private void OnSetZooConsoleDisabledOperationCompleted(object arg) { - if ((this.SetZooConsoleDisabledCompleted != null)) { + + private void OnSetZooConsoleDisabledOperationCompleted(object arg) + { + if ((this.SetZooConsoleDisabledCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SetZooConsoleDisabledCompleted(this, new SetZooConsoleDisabledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckLoadUserProfile", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool CheckLoadUserProfile() { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckLoadUserProfile", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool CheckLoadUserProfile() + { object[] results = this.Invoke("CheckLoadUserProfile", new object[0]); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginCheckLoadUserProfile(System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginCheckLoadUserProfile(System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("CheckLoadUserProfile", new object[0], callback, asyncState); } - + /// - public bool EndCheckLoadUserProfile(System.IAsyncResult asyncResult) { + public bool EndCheckLoadUserProfile(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void CheckLoadUserProfileAsync() { + public void CheckLoadUserProfileAsync() + { this.CheckLoadUserProfileAsync(null); } - + /// - public void CheckLoadUserProfileAsync(object userState) { - if ((this.CheckLoadUserProfileOperationCompleted == null)) { + public void CheckLoadUserProfileAsync(object userState) + { + if ((this.CheckLoadUserProfileOperationCompleted == null)) + { this.CheckLoadUserProfileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckLoadUserProfileOperationCompleted); } this.InvokeAsync("CheckLoadUserProfile", new object[0], this.CheckLoadUserProfileOperationCompleted, userState); } - - private void OnCheckLoadUserProfileOperationCompleted(object arg) { - if ((this.CheckLoadUserProfileCompleted != null)) { + + private void OnCheckLoadUserProfileOperationCompleted(object arg) + { + if ((this.CheckLoadUserProfileCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CheckLoadUserProfileCompleted(this, new CheckLoadUserProfileCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/EnableLoadUserProfile", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void EnableLoadUserProfile() { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/EnableLoadUserProfile", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void EnableLoadUserProfile() + { this.Invoke("EnableLoadUserProfile", new object[0]); } - + /// - public System.IAsyncResult BeginEnableLoadUserProfile(System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginEnableLoadUserProfile(System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("EnableLoadUserProfile", new object[0], callback, asyncState); } - + /// - public void EndEnableLoadUserProfile(System.IAsyncResult asyncResult) { + public void EndEnableLoadUserProfile(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void EnableLoadUserProfileAsync() { + public void EnableLoadUserProfileAsync() + { this.EnableLoadUserProfileAsync(null); } - + /// - public void EnableLoadUserProfileAsync(object userState) { - if ((this.EnableLoadUserProfileOperationCompleted == null)) { + public void EnableLoadUserProfileAsync(object userState) + { + if ((this.EnableLoadUserProfileOperationCompleted == null)) + { this.EnableLoadUserProfileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEnableLoadUserProfileOperationCompleted); } this.InvokeAsync("EnableLoadUserProfile", new object[0], this.EnableLoadUserProfileOperationCompleted, userState); } - - private void OnEnableLoadUserProfileOperationCompleted(object arg) { - if ((this.EnableLoadUserProfileCompleted != null)) { + + private void OnEnableLoadUserProfileOperationCompleted(object arg) + { + if ((this.EnableLoadUserProfileCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.EnableLoadUserProfileCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/InitFeeds", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void InitFeeds(int UserId, string[] feeds) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/InitFeeds", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void InitFeeds(int UserId, string[] feeds) + { this.Invoke("InitFeeds", new object[] { UserId, feeds}); } - + /// - public System.IAsyncResult BeginInitFeeds(int UserId, string[] feeds, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginInitFeeds(int UserId, string[] feeds, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("InitFeeds", new object[] { UserId, feeds}, callback, asyncState); } - + /// - public void EndInitFeeds(System.IAsyncResult asyncResult) { + public void EndInitFeeds(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void InitFeedsAsync(int UserId, string[] feeds) { + public void InitFeedsAsync(int UserId, string[] feeds) + { this.InitFeedsAsync(UserId, feeds, null); } - + /// - public void InitFeedsAsync(int UserId, string[] feeds, object userState) { - if ((this.InitFeedsOperationCompleted == null)) { + public void InitFeedsAsync(int UserId, string[] feeds, object userState) + { + if ((this.InitFeedsOperationCompleted == null)) + { this.InitFeedsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInitFeedsOperationCompleted); } this.InvokeAsync("InitFeeds", new object[] { UserId, feeds}, this.InitFeedsOperationCompleted, userState); } - - private void OnInitFeedsOperationCompleted(object arg) { - if ((this.InitFeedsCompleted != null)) { + + private void OnInitFeedsOperationCompleted(object arg) + { + if ((this.InitFeedsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.InitFeedsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetResourceLanguage", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void SetResourceLanguage(int UserId, string resourceLanguage) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetResourceLanguage", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void SetResourceLanguage(int UserId, string resourceLanguage) + { this.Invoke("SetResourceLanguage", new object[] { UserId, resourceLanguage}); } - + /// - public System.IAsyncResult BeginSetResourceLanguage(int UserId, string resourceLanguage, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginSetResourceLanguage(int UserId, string resourceLanguage, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("SetResourceLanguage", new object[] { UserId, resourceLanguage}, callback, asyncState); } - + /// - public void EndSetResourceLanguage(System.IAsyncResult asyncResult) { + public void EndSetResourceLanguage(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void SetResourceLanguageAsync(int UserId, string resourceLanguage) { + public void SetResourceLanguageAsync(int UserId, string resourceLanguage) + { this.SetResourceLanguageAsync(UserId, resourceLanguage, null); } - + /// - public void SetResourceLanguageAsync(int UserId, string resourceLanguage, object userState) { - if ((this.SetResourceLanguageOperationCompleted == null)) { + public void SetResourceLanguageAsync(int UserId, string resourceLanguage, object userState) + { + if ((this.SetResourceLanguageOperationCompleted == null)) + { this.SetResourceLanguageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetResourceLanguageOperationCompleted); } this.InvokeAsync("SetResourceLanguage", new object[] { UserId, resourceLanguage}, this.SetResourceLanguageOperationCompleted, userState); } - - private void OnSetResourceLanguageOperationCompleted(object arg) { - if ((this.SetResourceLanguageCompleted != null)) { + + private void OnSetResourceLanguageOperationCompleted(object arg) + { + if ((this.SetResourceLanguageCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SetResourceLanguageCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryLanguages", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public GalleryLanguagesResult GetGalleryLanguages(int UserId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryLanguages", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GalleryLanguagesResult GetGalleryLanguages(int UserId) + { object[] results = this.Invoke("GetGalleryLanguages", new object[] { UserId}); return ((GalleryLanguagesResult)(results[0])); } - + /// - public System.IAsyncResult BeginGetGalleryLanguages(int UserId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetGalleryLanguages(int UserId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetGalleryLanguages", new object[] { UserId}, callback, asyncState); } - + /// - public GalleryLanguagesResult EndGetGalleryLanguages(System.IAsyncResult asyncResult) { + public GalleryLanguagesResult EndGetGalleryLanguages(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((GalleryLanguagesResult)(results[0])); } - + /// - public void GetGalleryLanguagesAsync(int UserId) { + public void GetGalleryLanguagesAsync(int UserId) + { this.GetGalleryLanguagesAsync(UserId, null); } - + /// - public void GetGalleryLanguagesAsync(int UserId, object userState) { - if ((this.GetGalleryLanguagesOperationCompleted == null)) { + public void GetGalleryLanguagesAsync(int UserId, object userState) + { + if ((this.GetGalleryLanguagesOperationCompleted == null)) + { this.GetGalleryLanguagesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryLanguagesOperationCompleted); } this.InvokeAsync("GetGalleryLanguages", new object[] { UserId}, this.GetGalleryLanguagesOperationCompleted, userState); } - - private void OnGetGalleryLanguagesOperationCompleted(object arg) { - if ((this.GetGalleryLanguagesCompleted != null)) { + + private void OnGetGalleryLanguagesOperationCompleted(object arg) + { + if ((this.GetGalleryLanguagesCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryLanguagesCompleted(this, new GetGalleryLanguagesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryCategories", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public GalleryCategoriesResult GetGalleryCategories(int UserId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryCategories", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GalleryCategoriesResult GetGalleryCategories(int UserId) + { object[] results = this.Invoke("GetGalleryCategories", new object[] { UserId}); return ((GalleryCategoriesResult)(results[0])); } - + /// - public System.IAsyncResult BeginGetGalleryCategories(int UserId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetGalleryCategories(int UserId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetGalleryCategories", new object[] { UserId}, callback, asyncState); } - + /// - public GalleryCategoriesResult EndGetGalleryCategories(System.IAsyncResult asyncResult) { + public GalleryCategoriesResult EndGetGalleryCategories(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((GalleryCategoriesResult)(results[0])); } - + /// - public void GetGalleryCategoriesAsync(int UserId) { + public void GetGalleryCategoriesAsync(int UserId) + { this.GetGalleryCategoriesAsync(UserId, null); } - + /// - public void GetGalleryCategoriesAsync(int UserId, object userState) { - if ((this.GetGalleryCategoriesOperationCompleted == null)) { + public void GetGalleryCategoriesAsync(int UserId, object userState) + { + if ((this.GetGalleryCategoriesOperationCompleted == null)) + { this.GetGalleryCategoriesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryCategoriesOperationCompleted); } this.InvokeAsync("GetGalleryCategories", new object[] { UserId}, this.GetGalleryCategoriesOperationCompleted, userState); } - - private void OnGetGalleryCategoriesOperationCompleted(object arg) { - if ((this.GetGalleryCategoriesCompleted != null)) { + + private void OnGetGalleryCategoriesOperationCompleted(object arg) + { + if ((this.GetGalleryCategoriesCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryCategoriesCompleted(this, new GetGalleryCategoriesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryApplications", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public GalleryApplicationsResult GetGalleryApplications(int UserId, string categoryId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryApplications", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GalleryApplicationsResult GetGalleryApplications(int UserId, string categoryId) + { object[] results = this.Invoke("GetGalleryApplications", new object[] { UserId, categoryId}); return ((GalleryApplicationsResult)(results[0])); } - + /// - public System.IAsyncResult BeginGetGalleryApplications(int UserId, string categoryId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetGalleryApplications(int UserId, string categoryId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetGalleryApplications", new object[] { UserId, categoryId}, callback, asyncState); } - + /// - public GalleryApplicationsResult EndGetGalleryApplications(System.IAsyncResult asyncResult) { + public GalleryApplicationsResult EndGetGalleryApplications(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((GalleryApplicationsResult)(results[0])); } - + /// - public void GetGalleryApplicationsAsync(int UserId, string categoryId) { + public void GetGalleryApplicationsAsync(int UserId, string categoryId) + { this.GetGalleryApplicationsAsync(UserId, categoryId, null); } - + /// - public void GetGalleryApplicationsAsync(int UserId, string categoryId, object userState) { - if ((this.GetGalleryApplicationsOperationCompleted == null)) { + public void GetGalleryApplicationsAsync(int UserId, string categoryId, object userState) + { + if ((this.GetGalleryApplicationsOperationCompleted == null)) + { this.GetGalleryApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationsOperationCompleted); } this.InvokeAsync("GetGalleryApplications", new object[] { UserId, categoryId}, this.GetGalleryApplicationsOperationCompleted, userState); } - - private void OnGetGalleryApplicationsOperationCompleted(object arg) { - if ((this.GetGalleryApplicationsCompleted != null)) { + + private void OnGetGalleryApplicationsOperationCompleted(object arg) + { + if ((this.GetGalleryApplicationsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationsCompleted(this, new GetGalleryApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryApplicationsFiltered", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public GalleryApplicationsResult GetGalleryApplicationsFiltered(int UserId, string pattern) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryApplicationsFiltered", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GalleryApplicationsResult GetGalleryApplicationsFiltered(int UserId, string pattern) + { object[] results = this.Invoke("GetGalleryApplicationsFiltered", new object[] { UserId, pattern}); return ((GalleryApplicationsResult)(results[0])); } - + /// - public System.IAsyncResult BeginGetGalleryApplicationsFiltered(int UserId, string pattern, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetGalleryApplicationsFiltered(int UserId, string pattern, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetGalleryApplicationsFiltered", new object[] { UserId, pattern}, callback, asyncState); } - + /// - public GalleryApplicationsResult EndGetGalleryApplicationsFiltered(System.IAsyncResult asyncResult) { + public GalleryApplicationsResult EndGetGalleryApplicationsFiltered(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((GalleryApplicationsResult)(results[0])); } - + /// - public void GetGalleryApplicationsFilteredAsync(int UserId, string pattern) { + public void GetGalleryApplicationsFilteredAsync(int UserId, string pattern) + { this.GetGalleryApplicationsFilteredAsync(UserId, pattern, null); } - + /// - public void GetGalleryApplicationsFilteredAsync(int UserId, string pattern, object userState) { - if ((this.GetGalleryApplicationsFilteredOperationCompleted == null)) { + public void GetGalleryApplicationsFilteredAsync(int UserId, string pattern, object userState) + { + if ((this.GetGalleryApplicationsFilteredOperationCompleted == null)) + { this.GetGalleryApplicationsFilteredOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationsFilteredOperationCompleted); } this.InvokeAsync("GetGalleryApplicationsFiltered", new object[] { UserId, pattern}, this.GetGalleryApplicationsFilteredOperationCompleted, userState); } - - private void OnGetGalleryApplicationsFilteredOperationCompleted(object arg) { - if ((this.GetGalleryApplicationsFilteredCompleted != null)) { + + private void OnGetGalleryApplicationsFilteredOperationCompleted(object arg) + { + if ((this.GetGalleryApplicationsFilteredCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationsFilteredCompleted(this, new GetGalleryApplicationsFilteredCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/IsMsDeployInstalled", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool IsMsDeployInstalled() { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/IsMsDeployInstalled", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool IsMsDeployInstalled() + { object[] results = this.Invoke("IsMsDeployInstalled", new object[0]); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginIsMsDeployInstalled(System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginIsMsDeployInstalled(System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("IsMsDeployInstalled", new object[0], callback, asyncState); } - + /// - public bool EndIsMsDeployInstalled(System.IAsyncResult asyncResult) { + public bool EndIsMsDeployInstalled(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void IsMsDeployInstalledAsync() { + public void IsMsDeployInstalledAsync() + { this.IsMsDeployInstalledAsync(null); } - + /// - public void IsMsDeployInstalledAsync(object userState) { - if ((this.IsMsDeployInstalledOperationCompleted == null)) { + public void IsMsDeployInstalledAsync(object userState) + { + if ((this.IsMsDeployInstalledOperationCompleted == null)) + { this.IsMsDeployInstalledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsMsDeployInstalledOperationCompleted); } this.InvokeAsync("IsMsDeployInstalled", new object[0], this.IsMsDeployInstalledOperationCompleted, userState); } - - private void OnIsMsDeployInstalledOperationCompleted(object arg) { - if ((this.IsMsDeployInstalledCompleted != null)) { + + private void OnIsMsDeployInstalledOperationCompleted(object arg) + { + if ((this.IsMsDeployInstalledCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.IsMsDeployInstalledCompleted(this, new IsMsDeployInstalledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryApplication", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public GalleryApplicationResult GetGalleryApplication(int UserId, string id) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryApplication", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GalleryApplicationResult GetGalleryApplication(int UserId, string id) + { object[] results = this.Invoke("GetGalleryApplication", new object[] { UserId, id}); return ((GalleryApplicationResult)(results[0])); } - + /// - public System.IAsyncResult BeginGetGalleryApplication(int UserId, string id, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetGalleryApplication(int UserId, string id, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetGalleryApplication", new object[] { UserId, id}, callback, asyncState); } - + /// - public GalleryApplicationResult EndGetGalleryApplication(System.IAsyncResult asyncResult) { + public GalleryApplicationResult EndGetGalleryApplication(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((GalleryApplicationResult)(results[0])); } - + /// - public void GetGalleryApplicationAsync(int UserId, string id) { + public void GetGalleryApplicationAsync(int UserId, string id) + { this.GetGalleryApplicationAsync(UserId, id, null); } - + /// - public void GetGalleryApplicationAsync(int UserId, string id, object userState) { - if ((this.GetGalleryApplicationOperationCompleted == null)) { + public void GetGalleryApplicationAsync(int UserId, string id, object userState) + { + if ((this.GetGalleryApplicationOperationCompleted == null)) + { this.GetGalleryApplicationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationOperationCompleted); } this.InvokeAsync("GetGalleryApplication", new object[] { UserId, id}, this.GetGalleryApplicationOperationCompleted, userState); } - - private void OnGetGalleryApplicationOperationCompleted(object arg) { - if ((this.GetGalleryApplicationCompleted != null)) { + + private void OnGetGalleryApplicationOperationCompleted(object arg) + { + if ((this.GetGalleryApplicationCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationCompleted(this, new GetGalleryApplicationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryApplicationStatus", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public GalleryWebAppStatus GetGalleryApplicationStatus(int UserId, string id) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryApplicationStatus", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GalleryWebAppStatus GetGalleryApplicationStatus(int UserId, string id) + { object[] results = this.Invoke("GetGalleryApplicationStatus", new object[] { UserId, id}); return ((GalleryWebAppStatus)(results[0])); } - + /// - public System.IAsyncResult BeginGetGalleryApplicationStatus(int UserId, string id, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetGalleryApplicationStatus(int UserId, string id, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetGalleryApplicationStatus", new object[] { UserId, id}, callback, asyncState); } - + /// - public GalleryWebAppStatus EndGetGalleryApplicationStatus(System.IAsyncResult asyncResult) { + public GalleryWebAppStatus EndGetGalleryApplicationStatus(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((GalleryWebAppStatus)(results[0])); } - + /// - public void GetGalleryApplicationStatusAsync(int UserId, string id) { + public void GetGalleryApplicationStatusAsync(int UserId, string id) + { this.GetGalleryApplicationStatusAsync(UserId, id, null); } - + /// - public void GetGalleryApplicationStatusAsync(int UserId, string id, object userState) { - if ((this.GetGalleryApplicationStatusOperationCompleted == null)) { + public void GetGalleryApplicationStatusAsync(int UserId, string id, object userState) + { + if ((this.GetGalleryApplicationStatusOperationCompleted == null)) + { this.GetGalleryApplicationStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationStatusOperationCompleted); } this.InvokeAsync("GetGalleryApplicationStatus", new object[] { UserId, id}, this.GetGalleryApplicationStatusOperationCompleted, userState); } - - private void OnGetGalleryApplicationStatusOperationCompleted(object arg) { - if ((this.GetGalleryApplicationStatusCompleted != null)) { + + private void OnGetGalleryApplicationStatusOperationCompleted(object arg) + { + if ((this.GetGalleryApplicationStatusCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationStatusCompleted(this, new GetGalleryApplicationStatusCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DownloadGalleryApplication", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public GalleryWebAppStatus DownloadGalleryApplication(int UserId, string id) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DownloadGalleryApplication", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public GalleryWebAppStatus DownloadGalleryApplication(int UserId, string id) + { object[] results = this.Invoke("DownloadGalleryApplication", new object[] { UserId, id}); return ((GalleryWebAppStatus)(results[0])); } - + /// - public System.IAsyncResult BeginDownloadGalleryApplication(int UserId, string id, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginDownloadGalleryApplication(int UserId, string id, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("DownloadGalleryApplication", new object[] { UserId, id}, callback, asyncState); } - + /// - public GalleryWebAppStatus EndDownloadGalleryApplication(System.IAsyncResult asyncResult) { + public GalleryWebAppStatus EndDownloadGalleryApplication(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((GalleryWebAppStatus)(results[0])); } - + /// - public void DownloadGalleryApplicationAsync(int UserId, string id) { + public void DownloadGalleryApplicationAsync(int UserId, string id) + { this.DownloadGalleryApplicationAsync(UserId, id, null); } - + /// - public void DownloadGalleryApplicationAsync(int UserId, string id, object userState) { - if ((this.DownloadGalleryApplicationOperationCompleted == null)) { + public void DownloadGalleryApplicationAsync(int UserId, string id, object userState) + { + if ((this.DownloadGalleryApplicationOperationCompleted == null)) + { this.DownloadGalleryApplicationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDownloadGalleryApplicationOperationCompleted); } this.InvokeAsync("DownloadGalleryApplication", new object[] { UserId, id}, this.DownloadGalleryApplicationOperationCompleted, userState); } - - private void OnDownloadGalleryApplicationOperationCompleted(object arg) { - if ((this.DownloadGalleryApplicationCompleted != null)) { + + private void OnDownloadGalleryApplicationOperationCompleted(object arg) + { + if ((this.DownloadGalleryApplicationCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DownloadGalleryApplicationCompleted(this, new DownloadGalleryApplicationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryApplicationParameters", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public DeploymentParametersResult GetGalleryApplicationParameters(int UserId, string id) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGalleryApplicationParameters", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public DeploymentParametersResult GetGalleryApplicationParameters(int UserId, string id) + { object[] results = this.Invoke("GetGalleryApplicationParameters", new object[] { UserId, id}); return ((DeploymentParametersResult)(results[0])); } - + /// - public System.IAsyncResult BeginGetGalleryApplicationParameters(int UserId, string id, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGetGalleryApplicationParameters(int UserId, string id, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GetGalleryApplicationParameters", new object[] { UserId, id}, callback, asyncState); } - + /// - public DeploymentParametersResult EndGetGalleryApplicationParameters(System.IAsyncResult asyncResult) { + public DeploymentParametersResult EndGetGalleryApplicationParameters(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((DeploymentParametersResult)(results[0])); } - + /// - public void GetGalleryApplicationParametersAsync(int UserId, string id) { + public void GetGalleryApplicationParametersAsync(int UserId, string id) + { this.GetGalleryApplicationParametersAsync(UserId, id, null); } - + /// - public void GetGalleryApplicationParametersAsync(int UserId, string id, object userState) { - if ((this.GetGalleryApplicationParametersOperationCompleted == null)) { + public void GetGalleryApplicationParametersAsync(int UserId, string id, object userState) + { + if ((this.GetGalleryApplicationParametersOperationCompleted == null)) + { this.GetGalleryApplicationParametersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGalleryApplicationParametersOperationCompleted); } this.InvokeAsync("GetGalleryApplicationParameters", new object[] { UserId, id}, this.GetGalleryApplicationParametersOperationCompleted, userState); } - - private void OnGetGalleryApplicationParametersOperationCompleted(object arg) { - if ((this.GetGalleryApplicationParametersCompleted != null)) { + + private void OnGetGalleryApplicationParametersOperationCompleted(object arg) + { + if ((this.GetGalleryApplicationParametersCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetGalleryApplicationParametersCompleted(this, new GetGalleryApplicationParametersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/InstallGalleryApplication", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public StringResultObject InstallGalleryApplication(int UserId, string id, DeploymentParameter[] updatedValues, string languageId) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/InstallGalleryApplication", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public StringResultObject InstallGalleryApplication(int UserId, string id, DeploymentParameter[] updatedValues, string languageId) + { object[] results = this.Invoke("InstallGalleryApplication", new object[] { UserId, id, @@ -3881,30 +5134,35 @@ namespace WebsitePanel.Providers.Web { languageId}); return ((StringResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginInstallGalleryApplication(int UserId, string id, DeploymentParameter[] updatedValues, string languageId, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginInstallGalleryApplication(int UserId, string id, DeploymentParameter[] updatedValues, string languageId, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("InstallGalleryApplication", new object[] { UserId, id, updatedValues, languageId}, callback, asyncState); } - + /// - public StringResultObject EndInstallGalleryApplication(System.IAsyncResult asyncResult) { + public StringResultObject EndInstallGalleryApplication(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((StringResultObject)(results[0])); } - + /// - public void InstallGalleryApplicationAsync(int UserId, string id, DeploymentParameter[] updatedValues, string languageId) { + public void InstallGalleryApplicationAsync(int UserId, string id, DeploymentParameter[] updatedValues, string languageId) + { this.InstallGalleryApplicationAsync(UserId, id, updatedValues, languageId, null); } - + /// - public void InstallGalleryApplicationAsync(int UserId, string id, DeploymentParameter[] updatedValues, string languageId, object userState) { - if ((this.InstallGalleryApplicationOperationCompleted == null)) { + public void InstallGalleryApplicationAsync(int UserId, string id, DeploymentParameter[] updatedValues, string languageId, object userState) + { + if ((this.InstallGalleryApplicationOperationCompleted == null)) + { this.InstallGalleryApplicationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallGalleryApplicationOperationCompleted); } this.InvokeAsync("InstallGalleryApplication", new object[] { @@ -3913,129 +5171,153 @@ namespace WebsitePanel.Providers.Web { updatedValues, languageId}, this.InstallGalleryApplicationOperationCompleted, userState); } - - private void OnInstallGalleryApplicationOperationCompleted(object arg) { - if ((this.InstallGalleryApplicationCompleted != null)) { + + private void OnInstallGalleryApplicationOperationCompleted(object arg) + { + if ((this.InstallGalleryApplicationCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.InstallGalleryApplicationCompleted(this, new InstallGalleryApplicationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckWebManagementAccountExists", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool CheckWebManagementAccountExists(string accountName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckWebManagementAccountExists", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool CheckWebManagementAccountExists(string accountName) + { object[] results = this.Invoke("CheckWebManagementAccountExists", new object[] { accountName}); return ((bool)(results[0])); } - + /// - public System.IAsyncResult BeginCheckWebManagementAccountExists(string accountName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginCheckWebManagementAccountExists(string accountName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("CheckWebManagementAccountExists", new object[] { accountName}, callback, asyncState); } - + /// - public bool EndCheckWebManagementAccountExists(System.IAsyncResult asyncResult) { + public bool EndCheckWebManagementAccountExists(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } - + /// - public void CheckWebManagementAccountExistsAsync(string accountName) { + public void CheckWebManagementAccountExistsAsync(string accountName) + { this.CheckWebManagementAccountExistsAsync(accountName, null); } - + /// - public void CheckWebManagementAccountExistsAsync(string accountName, object userState) { - if ((this.CheckWebManagementAccountExistsOperationCompleted == null)) { + public void CheckWebManagementAccountExistsAsync(string accountName, object userState) + { + if ((this.CheckWebManagementAccountExistsOperationCompleted == null)) + { this.CheckWebManagementAccountExistsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckWebManagementAccountExistsOperationCompleted); } this.InvokeAsync("CheckWebManagementAccountExists", new object[] { accountName}, this.CheckWebManagementAccountExistsOperationCompleted, userState); } - - private void OnCheckWebManagementAccountExistsOperationCompleted(object arg) { - if ((this.CheckWebManagementAccountExistsCompleted != null)) { + + private void OnCheckWebManagementAccountExistsOperationCompleted(object arg) + { + if ((this.CheckWebManagementAccountExistsCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CheckWebManagementAccountExistsCompleted(this, new CheckWebManagementAccountExistsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckWebManagementPasswordComplexity", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject CheckWebManagementPasswordComplexity(string accountPassword) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckWebManagementPasswordComplexity", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ResultObject CheckWebManagementPasswordComplexity(string accountPassword) + { object[] results = this.Invoke("CheckWebManagementPasswordComplexity", new object[] { accountPassword}); return ((ResultObject)(results[0])); } - + /// - public System.IAsyncResult BeginCheckWebManagementPasswordComplexity(string accountPassword, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginCheckWebManagementPasswordComplexity(string accountPassword, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("CheckWebManagementPasswordComplexity", new object[] { accountPassword}, callback, asyncState); } - + /// - public ResultObject EndCheckWebManagementPasswordComplexity(System.IAsyncResult asyncResult) { + public ResultObject EndCheckWebManagementPasswordComplexity(System.IAsyncResult asyncResult) + { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } - + /// - public void CheckWebManagementPasswordComplexityAsync(string accountPassword) { + public void CheckWebManagementPasswordComplexityAsync(string accountPassword) + { this.CheckWebManagementPasswordComplexityAsync(accountPassword, null); } - + /// - public void CheckWebManagementPasswordComplexityAsync(string accountPassword, object userState) { - if ((this.CheckWebManagementPasswordComplexityOperationCompleted == null)) { + public void CheckWebManagementPasswordComplexityAsync(string accountPassword, object userState) + { + if ((this.CheckWebManagementPasswordComplexityOperationCompleted == null)) + { this.CheckWebManagementPasswordComplexityOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckWebManagementPasswordComplexityOperationCompleted); } this.InvokeAsync("CheckWebManagementPasswordComplexity", new object[] { accountPassword}, this.CheckWebManagementPasswordComplexityOperationCompleted, userState); } - - private void OnCheckWebManagementPasswordComplexityOperationCompleted(object arg) { - if ((this.CheckWebManagementPasswordComplexityCompleted != null)) { + + private void OnCheckWebManagementPasswordComplexityOperationCompleted(object arg) + { + if ((this.CheckWebManagementPasswordComplexityCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CheckWebManagementPasswordComplexityCompleted(this, new CheckWebManagementPasswordComplexityCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GrantWebManagementAccess", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void GrantWebManagementAccess(string siteId, string accountName, string accountPassword) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GrantWebManagementAccess", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void GrantWebManagementAccess(string siteId, string accountName, string accountPassword) + { this.Invoke("GrantWebManagementAccess", new object[] { siteId, accountName, accountPassword}); } - + /// - public System.IAsyncResult BeginGrantWebManagementAccess(string siteId, string accountName, string accountPassword, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginGrantWebManagementAccess(string siteId, string accountName, string accountPassword, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("GrantWebManagementAccess", new object[] { siteId, accountName, accountPassword}, callback, asyncState); } - + /// - public void EndGrantWebManagementAccess(System.IAsyncResult asyncResult) { + public void EndGrantWebManagementAccess(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void GrantWebManagementAccessAsync(string siteId, string accountName, string accountPassword) { + public void GrantWebManagementAccessAsync(string siteId, string accountName, string accountPassword) + { this.GrantWebManagementAccessAsync(siteId, accountName, accountPassword, null); } - + /// - public void GrantWebManagementAccessAsync(string siteId, string accountName, string accountPassword, object userState) { - if ((this.GrantWebManagementAccessOperationCompleted == null)) { + public void GrantWebManagementAccessAsync(string siteId, string accountName, string accountPassword, object userState) + { + if ((this.GrantWebManagementAccessOperationCompleted == null)) + { this.GrantWebManagementAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGrantWebManagementAccessOperationCompleted); } this.InvokeAsync("GrantWebManagementAccess", new object[] { @@ -4043,2166 +5325,2014 @@ namespace WebsitePanel.Providers.Web { accountName, accountPassword}, this.GrantWebManagementAccessOperationCompleted, userState); } - - private void OnGrantWebManagementAccessOperationCompleted(object arg) { - if ((this.GrantWebManagementAccessCompleted != null)) { + + private void OnGrantWebManagementAccessOperationCompleted(object arg) + { + if ((this.GrantWebManagementAccessCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GrantWebManagementAccessCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RevokeWebManagementAccess", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void RevokeWebManagementAccess(string siteId, string accountName) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RevokeWebManagementAccess", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void RevokeWebManagementAccess(string siteId, string accountName) + { this.Invoke("RevokeWebManagementAccess", new object[] { siteId, accountName}); } - + /// - public System.IAsyncResult BeginRevokeWebManagementAccess(string siteId, string accountName, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginRevokeWebManagementAccess(string siteId, string accountName, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("RevokeWebManagementAccess", new object[] { siteId, accountName}, callback, asyncState); } - + /// - public void EndRevokeWebManagementAccess(System.IAsyncResult asyncResult) { + public void EndRevokeWebManagementAccess(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void RevokeWebManagementAccessAsync(string siteId, string accountName) { + public void RevokeWebManagementAccessAsync(string siteId, string accountName) + { this.RevokeWebManagementAccessAsync(siteId, accountName, null); } - + /// - public void RevokeWebManagementAccessAsync(string siteId, string accountName, object userState) { - if ((this.RevokeWebManagementAccessOperationCompleted == null)) { + public void RevokeWebManagementAccessAsync(string siteId, string accountName, object userState) + { + if ((this.RevokeWebManagementAccessOperationCompleted == null)) + { this.RevokeWebManagementAccessOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRevokeWebManagementAccessOperationCompleted); } this.InvokeAsync("RevokeWebManagementAccess", new object[] { siteId, accountName}, this.RevokeWebManagementAccessOperationCompleted, userState); } - - private void OnRevokeWebManagementAccessOperationCompleted(object arg) { - if ((this.RevokeWebManagementAccessCompleted != null)) { + + private void OnRevokeWebManagementAccessOperationCompleted(object arg) + { + if ((this.RevokeWebManagementAccessCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.RevokeWebManagementAccessCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeWebManagementAccessPassword", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void ChangeWebManagementAccessPassword(string accountName, string accountPassword) { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeWebManagementAccessPassword", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void ChangeWebManagementAccessPassword(string accountName, string accountPassword) + { this.Invoke("ChangeWebManagementAccessPassword", new object[] { accountName, accountPassword}); } - + /// - public System.IAsyncResult BeginChangeWebManagementAccessPassword(string accountName, string accountPassword, System.AsyncCallback callback, object asyncState) { + public System.IAsyncResult BeginChangeWebManagementAccessPassword(string accountName, string accountPassword, System.AsyncCallback callback, object asyncState) + { return this.BeginInvoke("ChangeWebManagementAccessPassword", new object[] { accountName, accountPassword}, callback, asyncState); } - + /// - public void EndChangeWebManagementAccessPassword(System.IAsyncResult asyncResult) { + public void EndChangeWebManagementAccessPassword(System.IAsyncResult asyncResult) + { this.EndInvoke(asyncResult); } - + /// - public void ChangeWebManagementAccessPasswordAsync(string accountName, string accountPassword) { + public void ChangeWebManagementAccessPasswordAsync(string accountName, string accountPassword) + { this.ChangeWebManagementAccessPasswordAsync(accountName, accountPassword, null); } - + /// - public void ChangeWebManagementAccessPasswordAsync(string accountName, string accountPassword, object userState) { - if ((this.ChangeWebManagementAccessPasswordOperationCompleted == null)) { + public void ChangeWebManagementAccessPasswordAsync(string accountName, string accountPassword, object userState) + { + if ((this.ChangeWebManagementAccessPasswordOperationCompleted == null)) + { this.ChangeWebManagementAccessPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeWebManagementAccessPasswordOperationCompleted); } this.InvokeAsync("ChangeWebManagementAccessPassword", new object[] { accountName, accountPassword}, this.ChangeWebManagementAccessPasswordOperationCompleted, userState); } - - private void OnChangeWebManagementAccessPasswordOperationCompleted(object arg) { - if ((this.ChangeWebManagementAccessPasswordCompleted != null)) { + + private void OnChangeWebManagementAccessPasswordOperationCompleted(object arg) + { + if ((this.ChangeWebManagementAccessPasswordCompleted != null)) + { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ChangeWebManagementAccessPasswordCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } - + /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/generateCSR", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate generateCSR(SSLCertificate certificate) { - object[] results = this.Invoke("generateCSR", new object[] { - certificate}); - return ((SSLCertificate)(results[0])); - } - - /// - public System.IAsyncResult BegingenerateCSR(SSLCertificate certificate, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("generateCSR", new object[] { - certificate}, callback, asyncState); - } - - /// - public SSLCertificate EndgenerateCSR(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate)(results[0])); - } - - /// - public void generateCSRAsync(SSLCertificate certificate) { - this.generateCSRAsync(certificate, null); - } - - /// - public void generateCSRAsync(SSLCertificate certificate, object userState) { - if ((this.generateCSROperationCompleted == null)) { - this.generateCSROperationCompleted = new System.Threading.SendOrPostCallback(this.OngenerateCSROperationCompleted); - } - this.InvokeAsync("generateCSR", new object[] { - certificate}, this.generateCSROperationCompleted, userState); - } - - private void OngenerateCSROperationCompleted(object arg) { - if ((this.generateCSRCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.generateCSRCompleted(this, new generateCSRCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/generateRenewalCSR", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate generateRenewalCSR(SSLCertificate certificate) { - object[] results = this.Invoke("generateRenewalCSR", new object[] { - certificate}); - return ((SSLCertificate)(results[0])); - } - - /// - public System.IAsyncResult BegingenerateRenewalCSR(SSLCertificate certificate, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("generateRenewalCSR", new object[] { - certificate}, callback, asyncState); - } - - /// - public SSLCertificate EndgenerateRenewalCSR(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate)(results[0])); - } - - /// - public void generateRenewalCSRAsync(SSLCertificate certificate) { - this.generateRenewalCSRAsync(certificate, null); - } - - /// - public void generateRenewalCSRAsync(SSLCertificate certificate, object userState) { - if ((this.generateRenewalCSROperationCompleted == null)) { - this.generateRenewalCSROperationCompleted = new System.Threading.SendOrPostCallback(this.OngenerateRenewalCSROperationCompleted); - } - this.InvokeAsync("generateRenewalCSR", new object[] { - certificate}, this.generateRenewalCSROperationCompleted, userState); - } - - private void OngenerateRenewalCSROperationCompleted(object arg) { - if ((this.generateRenewalCSRCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.generateRenewalCSRCompleted(this, new generateRenewalCSRCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/getCertificate", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate getCertificate(WebSite site) { - object[] results = this.Invoke("getCertificate", new object[] { - site}); - return ((SSLCertificate)(results[0])); - } - - /// - public System.IAsyncResult BegingetCertificate(WebSite site, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("getCertificate", new object[] { - site}, callback, asyncState); - } - - /// - public SSLCertificate EndgetCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate)(results[0])); - } - - /// - public void getCertificateAsync(WebSite site) { - this.getCertificateAsync(site, null); - } - - /// - public void getCertificateAsync(WebSite site, object userState) { - if ((this.getCertificateOperationCompleted == null)) { - this.getCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetCertificateOperationCompleted); - } - this.InvokeAsync("getCertificate", new object[] { - site}, this.getCertificateOperationCompleted, userState); - } - - private void OngetCertificateOperationCompleted(object arg) { - if ((this.getCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.getCertificateCompleted(this, new getCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/installCertificate", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate installCertificate(SSLCertificate certificate, WebSite website) { - object[] results = this.Invoke("installCertificate", new object[] { - certificate, - website}); - return ((SSLCertificate)(results[0])); - } - - /// - public System.IAsyncResult BegininstallCertificate(SSLCertificate certificate, WebSite website, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("installCertificate", new object[] { - certificate, - website}, callback, asyncState); - } - - /// - public SSLCertificate EndinstallCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate)(results[0])); - } - - /// - public void installCertificateAsync(SSLCertificate certificate, WebSite website) { - this.installCertificateAsync(certificate, website, null); - } - - /// - public void installCertificateAsync(SSLCertificate certificate, WebSite website, object userState) { - if ((this.installCertificateOperationCompleted == null)) { - this.installCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OninstallCertificateOperationCompleted); - } - this.InvokeAsync("installCertificate", new object[] { - certificate, - website}, this.installCertificateOperationCompleted, userState); - } - - private void OninstallCertificateOperationCompleted(object arg) { - if ((this.installCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.installCertificateCompleted(this, new installCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/installPFX", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate installPFX([System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] certificate, string password, WebSite website) { - object[] results = this.Invoke("installPFX", new object[] { - certificate, - password, - website}); - return ((SSLCertificate)(results[0])); - } - - /// - public System.IAsyncResult BegininstallPFX(byte[] certificate, string password, WebSite website, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("installPFX", new object[] { - certificate, - password, - website}, callback, asyncState); - } - - /// - public SSLCertificate EndinstallPFX(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate)(results[0])); - } - - /// - public void installPFXAsync(byte[] certificate, string password, WebSite website) { - this.installPFXAsync(certificate, password, website, null); - } - - /// - public void installPFXAsync(byte[] certificate, string password, WebSite website, object userState) { - if ((this.installPFXOperationCompleted == null)) { - this.installPFXOperationCompleted = new System.Threading.SendOrPostCallback(this.OninstallPFXOperationCompleted); - } - this.InvokeAsync("installPFX", new object[] { - certificate, - password, - website}, this.installPFXOperationCompleted, userState); - } - - private void OninstallPFXOperationCompleted(object arg) { - if ((this.installPFXCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.installPFXCompleted(this, new installPFXCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/exportCertificate", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - [return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] - public byte[] exportCertificate(string serialNumber, string password) { - object[] results = this.Invoke("exportCertificate", new object[] { - serialNumber, - password}); - return ((byte[])(results[0])); - } - - /// - public System.IAsyncResult BeginexportCertificate(string serialNumber, string password, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("exportCertificate", new object[] { - serialNumber, - password}, callback, asyncState); - } - - /// - public byte[] EndexportCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((byte[])(results[0])); - } - - /// - public void exportCertificateAsync(string serialNumber, string password) { - this.exportCertificateAsync(serialNumber, password, null); - } - - /// - public void exportCertificateAsync(string serialNumber, string password, object userState) { - if ((this.exportCertificateOperationCompleted == null)) { - this.exportCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnexportCertificateOperationCompleted); - } - this.InvokeAsync("exportCertificate", new object[] { - serialNumber, - password}, this.exportCertificateOperationCompleted, userState); - } - - private void OnexportCertificateOperationCompleted(object arg) { - if ((this.exportCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.exportCertificateCompleted(this, new exportCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/getServerCertificates", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate[] getServerCertificates() { - object[] results = this.Invoke("getServerCertificates", new object[0]); - return ((SSLCertificate[])(results[0])); - } - - /// - public System.IAsyncResult BegingetServerCertificates(System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("getServerCertificates", new object[0], callback, asyncState); - } - - /// - public SSLCertificate[] EndgetServerCertificates(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate[])(results[0])); - } - - /// - public void getServerCertificatesAsync() { - this.getServerCertificatesAsync(null); - } - - /// - public void getServerCertificatesAsync(object userState) { - if ((this.getServerCertificatesOperationCompleted == null)) { - this.getServerCertificatesOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetServerCertificatesOperationCompleted); - } - this.InvokeAsync("getServerCertificates", new object[0], this.getServerCertificatesOperationCompleted, userState); - } - - private void OngetServerCertificatesOperationCompleted(object arg) { - if ((this.getServerCertificatesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.getServerCertificatesCompleted(this, new getServerCertificatesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteCertificate", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ResultObject DeleteCertificate(SSLCertificate certificate, WebSite website) { - object[] results = this.Invoke("DeleteCertificate", new object[] { - certificate, - website}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteCertificate(SSLCertificate certificate, WebSite website, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteCertificate", new object[] { - certificate, - website}, callback, asyncState); - } - - /// - public ResultObject EndDeleteCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void DeleteCertificateAsync(SSLCertificate certificate, WebSite website) { - this.DeleteCertificateAsync(certificate, website, null); - } - - /// - public void DeleteCertificateAsync(SSLCertificate certificate, WebSite website, object userState) { - if ((this.DeleteCertificateOperationCompleted == null)) { - this.DeleteCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteCertificateOperationCompleted); - } - this.InvokeAsync("DeleteCertificate", new object[] { - certificate, - website}, this.DeleteCertificateOperationCompleted, userState); - } - - private void OnDeleteCertificateOperationCompleted(object arg) { - if ((this.DeleteCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteCertificateCompleted(this, new DeleteCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ImportCertificate", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public SSLCertificate ImportCertificate(WebSite website) { - object[] results = this.Invoke("ImportCertificate", new object[] { - website}); - return ((SSLCertificate)(results[0])); - } - - /// - public System.IAsyncResult BeginImportCertificate(WebSite website, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("ImportCertificate", new object[] { - website}, callback, asyncState); - } - - /// - public SSLCertificate EndImportCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((SSLCertificate)(results[0])); - } - - /// - public void ImportCertificateAsync(WebSite website) { - this.ImportCertificateAsync(website, null); - } - - /// - public void ImportCertificateAsync(WebSite website, object userState) { - if ((this.ImportCertificateOperationCompleted == null)) { - this.ImportCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnImportCertificateOperationCompleted); - } - this.InvokeAsync("ImportCertificate", new object[] { - website}, this.ImportCertificateOperationCompleted, userState); - } - - private void OnImportCertificateOperationCompleted(object arg) { - if ((this.ImportCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.ImportCertificateCompleted(this, new ImportCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckCertificate", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool CheckCertificate(WebSite webSite) { - object[] results = this.Invoke("CheckCertificate", new object[] { - webSite}); - return ((bool)(results[0])); - } - - /// - public System.IAsyncResult BeginCheckCertificate(WebSite webSite, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("CheckCertificate", new object[] { - webSite}, callback, asyncState); - } - - /// - public bool EndCheckCertificate(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((bool)(results[0])); - } - - /// - public void CheckCertificateAsync(WebSite webSite) { - this.CheckCertificateAsync(webSite, null); - } - - /// - public void CheckCertificateAsync(WebSite webSite, object userState) { - if ((this.CheckCertificateOperationCompleted == null)) { - this.CheckCertificateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckCertificateOperationCompleted); - } - this.InvokeAsync("CheckCertificate", new object[] { - webSite}, this.CheckCertificateOperationCompleted, userState); - } - - private void OnCheckCertificateOperationCompleted(object arg) { - if ((this.CheckCertificateCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.CheckCertificateCompleted(this, new CheckCertificateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - public new void CancelAsync(object userState) { + public new void CancelAsync(object userState) + { base.CancelAsync(userState); } } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void ChangeSiteStateCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSiteStateCompletedEventHandler(object sender, GetSiteStateCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSiteStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSiteStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public ServerState Result { - get { - this.RaiseExceptionIfNecessary(); - return ((ServerState)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSiteIdCompletedEventHandler(object sender, GetSiteIdCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSiteIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSiteIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public string Result { - get { - this.RaiseExceptionIfNecessary(); - return ((string)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSitesAccountsCompletedEventHandler(object sender, GetSitesAccountsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSitesAccountsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSitesAccountsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public string[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void SiteExistsCompletedEventHandler(object sender, SiteExistsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SiteExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal SiteExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSitesCompletedEventHandler(object sender, GetSitesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSitesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSitesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public string[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((string[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSiteCompletedEventHandler(object sender, GetSiteCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebSite Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebSite)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetSiteBindingsCompletedEventHandler(object sender, GetSiteBindingsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetSiteBindingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetSiteBindingsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public ServerBinding[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((ServerBinding[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void CreateSiteCompletedEventHandler(object sender, CreateSiteCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CreateSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal CreateSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public string Result { - get { - this.RaiseExceptionIfNecessary(); - return ((string)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateSiteCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateSiteBindingsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteSiteCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void ChangeAppPoolStateCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetAppPoolStateCompletedEventHandler(object sender, GetAppPoolStateCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetAppPoolStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetAppPoolStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public AppPoolState Result { - get { - this.RaiseExceptionIfNecessary(); - return ((AppPoolState)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void VirtualDirectoryExistsCompletedEventHandler(object sender, VirtualDirectoryExistsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class VirtualDirectoryExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal VirtualDirectoryExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetVirtualDirectoriesCompletedEventHandler(object sender, GetVirtualDirectoriesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetVirtualDirectoriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetVirtualDirectoriesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebVirtualDirectory[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebVirtualDirectory[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetVirtualDirectoryCompletedEventHandler(object sender, GetVirtualDirectoryCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetVirtualDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetVirtualDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebVirtualDirectory Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebVirtualDirectory)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void CreateVirtualDirectoryCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateVirtualDirectoryCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteVirtualDirectoryCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void IsFrontPageSystemInstalledCompletedEventHandler(object sender, IsFrontPageSystemInstalledCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class IsFrontPageSystemInstalledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal IsFrontPageSystemInstalledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void IsFrontPageInstalledCompletedEventHandler(object sender, IsFrontPageInstalledCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class IsFrontPageInstalledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal IsFrontPageInstalledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void InstallFrontPageCompletedEventHandler(object sender, InstallFrontPageCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class InstallFrontPageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal InstallFrontPageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UninstallFrontPageCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void ChangeFrontPagePasswordCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void IsColdFusionSystemInstalledCompletedEventHandler(object sender, IsColdFusionSystemInstalledCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class IsColdFusionSystemInstalledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal IsColdFusionSystemInstalledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GrantWebSiteAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void InstallSecuredFoldersCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UninstallSecuredFoldersCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetFoldersCompletedEventHandler(object sender, GetFoldersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebFolder[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebFolder[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetFolderCompletedEventHandler(object sender, GetFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebFolder Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebFolder)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetUsersCompletedEventHandler(object sender, GetUsersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebUser[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebUser[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetUserCompletedEventHandler(object sender, GetUserCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebUser Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebUser)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateUserCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteUserCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetGroupsCompletedEventHandler(object sender, GetGroupsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetGroupsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebGroup[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebGroup[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetGroupCompletedEventHandler(object sender, GetGroupCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebGroup Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebGroup)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeStatusCompletedEventHandler(object sender, GetHeliconApeStatusCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HeliconApeStatus Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HeliconApeStatus)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void InstallHeliconApeCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void EnableHeliconApeCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DisableHeliconApeCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeFoldersCompletedEventHandler(object sender, GetHeliconApeFoldersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HtaccessFolder[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HtaccessFolder[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeHttpdFolderCompletedEventHandler(object sender, GetHeliconApeHttpdFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeHttpdFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeHttpdFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HtaccessFolder Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HtaccessFolder)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeFolderCompletedEventHandler(object sender, GetHeliconApeFolderCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HtaccessFolder Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HtaccessFolder)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateHeliconApeFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateHeliconApeHttpdFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteHeliconApeFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeUsersCompletedEventHandler(object sender, GetHeliconApeUsersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HtaccessUser[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HtaccessUser[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeUserCompletedEventHandler(object sender, GetHeliconApeUserCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public HtaccessUser Result { - get { - this.RaiseExceptionIfNecessary(); - return ((HtaccessUser)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateHeliconApeUserCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteHeliconApeUserCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeGroupsCompletedEventHandler(object sender, GetHeliconApeGroupsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeGroupsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebGroup[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebGroup[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetHeliconApeGroupCompletedEventHandler(object sender, GetHeliconApeGroupCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetHeliconApeGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetHeliconApeGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebGroup Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebGroup)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void UpdateHeliconApeGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GrantWebDeployPublishingAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void RevokeWebDeployPublishingAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DeleteHeliconApeGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetZooApplicationsCompletedEventHandler(object sender, GetZooApplicationsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetZooApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetZooApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WebVirtualDirectory[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WebVirtualDirectory[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void SetZooEnvironmentVariableCompletedEventHandler(object sender, SetZooEnvironmentVariableCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SetZooEnvironmentVariableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal SetZooEnvironmentVariableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public StringResultObject Result { - get { - this.RaiseExceptionIfNecessary(); - return ((StringResultObject)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void SetZooConsoleEnabledCompletedEventHandler(object sender, SetZooConsoleEnabledCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SetZooConsoleEnabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal SetZooConsoleEnabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public StringResultObject Result { - get { - this.RaiseExceptionIfNecessary(); - return ((StringResultObject)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void SetZooConsoleDisabledCompletedEventHandler(object sender, SetZooConsoleDisabledCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class SetZooConsoleDisabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal SetZooConsoleDisabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public StringResultObject Result { - get { - this.RaiseExceptionIfNecessary(); - return ((StringResultObject)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void CheckLoadUserProfileCompletedEventHandler(object sender, CheckLoadUserProfileCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CheckLoadUserProfileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal CheckLoadUserProfileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void EnableLoadUserProfileCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void InitFeedsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void SetResourceLanguageCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetGalleryLanguagesCompletedEventHandler(object sender, GetGalleryLanguagesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetGalleryLanguagesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetGalleryLanguagesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GalleryLanguagesResult Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GalleryLanguagesResult)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetGalleryCategoriesCompletedEventHandler(object sender, GetGalleryCategoriesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetGalleryCategoriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetGalleryCategoriesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GalleryCategoriesResult Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GalleryCategoriesResult)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetGalleryApplicationsCompletedEventHandler(object sender, GetGalleryApplicationsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetGalleryApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetGalleryApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GalleryApplicationsResult Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GalleryApplicationsResult)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetGalleryApplicationsFilteredCompletedEventHandler(object sender, GetGalleryApplicationsFilteredCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetGalleryApplicationsFilteredCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetGalleryApplicationsFilteredCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GalleryApplicationsResult Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GalleryApplicationsResult)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void IsMsDeployInstalledCompletedEventHandler(object sender, IsMsDeployInstalledCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class IsMsDeployInstalledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal IsMsDeployInstalledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetGalleryApplicationCompletedEventHandler(object sender, GetGalleryApplicationCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetGalleryApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetGalleryApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GalleryApplicationResult Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GalleryApplicationResult)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetGalleryApplicationStatusCompletedEventHandler(object sender, GetGalleryApplicationStatusCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetGalleryApplicationStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetGalleryApplicationStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GalleryWebAppStatus Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GalleryWebAppStatus)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void DownloadGalleryApplicationCompletedEventHandler(object sender, DownloadGalleryApplicationCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DownloadGalleryApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DownloadGalleryApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GalleryWebAppStatus Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GalleryWebAppStatus)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetGalleryApplicationParametersCompletedEventHandler(object sender, GetGalleryApplicationParametersCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetGalleryApplicationParametersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetGalleryApplicationParametersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public DeploymentParametersResult Result { - get { - this.RaiseExceptionIfNecessary(); - return ((DeploymentParametersResult)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void InstallGalleryApplicationCompletedEventHandler(object sender, InstallGalleryApplicationCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class InstallGalleryApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal InstallGalleryApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public StringResultObject Result { - get { - this.RaiseExceptionIfNecessary(); - return ((StringResultObject)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void CheckWebManagementAccountExistsCompletedEventHandler(object sender, CheckWebManagementAccountExistsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CheckWebManagementAccountExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal CheckWebManagementAccountExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void CheckWebManagementPasswordComplexityCompletedEventHandler(object sender, CheckWebManagementPasswordComplexityCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CheckWebManagementPasswordComplexityCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal CheckWebManagementPasswordComplexityCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public ResultObject Result { - get { - this.RaiseExceptionIfNecessary(); - return ((ResultObject)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GrantWebManagementAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void RevokeWebManagementAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void ChangeWebManagementAccessPasswordCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void generateCSRCompletedEventHandler(object sender, generateCSRCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class generateCSRCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class generateCSRCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal generateCSRCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal generateCSRCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate Result { - get { + public SSLCertificate Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void generateRenewalCSRCompletedEventHandler(object sender, generateRenewalCSRCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class generateRenewalCSRCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class generateRenewalCSRCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal generateRenewalCSRCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal generateRenewalCSRCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate Result { - get { + public SSLCertificate Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void getCertificateCompletedEventHandler(object sender, getCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class getCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class getCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal getCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal getCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate Result { - get { + public SSLCertificate Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void installCertificateCompletedEventHandler(object sender, installCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class installCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class installCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal installCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal installCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate Result { - get { + public SSLCertificate Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void installPFXCompletedEventHandler(object sender, installPFXCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class installPFXCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class installPFXCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal installPFXCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal installPFXCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate Result { - get { + public SSLCertificate Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void exportCertificateCompletedEventHandler(object sender, exportCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class exportCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class exportCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal exportCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal exportCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public byte[] Result { - get { + public byte[] Result + { + get + { this.RaiseExceptionIfNecessary(); return ((byte[])(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void getServerCertificatesCompletedEventHandler(object sender, getServerCertificatesCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class getServerCertificatesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class getServerCertificatesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal getServerCertificatesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal getServerCertificatesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate[] Result { - get { + public SSLCertificate[] Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate[])(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void DeleteCertificateCompletedEventHandler(object sender, DeleteCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class DeleteCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal DeleteCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal DeleteCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public ResultObject Result { - get { + public ResultObject Result + { + get + { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void ImportCertificateCompletedEventHandler(object sender, ImportCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ImportCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class ImportCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal ImportCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal ImportCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public SSLCertificate Result { - get { + public SSLCertificate Result + { + get + { this.RaiseExceptionIfNecessary(); return ((SSLCertificate)(this.results[0])); } } } - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CheckCertificateCompletedEventHandler(object sender, CheckCertificateCompletedEventArgs e); - + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CheckCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - + public partial class CheckCertificateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + private object[] results; - - internal CheckCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { + + internal CheckCertificateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { this.results = results; } - + /// - public bool Result { - get { + public bool Result + { + get + { this.RaiseExceptionIfNecessary(); return ((bool)(this.results[0])); } } } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetDirectoryBrowseEnabledCompletedEventHandler(object sender, GetDirectoryBrowseEnabledCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDirectoryBrowseEnabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetDirectoryBrowseEnabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SetDirectoryBrowseEnabledCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void ChangeSiteStateCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSiteStateCompletedEventHandler(object sender, GetSiteStateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSiteStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSiteStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public ServerState Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((ServerState)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSiteIdCompletedEventHandler(object sender, GetSiteIdCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSiteIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSiteIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public string Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSitesAccountsCompletedEventHandler(object sender, GetSitesAccountsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSitesAccountsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSitesAccountsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public string[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((string[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SiteExistsCompletedEventHandler(object sender, SiteExistsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SiteExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal SiteExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSitesCompletedEventHandler(object sender, GetSitesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSitesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSitesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public string[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((string[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSiteCompletedEventHandler(object sender, GetSiteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebSite Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebSite)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetSiteBindingsCompletedEventHandler(object sender, GetSiteBindingsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSiteBindingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetSiteBindingsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public ServerBinding[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((ServerBinding[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void CreateSiteCompletedEventHandler(object sender, CreateSiteCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CreateSiteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal CreateSiteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public string Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateSiteCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateSiteBindingsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteSiteCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void ChangeAppPoolStateCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetAppPoolStateCompletedEventHandler(object sender, GetAppPoolStateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetAppPoolStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetAppPoolStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public AppPoolState Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((AppPoolState)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void VirtualDirectoryExistsCompletedEventHandler(object sender, VirtualDirectoryExistsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VirtualDirectoryExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal VirtualDirectoryExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetVirtualDirectoriesCompletedEventHandler(object sender, GetVirtualDirectoriesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetVirtualDirectoriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetVirtualDirectoriesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebVirtualDirectory[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebVirtualDirectory[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetVirtualDirectoryCompletedEventHandler(object sender, GetVirtualDirectoryCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetVirtualDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetVirtualDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebVirtualDirectory Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebVirtualDirectory)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void CreateVirtualDirectoryCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateVirtualDirectoryCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteVirtualDirectoryCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void IsFrontPageSystemInstalledCompletedEventHandler(object sender, IsFrontPageSystemInstalledCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class IsFrontPageSystemInstalledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal IsFrontPageSystemInstalledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void IsFrontPageInstalledCompletedEventHandler(object sender, IsFrontPageInstalledCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class IsFrontPageInstalledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal IsFrontPageInstalledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void InstallFrontPageCompletedEventHandler(object sender, InstallFrontPageCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class InstallFrontPageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal InstallFrontPageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UninstallFrontPageCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void ChangeFrontPagePasswordCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void IsColdFusionSystemInstalledCompletedEventHandler(object sender, IsColdFusionSystemInstalledCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class IsColdFusionSystemInstalledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal IsColdFusionSystemInstalledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GrantWebSiteAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void InstallSecuredFoldersCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UninstallSecuredFoldersCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetFoldersCompletedEventHandler(object sender, GetFoldersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebFolder[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebFolder[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetFolderCompletedEventHandler(object sender, GetFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebFolder Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebFolder)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetUsersCompletedEventHandler(object sender, GetUsersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebUser[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebUser[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetUserCompletedEventHandler(object sender, GetUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebUser Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebUser)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateUserCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteUserCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetGroupsCompletedEventHandler(object sender, GetGroupsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetGroupsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebGroup[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebGroup[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetGroupCompletedEventHandler(object sender, GetGroupCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebGroup Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebGroup)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeStatusCompletedEventHandler(object sender, GetHeliconApeStatusCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HeliconApeStatus Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HeliconApeStatus)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void InstallHeliconApeCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void EnableHeliconApeCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DisableHeliconApeCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeFoldersCompletedEventHandler(object sender, GetHeliconApeFoldersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HtaccessFolder[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HtaccessFolder[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeHttpdFolderCompletedEventHandler(object sender, GetHeliconApeHttpdFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeHttpdFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeHttpdFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HtaccessFolder Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HtaccessFolder)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeFolderCompletedEventHandler(object sender, GetHeliconApeFolderCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HtaccessFolder Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HtaccessFolder)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateHeliconApeFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateHeliconApeHttpdFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteHeliconApeFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeUsersCompletedEventHandler(object sender, GetHeliconApeUsersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HtaccessUser[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HtaccessUser[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeUserCompletedEventHandler(object sender, GetHeliconApeUserCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public HtaccessUser Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((HtaccessUser)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateHeliconApeUserCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteHeliconApeUserCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeGroupsCompletedEventHandler(object sender, GetHeliconApeGroupsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeGroupsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebGroup[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebGroup[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetHeliconApeGroupCompletedEventHandler(object sender, GetHeliconApeGroupCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetHeliconApeGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetHeliconApeGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebGroup Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebGroup)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void UpdateHeliconApeGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GrantWebDeployPublishingAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void RevokeWebDeployPublishingAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DeleteHeliconApeGroupCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetZooApplicationsCompletedEventHandler(object sender, GetZooApplicationsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetZooApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetZooApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public WebVirtualDirectory[] Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((WebVirtualDirectory[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SetZooEnvironmentVariableCompletedEventHandler(object sender, SetZooEnvironmentVariableCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SetZooEnvironmentVariableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal SetZooEnvironmentVariableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public StringResultObject Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((StringResultObject)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SetZooConsoleEnabledCompletedEventHandler(object sender, SetZooConsoleEnabledCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SetZooConsoleEnabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal SetZooConsoleEnabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public StringResultObject Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((StringResultObject)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SetZooConsoleDisabledCompletedEventHandler(object sender, SetZooConsoleDisabledCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SetZooConsoleDisabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal SetZooConsoleDisabledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public StringResultObject Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((StringResultObject)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void CheckLoadUserProfileCompletedEventHandler(object sender, CheckLoadUserProfileCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CheckLoadUserProfileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal CheckLoadUserProfileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void EnableLoadUserProfileCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void InitFeedsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void SetResourceLanguageCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetGalleryLanguagesCompletedEventHandler(object sender, GetGalleryLanguagesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetGalleryLanguagesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetGalleryLanguagesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public GalleryLanguagesResult Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((GalleryLanguagesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetGalleryCategoriesCompletedEventHandler(object sender, GetGalleryCategoriesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetGalleryCategoriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetGalleryCategoriesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public GalleryCategoriesResult Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((GalleryCategoriesResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetGalleryApplicationsCompletedEventHandler(object sender, GetGalleryApplicationsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetGalleryApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetGalleryApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public GalleryApplicationsResult Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((GalleryApplicationsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetGalleryApplicationsFilteredCompletedEventHandler(object sender, GetGalleryApplicationsFilteredCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetGalleryApplicationsFilteredCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetGalleryApplicationsFilteredCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public GalleryApplicationsResult Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((GalleryApplicationsResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void IsMsDeployInstalledCompletedEventHandler(object sender, IsMsDeployInstalledCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class IsMsDeployInstalledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal IsMsDeployInstalledCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetGalleryApplicationCompletedEventHandler(object sender, GetGalleryApplicationCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetGalleryApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetGalleryApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public GalleryApplicationResult Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((GalleryApplicationResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetGalleryApplicationStatusCompletedEventHandler(object sender, GetGalleryApplicationStatusCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetGalleryApplicationStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetGalleryApplicationStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public GalleryWebAppStatus Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((GalleryWebAppStatus)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void DownloadGalleryApplicationCompletedEventHandler(object sender, DownloadGalleryApplicationCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DownloadGalleryApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal DownloadGalleryApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public GalleryWebAppStatus Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((GalleryWebAppStatus)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetGalleryApplicationParametersCompletedEventHandler(object sender, GetGalleryApplicationParametersCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetGalleryApplicationParametersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal GetGalleryApplicationParametersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public DeploymentParametersResult Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((DeploymentParametersResult)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void InstallGalleryApplicationCompletedEventHandler(object sender, InstallGalleryApplicationCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class InstallGalleryApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal InstallGalleryApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public StringResultObject Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((StringResultObject)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void CheckWebManagementAccountExistsCompletedEventHandler(object sender, CheckWebManagementAccountExistsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CheckWebManagementAccountExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal CheckWebManagementAccountExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public bool Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void CheckWebManagementPasswordComplexityCompletedEventHandler(object sender, CheckWebManagementPasswordComplexityCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CheckWebManagementPasswordComplexityCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs + { + + private object[] results; + + internal CheckWebManagementPasswordComplexityCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) + { + this.results = results; + } + + /// + public ResultObject Result + { + get + { + this.RaiseExceptionIfNecessary(); + return ((ResultObject)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GrantWebManagementAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void RevokeWebManagementAccessCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void ChangeWebManagementAccessPasswordCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); } diff --git a/WebsitePanel/Sources/WebsitePanel.Server.Client/WebsitePanel.Server.Client.csproj b/WebsitePanel/Sources/WebsitePanel.Server.Client/WebsitePanel.Server.Client.csproj index aa60aede..751a8fe5 100644 --- a/WebsitePanel/Sources/WebsitePanel.Server.Client/WebsitePanel.Server.Client.csproj +++ b/WebsitePanel/Sources/WebsitePanel.Server.Client/WebsitePanel.Server.Client.csproj @@ -127,6 +127,9 @@ true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ShowProgressDialog('Creating folder ...'); + + + Create Folder + + + + + + Folder Name: * + + + Folders + + + Enter Folder Name + + + * + + + Create New Folder In + + \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/EnterpriseStorageFolderGeneralSettings.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/EnterpriseStorageFolderGeneralSettings.ascx.resx new file mode 100644 index 00000000..1dabc5e0 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/EnterpriseStorageFolderGeneralSettings.ascx.resx @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ShowProgressDialog('Updating folder settings...'); + + + Save Changes + + + Permissions + + + Notes: + + + Edit Folder + + + Folders + + + Enter Folder Name + + + * + + + Folder Name: + + + Folder Url: + + \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/EnterpriseStorageFolders.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/EnterpriseStorageFolders.ascx.resx new file mode 100644 index 00000000..0dd3e88c --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/App_LocalResources/EnterpriseStorageFolders.ascx.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Create New Folder + + + if(!confirm('Are you sure you want to delete selected folder?')) return false; else ShowProgressDialog('Deleting Folder...'); + + + Delete + + + Delete Folder + + + No folders have been added yet. To add a new folder click "Create New Folder" button. + + + + + + Total Folders Allocated: + + + Folders + + + Folder Name + + + Folder Size + + + Folders + + + Url + + \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageCreateFolder.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageCreateFolder.ascx new file mode 100644 index 00000000..af4e4960 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageCreateFolder.ascx @@ -0,0 +1,46 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EnterpriseStorageCreateFolder.ascx.cs" Inherits="WebsitePanel.Portal.ExchangeServer.EnterpriseStorageCreateFolder" %> +<%@ Register Src="../UserControls/SimpleMessageBox.ascx" TagName="SimpleMessageBox" TagPrefix="wsp" %> +<%@ Register Src="UserControls/EmailAddress.ascx" TagName="EmailAddress" TagPrefix="wsp" %> +<%@ Register Src="UserControls/Menu.ascx" TagName="Menu" TagPrefix="wsp" %> +<%@ Register Src="UserControls/Breadcrumb.ascx" TagName="Breadcrumb" TagPrefix="wsp" %> +<%@ Register Src="../UserControls/EnableAsyncTasksSupport.ascx" TagName="EnableAsyncTasksSupport" TagPrefix="wsp" %> + + + +
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+ + + + + + +
+ + +
+
+ + +
+
+
+
+
+
\ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageCreateFolder.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageCreateFolder.ascx.cs new file mode 100644 index 00000000..45fcd5dd --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageCreateFolder.ascx.cs @@ -0,0 +1,72 @@ +// Copyright (c) 2012, Outercurve Foundation. +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, +// are permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// - Neither the name of the Outercurve Foundation nor the names of its +// contributors may be used to endorse or promote products derived from this +// software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +using System; +using WebsitePanel.EnterpriseServer; +using WebsitePanel.Providers.Common; +using WebsitePanel.Providers.HostedSolution; + +namespace WebsitePanel.Portal.ExchangeServer +{ + public partial class EnterpriseStorageCreateFolder : WebsitePanelModuleBase + { + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + Organization org = ES.Services.Organizations.GetOrganization(PanelRequest.ItemID); + + litRootFolder.Text = org.OrganizationId; + } + } + + protected void btnCreate_Click(object sender, EventArgs e) + { + if (!Page.IsValid) + return; + try + { + ResultObject result = ES.Services.EnterpriseStorage.CreateEnterpriseFolder(PanelRequest.ItemID, txtFolderName.Text); + + if (!result.IsSuccess && result.ErrorCodes.Count > 0) + { + messageBox.ShowMessage(result, "ENTERPRISE_STORAGE_FOLDER", "EnterpriseStorage"); + return; + } + + Response.Redirect(EditUrl("SpaceID", PanelSecurity.PackageId.ToString(), "enterprisestorage_folder_settings", + "FolderID=" + txtFolderName.Text, + "ItemID=" + PanelRequest.ItemID)); + } + catch (Exception ex) + { + messageBox.ShowErrorMessage("ENTERPRISE_STORAGE_CREATE_FOLDER", ex); + } + } + } +} \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageCreateFolder.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageCreateFolder.ascx.designer.cs new file mode 100644 index 00000000..0ed2ca91 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageCreateFolder.ascx.designer.cs @@ -0,0 +1,151 @@ +// Copyright (c) 2012, Outercurve Foundation. +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, +// are permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// - Neither the name of the Outercurve Foundation nor the names of its +// contributors may be used to endorse or promote products derived from this +// software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebsitePanel.Portal.ExchangeServer { + + + public partial class EnterpriseStorageCreateFolder { + + /// + /// asyncTasks control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks; + + /// + /// breadcrumb control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.ExchangeServer.UserControls.Breadcrumb breadcrumb; + + /// + /// menu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.ExchangeServer.UserControls.Menu menu; + + /// + /// imgESS control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Image imgESS; + + /// + /// locTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize locTitle; + + /// + /// litRootFolder control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Literal litRootFolder; + + /// + /// messageBox control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.UserControls.SimpleMessageBox messageBox; + + /// + /// locFolderName control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize locFolderName; + + /// + /// txtFolderName control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtFolderName; + + /// + /// valRequireFolderName control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator valRequireFolderName; + + /// + /// btnCreate control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCreate; + + /// + /// valSummary control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ValidationSummary valSummary; + } +} diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolderGeneralSettings.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolderGeneralSettings.ascx new file mode 100644 index 00000000..d6305bc2 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolderGeneralSettings.ascx @@ -0,0 +1,71 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EnterpriseStorageFolderGeneralSettings.ascx.cs" Inherits="WebsitePanel.Portal.ExchangeServer.EnterpriseStorageFolderGeneralSettings" %> +<%@ Register Src="../UserControls/SimpleMessageBox.ascx" TagName="SimpleMessageBox" TagPrefix="wsp" %> +<%@ Register Src="UserControls/EnterpriseStoragePermissions.ascx" TagName="ESPermissions" TagPrefix="wsp"%> +<%@ Register Src="UserControls/Menu.ascx" TagName="Menu" TagPrefix="wsp" %> +<%@ Register Src="UserControls/Breadcrumb.ascx" TagName="Breadcrumb" TagPrefix="wsp" %> +<%@ Register TagPrefix="wsp" TagName="CollapsiblePanel" Src="../UserControls/CollapsiblePanel.ascx" %> +<%@ Register Src="../UserControls/EnableAsyncTasksSupport.ascx" TagName="EnableAsyncTasksSupport" TagPrefix="wsp" %> + + + +
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+ + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
 
+ +
 
+
+ + +
+
 
+ +
+ + +
+
+
+
+
+
\ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolderGeneralSettings.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolderGeneralSettings.ascx.cs new file mode 100644 index 00000000..5bdc930f --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolderGeneralSettings.ascx.cs @@ -0,0 +1,129 @@ +// Copyright (c) 2012, Outercurve Foundation. +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, +// are permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// - Neither the name of the Outercurve Foundation nor the names of its +// contributors may be used to endorse or promote products derived from this +// software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +using WebsitePanel.Providers.HostedSolution; +using WebsitePanel.EnterpriseServer; +using WebsitePanel.Providers.OS; + +namespace WebsitePanel.Portal.ExchangeServer +{ + public partial class EnterpriseStorageFolderGeneralSettings : WebsitePanelModuleBase + { + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + BindSettings(); + } + } + + private void BindSettings() + { + try + { + // get settings + + Organization org = ES.Services.Organizations.GetOrganization(PanelRequest.ItemID); + + SystemFile folder = ES.Services.EnterpriseStorage.GetEnterpriseFolder( + PanelRequest.ItemID, PanelRequest.FolderID); + + litFolderName.Text = string.Format("{0}\\{1}", org.OrganizationId, folder.Name); + + // bind form + txtFolderName.Text = folder.Name; + lblFolderUrl.Text = folder.Url; + + var esPermissions = ES.Services.EnterpriseStorage.GetEnterpriseFolderPermissions(PanelRequest.ItemID,folder.Name); + + chkDirectoryBrowsing.Checked = ES.Services.WebServers.GetDirectoryBrowseEnabled(PanelRequest.ItemID, folder.Url); + + permissions.SetPermissions(esPermissions); + + } + catch (Exception ex) + { + messageBox.ShowErrorMessage("ENETERPRISE_STORAGE_GET_FOLDER_SETTINGS", ex); + } + } + + protected void btnSave_Click(object sender, EventArgs e) + { + if (!Page.IsValid) + return; + + try + { + bool redirectNeeded = false; + + litFolderName.Text = txtFolderName.Text; + + // SystemFile folder = ES.Services.EnterpriseStorage.GetEnterpriseFolder(PanelRequest.ItemID, PanelRequest.FolderID); + SystemFile folder = new SystemFile(); + + if (PanelRequest.FolderID != txtFolderName.Text) + { + if (txtFolderName.Text.Contains("\\")) + { + throw new Exception("Wrong file name"); + } + + folder = ES.Services.EnterpriseStorage.RenameEnterpriseFolder(PanelRequest.ItemID, PanelRequest.FolderID, txtFolderName.Text); + redirectNeeded = true; + } + + ES.Services.EnterpriseStorage.SetEnterpriseFolderPermissions(PanelRequest.ItemID, redirectNeeded ? folder.Name : PanelRequest.FolderID, permissions.GetPemissions()); + + ES.Services.WebServers.SetDirectoryBrowseEnabled(PanelRequest.ItemID, redirectNeeded ? folder.Url : lblFolderUrl.Text, chkDirectoryBrowsing.Checked); + + if (redirectNeeded) + { + Response.Redirect(EditUrl("SpaceID", PanelSecurity.PackageId.ToString(), "enterprisestorage_folders", + "ItemID=" + PanelRequest.ItemID)); + } + + messageBox.ShowSuccessMessage("ENTERPRISE_STORAGE_UPDATE_FOLDER_SETTINGS"); + } + catch (Exception ex) + { + messageBox.ShowErrorMessage("ENTERPRISE_STORAGE_UPDATE_FOLDER_SETTINGS", ex); + } + } + } +} \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolderGeneralSettings.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolderGeneralSettings.ascx.designer.cs new file mode 100644 index 00000000..b6b60896 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolderGeneralSettings.ascx.designer.cs @@ -0,0 +1,214 @@ +// Copyright (c) 2012, Outercurve Foundation. +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, +// are permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// - Neither the name of the Outercurve Foundation nor the names of its +// contributors may be used to endorse or promote products derived from this +// software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebsitePanel.Portal.ExchangeServer { + + + public partial class EnterpriseStorageFolderGeneralSettings { + + /// + /// asyncTasks control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks; + + /// + /// breadcrumb control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.ExchangeServer.UserControls.Breadcrumb breadcrumb; + + /// + /// menu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.ExchangeServer.UserControls.Menu menu; + + /// + /// Image1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Image Image1; + + /// + /// locTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize locTitle; + + /// + /// litFolderName control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Literal litFolderName; + + /// + /// messageBox control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.UserControls.SimpleMessageBox messageBox; + + /// + /// locFolderName control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize locFolderName; + + /// + /// txtFolderName control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtFolderName; + + /// + /// valRequireFolderName control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator valRequireFolderName; + + /// + /// locFolderUrl control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize locFolderUrl; + + /// + /// lblFolderUrl control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblFolderUrl; + + /// + /// locDirectoryBrowsing control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize locDirectoryBrowsing; + + /// + /// chkDirectoryBrowsing control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkDirectoryBrowsing; + + /// + /// PermissionsPanel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl PermissionsPanel; + + /// + /// PermissionsSection control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize PermissionsSection; + + /// + /// permissions control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.ExchangeServer.UserControls.EnterpriseStoragePermissions permissions; + + /// + /// btnSave control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSave; + + /// + /// valSummary control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ValidationSummary valSummary; + } +} diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolders.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolders.ascx new file mode 100644 index 00000000..eff151eb --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolders.ascx @@ -0,0 +1,105 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EnterpriseStorageFolders.ascx.cs" Inherits="WebsitePanel.Portal.ExchangeServer.EnterpriseStorageFolders" %> +<%@ Register Src="../UserControls/SimpleMessageBox.ascx" TagName="SimpleMessageBox" TagPrefix="wsp" %> +<%@ Register Src="UserControls/Menu.ascx" TagName="Menu" TagPrefix="wsp" %> +<%@ Register Src="UserControls/Breadcrumb.ascx" TagName="Breadcrumb" TagPrefix="wsp" %> +<%@ Register Src="../UserControls/QuotaViewer.ascx" TagName="QuotaViewer" TagPrefix="wsp" %> +<%@ Register Src="../UserControls/EnableAsyncTasksSupport.ascx" TagName="EnableAsyncTasksSupport" TagPrefix="wsp" %> + + + +
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+ + +
+
+ +
+
+ + + + 10 + 20 + 50 + 100 + + + + + +
+
+ + + + + + + + <%# Eval("Name") %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +     + +
+
+
+
+
\ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolders.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolders.ascx.cs new file mode 100644 index 00000000..aad611fc --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolders.ascx.cs @@ -0,0 +1,127 @@ +// Copyright (c) 2012, Outercurve Foundation. +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, +// are permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// - Neither the name of the Outercurve Foundation nor the names of its +// contributors may be used to endorse or promote products derived from this +// software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +using System; +using System.Web.UI.WebControls; +using WebsitePanel.EnterpriseServer; +using WebsitePanel.Providers.Common; +using WebsitePanel.Providers.HostedSolution; +using WebsitePanel.Providers.OS; + +namespace WebsitePanel.Portal.ExchangeServer +{ + public partial class EnterpriseStorageFolders : WebsitePanelModuleBase + { + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + Organization org = ES.Services.Organizations.GetOrganization(PanelRequest.ItemID); + + litRootFolder.Text = org.OrganizationId; + + BindEnterpriseStorageStats(); + } + } + + public string GetFolderEditUrl(string folderName) + { + return EditUrl("SpaceID", PanelSecurity.PackageId.ToString(), "enterprisestorage_folder_settings", + "FolderID=" + folderName, + "ItemID=" + PanelRequest.ItemID); + } + + protected void BindEnterpriseStorageStats() + { + OrganizationStatistics organizationStats = ES.Services.Organizations.GetOrganizationStatisticsByOrganization(PanelRequest.ItemID); + + OrganizationStatistics tenantStats = ES.Services.Organizations.GetOrganizationStatistics(PanelRequest.ItemID); + + foldersQuota.QuotaUsedValue = organizationStats.CreatedEnterpriseStorageFolders; + + foldersQuota.QuotaValue = organizationStats.AllocatedEnterpriseStorageFolders; + + if (organizationStats.AllocatedEnterpriseStorageFolders != -1) + { + int folderAvailable = foldersQuota.QuotaAvailable = tenantStats.AllocatedEnterpriseStorageFolders - tenantStats.CreatedEnterpriseStorageFolders; + + //if (folderAvailable <= 0) + //{ + // btnAddFolder.Enabled = false; + //} + } + } + + protected void btnAddFolder_Click(object sender, EventArgs e) + { + Response.Redirect(EditUrl("ItemID", PanelRequest.ItemID.ToString(), "create_enterprisestorage_folder", + "SpaceID=" + PanelSecurity.PackageId)); + } + + protected void gvFolders_RowCommand(object sender, GridViewCommandEventArgs e) + { + if (e.CommandName == "DeleteItem") + { + // delete folder + string folderName = e.CommandArgument.ToString(); + + try + { + ResultObject result = ES.Services.EnterpriseStorage.DeleteEnterpriseFolder(PanelRequest.ItemID, folderName); + if (!result.IsSuccess) + { + messageBox.ShowMessage(result, "ENTERPRISE_STORAGE_FOLDER", "EnterpriseStorage"); + return; + } + + gvFolders.DataBind(); + } + catch (Exception ex) + { + ShowErrorMessage("ENTERPRISE_STORAGE_DELETE_FOLDER", ex); + } + } + } + + protected void odsSecurityGroupsPaged_Selected(object sender, ObjectDataSourceStatusEventArgs e) + { + if (e.Exception != null) + { + messageBox.ShowErrorMessage("ORGANIZATION_GET_SECURITY_GROUP", e.Exception); + e.ExceptionHandled = true; + } + } + + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + gvFolders.PageSize = Convert.ToInt16(ddlPageSize.SelectedValue); + + gvFolders.DataBind(); + } + } +} \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolders.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolders.ascx.designer.cs new file mode 100644 index 00000000..38f62b4e --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageFolders.ascx.designer.cs @@ -0,0 +1,196 @@ +// Copyright (c) 2012, Outercurve Foundation. +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, +// are permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// - Neither the name of the Outercurve Foundation nor the names of its +// contributors may be used to endorse or promote products derived from this +// software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebsitePanel.Portal.ExchangeServer { + + + public partial class EnterpriseStorageFolders { + + /// + /// asyncTasks control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks; + + /// + /// breadcrumb control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.ExchangeServer.UserControls.Breadcrumb breadcrumb; + + /// + /// menu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.ExchangeServer.UserControls.Menu menu; + + /// + /// imgESS control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Image imgESS; + + /// + /// locTitle control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize locTitle; + + /// + /// litRootFolder control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Literal litRootFolder; + + /// + /// messageBox control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.UserControls.SimpleMessageBox messageBox; + + /// + /// btnAddFolder control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnAddFolder; + + /// + /// SearchPanel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel SearchPanel; + + /// + /// locSearch control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize locSearch; + + /// + /// ddlPageSize control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlPageSize; + + /// + /// txtSearchValue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtSearchValue; + + /// + /// cmdSearch control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ImageButton cmdSearch; + + /// + /// gvFolders control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView gvFolders; + + /// + /// odsEnterpriseFoldersPaged control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsEnterpriseFoldersPaged; + + /// + /// locQuota control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize locQuota; + + /// + /// foldersQuota control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebsitePanel.Portal.QuotaViewer foldersQuota; + } +} diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageSpaces.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageSpaces.ascx.designer.cs index 9c027dbd..ab2c2ca7 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageSpaces.ascx.designer.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/EnterpriseStorageSpaces.ascx.designer.cs @@ -26,7 +26,6 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - //------------------------------------------------------------------------------ // // This code was generated by a tool. diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/App_LocalResources/EnterpriseStoragePermissions.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/App_LocalResources/EnterpriseStoragePermissions.ascx.resx new file mode 100644 index 00000000..ccc8a35f --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/App_LocalResources/EnterpriseStoragePermissions.ascx.resx @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Add... + + + Add Accounts + + + Cancel + + + Delete + + + Set Read-Only + + + Set Read-Write + + + Display Name + + + E-mail Address + + + Display Name + + + Email + + + The list of permissions is empty. Click "Add..." button to add permissions. + + + Permissions + + + Users/Groups + + + No accounts found. + + + Organization Accounts + + + Enable Directory Browsing: + + + Include in search: + + \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/App_LocalResources/Menu.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/App_LocalResources/Menu.ascx.resx index 33a5df4a..59698647 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/App_LocalResources/Menu.ascx.resx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/App_LocalResources/Menu.ascx.resx @@ -207,7 +207,7 @@ Enterprise Storage - - Spaces + + Folders \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/EnterpriseStoragePermissions.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/EnterpriseStoragePermissions.ascx new file mode 100644 index 00000000..c250f192 --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/EnterpriseStoragePermissions.ascx @@ -0,0 +1,122 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EnterpriseStoragePermissions.ascx.cs" Inherits="WebsitePanel.Portal.ExchangeServer.UserControls.EnterpriseStoragePermissions" %> +<%@ Register Src="../../UserControls/PopupHeader.ascx" TagName="PopupHeader" TagPrefix="wsp" %> + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + +
+
\ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/EnterpriseStoragePermissions.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/EnterpriseStoragePermissions.ascx.cs new file mode 100644 index 00000000..aeda8efd --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/EnterpriseStoragePermissions.ascx.cs @@ -0,0 +1,292 @@ +// Copyright (c) 2012, Outercurve Foundation. +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, +// are permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// - Neither the name of the Outercurve Foundation nor the names of its +// contributors may be used to endorse or promote products derived from this +// software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +using System; +using System.Collections.Generic; +using System.Web.UI; +using System.Web.UI.WebControls; +using WebsitePanel.Providers.HostedSolution; +using System.Linq; +using WebsitePanel.Providers.Web; +using WebsitePanel.EnterpriseServer.Base.HostedSolution; + +namespace WebsitePanel.Portal.ExchangeServer.UserControls +{ + public partial class EnterpriseStoragePermissions : WebsitePanelControlBase + { + public const string DirectionString = "DirectionString"; + + protected enum SelectedState + { + All, + Selected, + Unselected + } + + public void SetPermissions(ESPermission[] permissions) + { + BindAccounts(permissions, false); + } + + public ESPermission[] GetPemissions() + { + return GetGridViewPermissions(SelectedState.All).ToArray(); + } + + protected void Page_Load(object sender, EventArgs e) + { + // register javascript + if (!Page.ClientScript.IsClientScriptBlockRegistered("SelectAllCheckboxes")) + { + string script = @" function SelectAllCheckboxes(box) + { + var state = box.checked; + var elm = box.parentElement.parentElement.parentElement.parentElement.getElementsByTagName(""INPUT""); + for(i = 0; i < elm.length; i++) + if(elm[i].type == ""checkbox"" && elm[i].id != box.id && elm[i].checked != state && !elm[i].disabled) + elm[i].checked = state; + }"; + Page.ClientScript.RegisterClientScriptBlock(typeof(EnterpriseStoragePermissions), "SelectAllCheckboxes", + script, true); + } + } + + protected void btnAdd_Click(object sender, EventArgs e) + { + // bind all accounts + BindPopupAccounts(); + + // show modal + AddAccountsModal.Show(); + } + + protected void btnDelete_Click(object sender, EventArgs e) + { + List selectedAccounts = GetGridViewPermissions(SelectedState.Unselected); + + BindAccounts(selectedAccounts.ToArray(), false); + } + + protected void btnAddSelected_Click(object sender, EventArgs e) + { + List selectedAccounts = GetGridViewAccounts(); + + List permissions = new List(); + foreach (ExchangeAccount account in selectedAccounts) + { + permissions.Add(new ESPermission + { + Account = account.AccountName, + DisplayName = account.DisplayName, + Access = "Read-Only", + }); + } + + BindAccounts(permissions.ToArray(), true); + + } + + public string GetAccountImage(int accountTypeId) + { + string imgName = string.Empty; + + ExchangeAccountType accountType = (ExchangeAccountType)accountTypeId; + switch (accountType) + { + case ExchangeAccountType.Room: + imgName = "room_16.gif"; + break; + case ExchangeAccountType.Equipment: + imgName = "equipment_16.gif"; + break; + case ExchangeAccountType.SecurityGroup: + imgName = "dlist_16.gif"; + break; + case ExchangeAccountType.DefaultSecurityGroup: + imgName = "dlist_16.gif"; + break; + default: + imgName = "admin_16.png"; + break; + } + + return GetThemedImage("Exchange/" + imgName); + } + + protected void BindPopupAccounts() + { + ExchangeAccount[] accounts = ES.Services.EnterpriseStorage.SearchESAccounts(PanelRequest.ItemID, + ddlSearchColumn.SelectedValue, txtSearchValue.Text + "%", ""); + + List newAccounts = new List(); + + accounts = accounts.Where(x => !GetPemissions().Select(p => p.Account).Contains(x.AccountName)).ToArray(); + Array.Sort(accounts, CompareAccount); + if (Direction == SortDirection.Ascending) + { + Array.Reverse(accounts); + Direction = SortDirection.Descending; + } + else + Direction = SortDirection.Ascending; + + gvPopupAccounts.DataSource = accounts; + gvPopupAccounts.DataBind(); + } + + protected void BindAccounts(ESPermission[] newPermissions, bool preserveExisting) + { + // get binded addresses + List permissions = new List(); + if(preserveExisting) + permissions.AddRange(GetGridViewPermissions(SelectedState.All)); + + // add new accounts + if (newPermissions != null) + { + foreach (ESPermission newPermission in newPermissions) + { + // check if exists + bool exists = false; + foreach (ESPermission permission in permissions) + { + if (String.Compare(newPermission.Account, permission.Account, true) == 0) + { + exists = true; + break; + } + } + + if (exists) + continue; + + permissions.Add(newPermission); + } + } + + gvPermissions.DataSource = permissions; + gvPermissions.DataBind(); + } + + protected List GetGridViewPermissions(SelectedState state) + { + List permissions = new List(); + for (int i = 0; i < gvPermissions.Rows.Count; i++) + { + GridViewRow row = gvPermissions.Rows[i]; + CheckBox chkSelect = (CheckBox)row.FindControl("chkSelect"); + if (chkSelect == null) + continue; + + ExchangeAccount[] accounts = ES.Services.EnterpriseStorage.SearchESAccounts(PanelRequest.ItemID, + ddlSearchColumn.SelectedValue, txtSearchValue.Text + "%", ""); + + ESPermission permission = new ESPermission(); + permission.Account = (string)gvPermissions.DataKeys[i][0]; + permission.Access = ((Literal)row.FindControl("litAccess")).Text; + permission.DisplayName = ((Literal)row.FindControl("litAccount")).Text; + + if (state == SelectedState.All || + (state == SelectedState.Selected && chkSelect.Checked) || + (state == SelectedState.Unselected && !chkSelect.Checked)) + permissions.Add(permission); + } + + return permissions; + } + + protected List GetGridViewAccounts() + { + List accounts = new List(); + for (int i = 0; i < gvPopupAccounts.Rows.Count; i++) + { + GridViewRow row = gvPopupAccounts.Rows[i]; + CheckBox chkSelect = (CheckBox)row.FindControl("chkSelect"); + if (chkSelect == null) + continue; + + if (chkSelect.Checked) + { + accounts.Add(new ExchangeAccount + { + AccountName = (string)gvPopupAccounts.DataKeys[i][0], + DisplayName = ((Literal)row.FindControl("litDisplayName")).Text + }); + } + } + + return accounts; + + } + + protected void cmdSearch_Click(object sender, ImageClickEventArgs e) + { + BindPopupAccounts(); + } + + protected SortDirection Direction + { + get { return ViewState[DirectionString] == null ? SortDirection.Descending : (SortDirection)ViewState[DirectionString]; } + set { ViewState[DirectionString] = value; } + } + + protected static int CompareAccount(ExchangeAccount user1, ExchangeAccount user2) + { + return string.Compare(user1.DisplayName, user2.DisplayName); + } + + protected void btn_UpdateAccess(object sender, EventArgs e) + { + if (gvPermissions.HeaderRow != null) + { + CheckBox chkAllSelect = (CheckBox)gvPermissions.HeaderRow.FindControl("chkSelectAll"); + if (chkAllSelect != null) + { + chkAllSelect.Checked = false; + } + } + + for (int i = 0; i < gvPermissions.Rows.Count; i++) + { + GridViewRow row = gvPermissions.Rows[i]; + + CheckBox chkSelect = (CheckBox)row.FindControl("chkSelect"); + Literal litAccess = (Literal)row.FindControl("litAccess"); + + if (chkSelect == null || litAccess == null) + continue; + + if (chkSelect.Checked) + { + chkSelect.Checked = false; + litAccess.Text = ((Button)sender).CommandArgument; + } + } + } + } +} \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/EnterpriseStoragePermissions.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/EnterpriseStoragePermissions.ascx.designer.cs new file mode 100644 index 00000000..1820355e --- /dev/null +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/EnterpriseStoragePermissions.ascx.designer.cs @@ -0,0 +1,205 @@ +// Copyright (c) 2012, Outercurve Foundation. +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, +// are permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// - Neither the name of the Outercurve Foundation nor the names of its +// contributors may be used to endorse or promote products derived from this +// software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebsitePanel.Portal.ExchangeServer.UserControls { + + + public partial class EnterpriseStoragePermissions { + + /// + /// PermissionsUpdatePanel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel PermissionsUpdatePanel; + + /// + /// btnAdd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnAdd; + + /// + /// btnDelete control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnDelete; + + /// + /// gvPermissions control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView gvPermissions; + + /// + /// btnSetReadOnly control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSetReadOnly; + + /// + /// btnSetReadWrite control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnSetReadWrite; + + /// + /// AddAccountsPanel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel AddAccountsPanel; + + /// + /// headerAddAccounts control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Localize headerAddAccounts; + + /// + /// AddAccountsUpdatePanel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel AddAccountsUpdatePanel; + + /// + /// SearchPanel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel SearchPanel; + + /// + /// ddlSearchColumn control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlSearchColumn; + + /// + /// txtSearchValue control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtSearchValue; + + /// + /// cmdSearch control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ImageButton cmdSearch; + + /// + /// gvPopupAccounts control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView gvPopupAccounts; + + /// + /// btnAddSelected control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnAddSelected; + + /// + /// btnCancelAdd control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnCancelAdd; + + /// + /// btnAddAccountsFake control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnAddAccountsFake; + + /// + /// AddAccountsModal control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::AjaxControlToolkit.ModalPopupExtender AddAccountsModal; + } +} diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/Menu.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/Menu.ascx.cs index 4fa2b70e..5b0221bf 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/Menu.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ExchangeServer/UserControls/Menu.ascx.cs @@ -254,7 +254,7 @@ namespace WebsitePanel.Portal.ExchangeServer.UserControls MenuGroup enterpriseStorageGroup = new MenuGroup(GetLocalizedString("Text.EnterpriseStorageGroup"), imagePath + "spaces16.png"); - enterpriseStorageGroup.MenuItems.Add(CreateMenuItem("EnterpriseStorageSpaces", "enterprisestorage_spaces")); + enterpriseStorageGroup.MenuItems.Add(CreateMenuItem("EnterpriseStorageFolders", "enterprisestorage_folders")); groups.Add(enterpriseStorageGroup); } diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/App_LocalResources/EnterpriseStorage_Settings.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/App_LocalResources/EnterpriseStorage_Settings.ascx.resx index 5e4ec076..9695a9e9 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/App_LocalResources/EnterpriseStorage_Settings.ascx.resx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/App_LocalResources/EnterpriseStorage_Settings.ascx.resx @@ -126,4 +126,7 @@ Enterprise Storage Folder: + + Enterprise Storage Domain: + \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx index 7ff94ecb..c731bd46 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx @@ -7,6 +7,16 @@ + + + + + + + + + diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx.cs index 8024ccf6..f448c56d 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx.cs @@ -64,6 +64,7 @@ namespace WebsitePanel.Portal.ProviderControls { txtFolder.Text = settings["UsersHome"]; txtLocationDrive.Text = settings["LocationDrive"]; + txtDomain.Text = settings["UsersDomain"]; chkEnableHardQuota.Checked = settings["EnableHardQuota"] == "true" ? true : false; } @@ -71,6 +72,7 @@ namespace WebsitePanel.Portal.ProviderControls { settings["UsersHome"] = txtFolder.Text; settings["LocationDrive"] = txtLocationDrive.Text; + settings["UsersDomain"] = txtDomain.Text; settings["EnableHardQuota"] = chkEnableHardQuota.Checked.ToString().ToLower(); } } diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx.designer.cs index 0326da79..5f4e59a0 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx.designer.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/EnterpriseStorage_Settings.ascx.designer.cs @@ -58,6 +58,33 @@ namespace WebsitePanel.Portal.ProviderControls { /// protected global::System.Web.UI.WebControls.TextBox txtFolder; + /// + /// lblDomain control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDomain; + + /// + /// txtDomain control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDomain; + + /// + /// valDomain control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.RequiredFieldValidator valDomain; + /// /// lblLocationDrive control. /// diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebsitePanel.Portal.Modules.csproj b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebsitePanel.Portal.Modules.csproj index 8eef80c9..08feaaf0 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebsitePanel.Portal.Modules.csproj +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebsitePanel.Portal.Modules.csproj @@ -169,6 +169,7 @@ + @@ -209,12 +210,26 @@ - - EnterpriseStorageSpaces.ascx + + EnterpriseStorageFolderGeneralSettings.ascx ASPXCodeBehind - - EnterpriseStorageSpaces.ascx + + EnterpriseStorageFolderGeneralSettings.ascx + + + EnterpriseStorageCreateFolder.ascx + ASPXCodeBehind + + + EnterpriseStorageCreateFolder.ascx + + + EnterpriseStorageFolders.ascx + ASPXCodeBehind + + + EnterpriseStorageFolders.ascx OrganizationSecurityGroupMemberOf.ascx @@ -297,6 +312,13 @@ AccountsListWithPermissions.ascx ASPXCodeBehind + + EnterpriseStoragePermissions.ascx + ASPXCodeBehind + + + EnterpriseStoragePermissions.ascx + GroupsList.ascx ASPXCodeBehind @@ -4008,7 +4030,9 @@
- + + + @@ -4021,6 +4045,7 @@ + @@ -5240,11 +5265,18 @@ Designer - - + + Designer + + + Designer + Designer + + + Designer