//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.7905 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // // This source code was auto-generated by wsdl, Version=2.0.50727.3038. // using WebsitePanel.EnterpriseServer.Base.HostedSolution; using WebsitePanel.Providers; using WebsitePanel.Providers.Common; using WebsitePanel.Providers.HostedSolution; using WebsitePanel.Providers.OS; 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.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [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 { private System.Threading.SendOrPostCallback AddWebDavAccessTokenOperationCompleted; private System.Threading.SendOrPostCallback DeleteExpiredWebDavAccessTokensOperationCompleted; private System.Threading.SendOrPostCallback GetWebDavAccessTokenByIdOperationCompleted; private System.Threading.SendOrPostCallback GetWebDavAccessTokenByAccessTokenOperationCompleted; 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 GetEnterpriseFolderPermissionsOperationCompleted; private System.Threading.SendOrPostCallback SetEnterpriseFolderPermissionsOperationCompleted; private System.Threading.SendOrPostCallback SearchESAccountsOperationCompleted; private System.Threading.SendOrPostCallback GetEnterpriseFoldersPagedOperationCompleted; private System.Threading.SendOrPostCallback RenameEnterpriseFolderOperationCompleted; private System.Threading.SendOrPostCallback CreateEnterpriseStorageOperationCompleted; private System.Threading.SendOrPostCallback CheckEnterpriseStorageInitializationOperationCompleted; private System.Threading.SendOrPostCallback CheckUsersDomainExistsOperationCompleted; private System.Threading.SendOrPostCallback GetWebDavPortalUserSettingsByAccountIdOperationCompleted; private System.Threading.SendOrPostCallback UpdateWebDavPortalUserSettingsOperationCompleted; private System.Threading.SendOrPostCallback SearchFilesOperationCompleted; private System.Threading.SendOrPostCallback GetDirectoryBrowseEnabledOperationCompleted; private System.Threading.SendOrPostCallback SetDirectoryBrowseEnabledOperationCompleted; private System.Threading.SendOrPostCallback SetEnterpriseFolderSettingsOperationCompleted; private System.Threading.SendOrPostCallback GetStatisticsOperationCompleted; private System.Threading.SendOrPostCallback GetStatisticsByOrganizationOperationCompleted; private System.Threading.SendOrPostCallback CreateMappedDriveOperationCompleted; private System.Threading.SendOrPostCallback DeleteMappedDriveOperationCompleted; private System.Threading.SendOrPostCallback GetDriveMapsPagedOperationCompleted; private System.Threading.SendOrPostCallback GetUsedDriveLettersOperationCompleted; private System.Threading.SendOrPostCallback GetNotMappedEnterpriseFoldersOperationCompleted; /// public esEnterpriseStorage() { this.Url = "http://localhost:9002/esEnterpriseStorage.asmx"; } /// public event AddWebDavAccessTokenCompletedEventHandler AddWebDavAccessTokenCompleted; /// public event DeleteExpiredWebDavAccessTokensCompletedEventHandler DeleteExpiredWebDavAccessTokensCompleted; /// public event GetWebDavAccessTokenByIdCompletedEventHandler GetWebDavAccessTokenByIdCompleted; /// public event GetWebDavAccessTokenByAccessTokenCompletedEventHandler GetWebDavAccessTokenByAccessTokenCompleted; /// public event CheckFileServicesInstallationCompletedEventHandler CheckFileServicesInstallationCompleted; /// public event GetEnterpriseFoldersCompletedEventHandler GetEnterpriseFoldersCompleted; /// public event GetEnterpriseFolderCompletedEventHandler GetEnterpriseFolderCompleted; /// public event CreateEnterpriseFolderCompletedEventHandler CreateEnterpriseFolderCompleted; /// public event DeleteEnterpriseFolderCompletedEventHandler DeleteEnterpriseFolderCompleted; /// public event GetEnterpriseFolderPermissionsCompletedEventHandler GetEnterpriseFolderPermissionsCompleted; /// public event SetEnterpriseFolderPermissionsCompletedEventHandler SetEnterpriseFolderPermissionsCompleted; /// public event SearchESAccountsCompletedEventHandler SearchESAccountsCompleted; /// public event GetEnterpriseFoldersPagedCompletedEventHandler GetEnterpriseFoldersPagedCompleted; /// public event RenameEnterpriseFolderCompletedEventHandler RenameEnterpriseFolderCompleted; /// public event CreateEnterpriseStorageCompletedEventHandler CreateEnterpriseStorageCompleted; /// public event CheckEnterpriseStorageInitializationCompletedEventHandler CheckEnterpriseStorageInitializationCompleted; /// public event CheckUsersDomainExistsCompletedEventHandler CheckUsersDomainExistsCompleted; /// public event GetWebDavPortalUserSettingsByAccountIdCompletedEventHandler GetWebDavPortalUserSettingsByAccountIdCompleted; /// public event UpdateWebDavPortalUserSettingsCompletedEventHandler UpdateWebDavPortalUserSettingsCompleted; /// public event SearchFilesCompletedEventHandler SearchFilesCompleted; /// public event GetDirectoryBrowseEnabledCompletedEventHandler GetDirectoryBrowseEnabledCompleted; /// public event SetDirectoryBrowseEnabledCompletedEventHandler SetDirectoryBrowseEnabledCompleted; /// public event SetEnterpriseFolderSettingsCompletedEventHandler SetEnterpriseFolderSettingsCompleted; /// public event GetStatisticsCompletedEventHandler GetStatisticsCompleted; /// public event GetStatisticsByOrganizationCompletedEventHandler GetStatisticsByOrganizationCompleted; /// public event CreateMappedDriveCompletedEventHandler CreateMappedDriveCompleted; /// public event DeleteMappedDriveCompletedEventHandler DeleteMappedDriveCompleted; /// public event GetDriveMapsPagedCompletedEventHandler GetDriveMapsPagedCompleted; /// public event GetUsedDriveLettersCompletedEventHandler GetUsedDriveLettersCompleted; /// public event GetNotMappedEnterpriseFoldersCompletedEventHandler GetNotMappedEnterpriseFoldersCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddWebDavAccessToken", 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 AddWebDavAccessToken(WebDavAccessToken accessToken) { object[] results = this.Invoke("AddWebDavAccessToken", new object[] { accessToken}); return ((int)(results[0])); } /// public System.IAsyncResult BeginAddWebDavAccessToken(WebDavAccessToken accessToken, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("AddWebDavAccessToken", new object[] { accessToken}, callback, asyncState); } /// public int EndAddWebDavAccessToken(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } /// public void AddWebDavAccessTokenAsync(WebDavAccessToken accessToken) { this.AddWebDavAccessTokenAsync(accessToken, null); } /// public void AddWebDavAccessTokenAsync(WebDavAccessToken accessToken, object userState) { if ((this.AddWebDavAccessTokenOperationCompleted == null)) { this.AddWebDavAccessTokenOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddWebDavAccessTokenOperationCompleted); } this.InvokeAsync("AddWebDavAccessToken", new object[] { accessToken}, this.AddWebDavAccessTokenOperationCompleted, userState); } private void OnAddWebDavAccessTokenOperationCompleted(object arg) { if ((this.AddWebDavAccessTokenCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddWebDavAccessTokenCompleted(this, new AddWebDavAccessTokenCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteExpiredWebDavAccessTokens", 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 DeleteExpiredWebDavAccessTokens() { this.Invoke("DeleteExpiredWebDavAccessTokens", new object[0]); } /// public System.IAsyncResult BeginDeleteExpiredWebDavAccessTokens(System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("DeleteExpiredWebDavAccessTokens", new object[0], callback, asyncState); } /// public void EndDeleteExpiredWebDavAccessTokens(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void DeleteExpiredWebDavAccessTokensAsync() { this.DeleteExpiredWebDavAccessTokensAsync(null); } /// public void DeleteExpiredWebDavAccessTokensAsync(object userState) { if ((this.DeleteExpiredWebDavAccessTokensOperationCompleted == null)) { this.DeleteExpiredWebDavAccessTokensOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteExpiredWebDavAccessTokensOperationCompleted); } this.InvokeAsync("DeleteExpiredWebDavAccessTokens", new object[0], this.DeleteExpiredWebDavAccessTokensOperationCompleted, userState); } private void OnDeleteExpiredWebDavAccessTokensOperationCompleted(object arg) { if ((this.DeleteExpiredWebDavAccessTokensCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteExpiredWebDavAccessTokensCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebDavAccessTokenById", 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 WebDavAccessToken GetWebDavAccessTokenById(int id) { object[] results = this.Invoke("GetWebDavAccessTokenById", new object[] { id}); return ((WebDavAccessToken)(results[0])); } /// public System.IAsyncResult BeginGetWebDavAccessTokenById(int id, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetWebDavAccessTokenById", new object[] { id}, callback, asyncState); } /// public WebDavAccessToken EndGetWebDavAccessTokenById(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((WebDavAccessToken)(results[0])); } /// public void GetWebDavAccessTokenByIdAsync(int id) { this.GetWebDavAccessTokenByIdAsync(id, null); } /// public void GetWebDavAccessTokenByIdAsync(int id, object userState) { if ((this.GetWebDavAccessTokenByIdOperationCompleted == null)) { this.GetWebDavAccessTokenByIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWebDavAccessTokenByIdOperationCompleted); } this.InvokeAsync("GetWebDavAccessTokenById", new object[] { id}, this.GetWebDavAccessTokenByIdOperationCompleted, userState); } private void OnGetWebDavAccessTokenByIdOperationCompleted(object arg) { if ((this.GetWebDavAccessTokenByIdCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetWebDavAccessTokenByIdCompleted(this, new GetWebDavAccessTokenByIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebDavAccessTokenByAccessToken", 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 WebDavAccessToken GetWebDavAccessTokenByAccessToken(System.Guid accessToken) { object[] results = this.Invoke("GetWebDavAccessTokenByAccessToken", new object[] { accessToken}); return ((WebDavAccessToken)(results[0])); } /// public System.IAsyncResult BeginGetWebDavAccessTokenByAccessToken(System.Guid accessToken, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetWebDavAccessTokenByAccessToken", new object[] { accessToken}, callback, asyncState); } /// public WebDavAccessToken EndGetWebDavAccessTokenByAccessToken(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((WebDavAccessToken)(results[0])); } /// public void GetWebDavAccessTokenByAccessTokenAsync(System.Guid accessToken) { this.GetWebDavAccessTokenByAccessTokenAsync(accessToken, null); } /// public void GetWebDavAccessTokenByAccessTokenAsync(System.Guid accessToken, object userState) { if ((this.GetWebDavAccessTokenByAccessTokenOperationCompleted == null)) { this.GetWebDavAccessTokenByAccessTokenOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWebDavAccessTokenByAccessTokenOperationCompleted); } this.InvokeAsync("GetWebDavAccessTokenByAccessToken", new object[] { accessToken}, this.GetWebDavAccessTokenByAccessTokenOperationCompleted, userState); } private void OnGetWebDavAccessTokenByAccessTokenOperationCompleted(object arg) { if ((this.GetWebDavAccessTokenByAccessTokenCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetWebDavAccessTokenByAccessTokenCompleted(this, new GetWebDavAccessTokenByAccessTokenCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [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) { return this.BeginInvoke("CheckFileServicesInstallation", new object[] { serviceId}, callback, asyncState); } /// public bool EndCheckFileServicesInstallation(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } /// public void CheckFileServicesInstallationAsync(int serviceId) { this.CheckFileServicesInstallationAsync(serviceId, 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)) { 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) { object[] results = this.Invoke("GetEnterpriseFolders", new object[] { itemId}); return ((SystemFile[])(results[0])); } /// 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) { object[] results = this.EndInvoke(asyncResult); return ((SystemFile[])(results[0])); } /// public void GetEnterpriseFoldersAsync(int itemId) { this.GetEnterpriseFoldersAsync(itemId, 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)) { 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) { 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) { return this.BeginInvoke("GetEnterpriseFolder", new object[] { itemId, folderName}, callback, asyncState); } /// public SystemFile EndGetEnterpriseFolder(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((SystemFile)(results[0])); } /// 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)) { 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)) { 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, int quota, QuotaType quotaType, bool addDefaultGroup) { object[] results = this.Invoke("CreateEnterpriseFolder", new object[] { itemId, folderName, quota, quotaType, addDefaultGroup}); return ((ResultObject)(results[0])); } /// public System.IAsyncResult BeginCreateEnterpriseFolder(int itemId, string folderName, int quota, QuotaType quotaType, bool addDefaultGroup, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CreateEnterpriseFolder", new object[] { itemId, folderName, quota, quotaType, addDefaultGroup}, callback, asyncState); } /// public ResultObject EndCreateEnterpriseFolder(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } /// public void CreateEnterpriseFolderAsync(int itemId, string folderName, int quota, QuotaType quotaType, bool addDefaultGroup) { this.CreateEnterpriseFolderAsync(itemId, folderName, quota, quotaType, addDefaultGroup, null); } /// public void CreateEnterpriseFolderAsync(int itemId, string folderName, int quota, QuotaType quotaType, bool addDefaultGroup, object userState) { if ((this.CreateEnterpriseFolderOperationCompleted == null)) { this.CreateEnterpriseFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateEnterpriseFolderOperationCompleted); } this.InvokeAsync("CreateEnterpriseFolder", new object[] { itemId, folderName, quota, quotaType, addDefaultGroup}, this.CreateEnterpriseFolderOperationCompleted, userState); } 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) { 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) { return this.BeginInvoke("DeleteEnterpriseFolder", new object[] { itemId, folderName}, callback, asyncState); } /// public ResultObject EndDeleteEnterpriseFolder(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } /// 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)) { 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)) { 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/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, permission}); return ((ResultObject)(results[0])); } /// public System.IAsyncResult BeginSetEnterpriseFolderPermissions(int itemId, string folderName, ESPermission[] permission, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("SetEnterpriseFolderPermissions", new object[] { itemId, folderName, permission}, callback, asyncState); } /// public ResultObject EndSetEnterpriseFolderPermissions(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } /// public void SetEnterpriseFolderPermissionsAsync(int itemId, string folderName, ESPermission[] permission) { this.SetEnterpriseFolderPermissionsAsync(itemId, folderName, permission, null); } /// 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("SetEnterpriseFolderPermissions", new object[] { itemId, folderName, permission}, this.SetEnterpriseFolderPermissionsOperationCompleted, userState); } private void OnSetEnterpriseFolderPermissionsOperationCompleted(object arg) { if ((this.SetEnterpriseFolderPermissionsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SetEnterpriseFolderPermissionsCompleted(this, new SetEnterpriseFolderPermissionsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.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)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CreateEnterpriseStorage", 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 CreateEnterpriseStorage(int packageId, int itemId) { object[] results = this.Invoke("CreateEnterpriseStorage", new object[] { packageId, itemId}); return ((ResultObject)(results[0])); } /// public System.IAsyncResult BeginCreateEnterpriseStorage(int packageId, int itemId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CreateEnterpriseStorage", new object[] { packageId, itemId}, callback, asyncState); } /// public ResultObject EndCreateEnterpriseStorage(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } /// public void CreateEnterpriseStorageAsync(int packageId, int itemId) { this.CreateEnterpriseStorageAsync(packageId, itemId, null); } /// public void CreateEnterpriseStorageAsync(int packageId, int itemId, object userState) { if ((this.CreateEnterpriseStorageOperationCompleted == null)) { this.CreateEnterpriseStorageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateEnterpriseStorageOperationCompleted); } this.InvokeAsync("CreateEnterpriseStorage", new object[] { packageId, itemId}, this.CreateEnterpriseStorageOperationCompleted, userState); } private void OnCreateEnterpriseStorageOperationCompleted(object arg) { if ((this.CreateEnterpriseStorageCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CreateEnterpriseStorageCompleted(this, new CreateEnterpriseStorageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckEnterpriseStorageInitialization" + "", 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 CheckEnterpriseStorageInitialization(int packageId, int itemId) { object[] results = this.Invoke("CheckEnterpriseStorageInitialization", new object[] { packageId, itemId}); return ((bool)(results[0])); } /// public System.IAsyncResult BeginCheckEnterpriseStorageInitialization(int packageId, int itemId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CheckEnterpriseStorageInitialization", new object[] { packageId, itemId}, callback, asyncState); } /// public bool EndCheckEnterpriseStorageInitialization(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } /// public void CheckEnterpriseStorageInitializationAsync(int packageId, int itemId) { this.CheckEnterpriseStorageInitializationAsync(packageId, itemId, null); } /// public void CheckEnterpriseStorageInitializationAsync(int packageId, int itemId, object userState) { if ((this.CheckEnterpriseStorageInitializationOperationCompleted == null)) { this.CheckEnterpriseStorageInitializationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckEnterpriseStorageInitializationOperationCompleted); } this.InvokeAsync("CheckEnterpriseStorageInitialization", new object[] { packageId, itemId}, this.CheckEnterpriseStorageInitializationOperationCompleted, userState); } private void OnCheckEnterpriseStorageInitializationOperationCompleted(object arg) { if ((this.CheckEnterpriseStorageInitializationCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CheckEnterpriseStorageInitializationCompleted(this, new CheckEnterpriseStorageInitializationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckUsersDomainExists", 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 CheckUsersDomainExists(int itemId) { object[] results = this.Invoke("CheckUsersDomainExists", new object[] { itemId}); return ((bool)(results[0])); } /// public System.IAsyncResult BeginCheckUsersDomainExists(int itemId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CheckUsersDomainExists", new object[] { itemId}, callback, asyncState); } /// public bool EndCheckUsersDomainExists(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((bool)(results[0])); } /// public void CheckUsersDomainExistsAsync(int itemId) { this.CheckUsersDomainExistsAsync(itemId, null); } /// public void CheckUsersDomainExistsAsync(int itemId, object userState) { if ((this.CheckUsersDomainExistsOperationCompleted == null)) { this.CheckUsersDomainExistsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckUsersDomainExistsOperationCompleted); } this.InvokeAsync("CheckUsersDomainExists", new object[] { itemId}, this.CheckUsersDomainExistsOperationCompleted, userState); } private void OnCheckUsersDomainExistsOperationCompleted(object arg) { if ((this.CheckUsersDomainExistsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CheckUsersDomainExistsCompleted(this, new CheckUsersDomainExistsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetWebDavPortalUserSettingsByAccount" + "Id", 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 GetWebDavPortalUserSettingsByAccountId(int accountId) { object[] results = this.Invoke("GetWebDavPortalUserSettingsByAccountId", new object[] { accountId}); return ((string)(results[0])); } /// public System.IAsyncResult BeginGetWebDavPortalUserSettingsByAccountId(int accountId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetWebDavPortalUserSettingsByAccountId", new object[] { accountId}, callback, asyncState); } /// public string EndGetWebDavPortalUserSettingsByAccountId(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// public void GetWebDavPortalUserSettingsByAccountIdAsync(int accountId) { this.GetWebDavPortalUserSettingsByAccountIdAsync(accountId, null); } /// public void GetWebDavPortalUserSettingsByAccountIdAsync(int accountId, object userState) { if ((this.GetWebDavPortalUserSettingsByAccountIdOperationCompleted == null)) { this.GetWebDavPortalUserSettingsByAccountIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWebDavPortalUserSettingsByAccountIdOperationCompleted); } this.InvokeAsync("GetWebDavPortalUserSettingsByAccountId", new object[] { accountId}, this.GetWebDavPortalUserSettingsByAccountIdOperationCompleted, userState); } private void OnGetWebDavPortalUserSettingsByAccountIdOperationCompleted(object arg) { if ((this.GetWebDavPortalUserSettingsByAccountIdCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetWebDavPortalUserSettingsByAccountIdCompleted(this, new GetWebDavPortalUserSettingsByAccountIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateWebDavPortalUserSettings", 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 UpdateWebDavPortalUserSettings(int accountId, string settings) { this.Invoke("UpdateWebDavPortalUserSettings", new object[] { accountId, settings}); } /// public System.IAsyncResult BeginUpdateWebDavPortalUserSettings(int accountId, string settings, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("UpdateWebDavPortalUserSettings", new object[] { accountId, settings}, callback, asyncState); } /// public void EndUpdateWebDavPortalUserSettings(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void UpdateWebDavPortalUserSettingsAsync(int accountId, string settings) { this.UpdateWebDavPortalUserSettingsAsync(accountId, settings, null); } /// public void UpdateWebDavPortalUserSettingsAsync(int accountId, string settings, object userState) { if ((this.UpdateWebDavPortalUserSettingsOperationCompleted == null)) { this.UpdateWebDavPortalUserSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateWebDavPortalUserSettingsOperationCompleted); } this.InvokeAsync("UpdateWebDavPortalUserSettings", new object[] { accountId, settings}, this.UpdateWebDavPortalUserSettingsOperationCompleted, userState); } private void OnUpdateWebDavPortalUserSettingsOperationCompleted(object arg) { if ((this.UpdateWebDavPortalUserSettingsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateWebDavPortalUserSettingsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SearchFiles", 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[] SearchFiles(int itemId, string searchPath, string searchText, string userPrincipalName, bool recursive) { object[] results = this.Invoke("SearchFiles", new object[] { itemId, searchPath, searchText, userPrincipalName, recursive}); return ((SystemFile[])(results[0])); } /// public System.IAsyncResult BeginSearchFiles(int itemId, string searchPath, string searchText, string userPrincipalName, bool recursive, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("SearchFiles", new object[] { itemId, searchPath, searchText, userPrincipalName, recursive}, callback, asyncState); } /// public SystemFile[] EndSearchFiles(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((SystemFile[])(results[0])); } /// public void SearchFilesAsync(int itemId, string searchPath, string searchText, string userPrincipalName, bool recursive) { this.SearchFilesAsync(itemId, searchPath, searchText, userPrincipalName, recursive, null); } /// public void SearchFilesAsync(int itemId, string searchPath, string searchText, string userPrincipalName, bool recursive, object userState) { if ((this.SearchFilesOperationCompleted == null)) { this.SearchFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchFilesOperationCompleted); } this.InvokeAsync("SearchFiles", new object[] { itemId, searchPath, searchText, userPrincipalName, recursive}, this.SearchFilesOperationCompleted, userState); } private void OnSearchFilesOperationCompleted(object arg) { if ((this.SearchFilesCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SearchFilesCompleted(this, new SearchFilesCompletedEventArgs(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/SetEnterpriseFolderSettings", 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 SetEnterpriseFolderSettings(int itemId, SystemFile folder, ESPermission[] permissions, bool directoyBrowsingEnabled, int quota, QuotaType quotaType) { this.Invoke("SetEnterpriseFolderSettings", new object[] { itemId, folder, permissions, directoyBrowsingEnabled, quota, quotaType}); } /// public System.IAsyncResult BeginSetEnterpriseFolderSettings(int itemId, SystemFile folder, ESPermission[] permissions, bool directoyBrowsingEnabled, int quota, QuotaType quotaType, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("SetEnterpriseFolderSettings", new object[] { itemId, folder, permissions, directoyBrowsingEnabled, quota, quotaType}, callback, asyncState); } /// public void EndSetEnterpriseFolderSettings(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void SetEnterpriseFolderSettingsAsync(int itemId, SystemFile folder, ESPermission[] permissions, bool directoyBrowsingEnabled, int quota, QuotaType quotaType) { this.SetEnterpriseFolderSettingsAsync(itemId, folder, permissions, directoyBrowsingEnabled, quota, quotaType, null); } /// public void SetEnterpriseFolderSettingsAsync(int itemId, SystemFile folder, ESPermission[] permissions, bool directoyBrowsingEnabled, int quota, QuotaType quotaType, object userState) { if ((this.SetEnterpriseFolderSettingsOperationCompleted == null)) { this.SetEnterpriseFolderSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetEnterpriseFolderSettingsOperationCompleted); } this.InvokeAsync("SetEnterpriseFolderSettings", new object[] { itemId, folder, permissions, directoyBrowsingEnabled, quota, quotaType}, this.SetEnterpriseFolderSettingsOperationCompleted, userState); } private void OnSetEnterpriseFolderSettingsOperationCompleted(object arg) { if ((this.SetEnterpriseFolderSettingsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SetEnterpriseFolderSettingsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetStatistics", 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 OrganizationStatistics GetStatistics(int itemId) { object[] results = this.Invoke("GetStatistics", new object[] { itemId}); return ((OrganizationStatistics)(results[0])); } /// public System.IAsyncResult BeginGetStatistics(int itemId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetStatistics", new object[] { itemId}, callback, asyncState); } /// public OrganizationStatistics EndGetStatistics(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((OrganizationStatistics)(results[0])); } /// public void GetStatisticsAsync(int itemId) { this.GetStatisticsAsync(itemId, null); } /// public void GetStatisticsAsync(int itemId, object userState) { if ((this.GetStatisticsOperationCompleted == null)) { this.GetStatisticsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetStatisticsOperationCompleted); } this.InvokeAsync("GetStatistics", new object[] { itemId}, this.GetStatisticsOperationCompleted, userState); } private void OnGetStatisticsOperationCompleted(object arg) { if ((this.GetStatisticsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetStatisticsCompleted(this, new GetStatisticsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetStatisticsByOrganization", 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 OrganizationStatistics GetStatisticsByOrganization(int itemId) { object[] results = this.Invoke("GetStatisticsByOrganization", new object[] { itemId}); return ((OrganizationStatistics)(results[0])); } /// public System.IAsyncResult BeginGetStatisticsByOrganization(int itemId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetStatisticsByOrganization", new object[] { itemId}, callback, asyncState); } /// public OrganizationStatistics EndGetStatisticsByOrganization(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((OrganizationStatistics)(results[0])); } /// public void GetStatisticsByOrganizationAsync(int itemId) { this.GetStatisticsByOrganizationAsync(itemId, null); } /// public void GetStatisticsByOrganizationAsync(int itemId, object userState) { if ((this.GetStatisticsByOrganizationOperationCompleted == null)) { this.GetStatisticsByOrganizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetStatisticsByOrganizationOperationCompleted); } this.InvokeAsync("GetStatisticsByOrganization", new object[] { itemId}, this.GetStatisticsByOrganizationOperationCompleted, userState); } private void OnGetStatisticsByOrganizationOperationCompleted(object arg) { if ((this.GetStatisticsByOrganizationCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetStatisticsByOrganizationCompleted(this, new GetStatisticsByOrganizationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CreateMappedDrive", 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 CreateMappedDrive(int packageId, int itemId, string driveLetter, string labelAs, string folderName) { object[] results = this.Invoke("CreateMappedDrive", new object[] { packageId, itemId, driveLetter, labelAs, folderName}); return ((ResultObject)(results[0])); } /// public System.IAsyncResult BeginCreateMappedDrive(int packageId, int itemId, string driveLetter, string labelAs, string folderName, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CreateMappedDrive", new object[] { packageId, itemId, driveLetter, labelAs, folderName}, callback, asyncState); } /// public ResultObject EndCreateMappedDrive(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } /// public void CreateMappedDriveAsync(int packageId, int itemId, string driveLetter, string labelAs, string folderName) { this.CreateMappedDriveAsync(packageId, itemId, driveLetter, labelAs, folderName, null); } /// public void CreateMappedDriveAsync(int packageId, int itemId, string driveLetter, string labelAs, string folderName, object userState) { if ((this.CreateMappedDriveOperationCompleted == null)) { this.CreateMappedDriveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateMappedDriveOperationCompleted); } this.InvokeAsync("CreateMappedDrive", new object[] { packageId, itemId, driveLetter, labelAs, folderName}, this.CreateMappedDriveOperationCompleted, userState); } private void OnCreateMappedDriveOperationCompleted(object arg) { if ((this.CreateMappedDriveCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CreateMappedDriveCompleted(this, new CreateMappedDriveCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteMappedDrive", 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 DeleteMappedDrive(int itemId, string driveLetter) { object[] results = this.Invoke("DeleteMappedDrive", new object[] { itemId, driveLetter}); return ((ResultObject)(results[0])); } /// public System.IAsyncResult BeginDeleteMappedDrive(int itemId, string driveLetter, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("DeleteMappedDrive", new object[] { itemId, driveLetter}, callback, asyncState); } /// public ResultObject EndDeleteMappedDrive(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((ResultObject)(results[0])); } /// public void DeleteMappedDriveAsync(int itemId, string driveLetter) { this.DeleteMappedDriveAsync(itemId, driveLetter, null); } /// public void DeleteMappedDriveAsync(int itemId, string driveLetter, object userState) { if ((this.DeleteMappedDriveOperationCompleted == null)) { this.DeleteMappedDriveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteMappedDriveOperationCompleted); } this.InvokeAsync("DeleteMappedDrive", new object[] { itemId, driveLetter}, this.DeleteMappedDriveOperationCompleted, userState); } private void OnDeleteMappedDriveOperationCompleted(object arg) { if ((this.DeleteMappedDriveCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteMappedDriveCompleted(this, new DeleteMappedDriveCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetDriveMapsPaged", 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 MappedDrivesPaged GetDriveMapsPaged(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows) { object[] results = this.Invoke("GetDriveMapsPaged", new object[] { itemId, filterValue, sortColumn, startRow, maximumRows}); return ((MappedDrivesPaged)(results[0])); } /// public System.IAsyncResult BeginGetDriveMapsPaged(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetDriveMapsPaged", new object[] { itemId, filterValue, sortColumn, startRow, maximumRows}, callback, asyncState); } /// public MappedDrivesPaged EndGetDriveMapsPaged(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((MappedDrivesPaged)(results[0])); } /// public void GetDriveMapsPagedAsync(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows) { this.GetDriveMapsPagedAsync(itemId, filterValue, sortColumn, startRow, maximumRows, null); } /// public void GetDriveMapsPagedAsync(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) { if ((this.GetDriveMapsPagedOperationCompleted == null)) { this.GetDriveMapsPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDriveMapsPagedOperationCompleted); } this.InvokeAsync("GetDriveMapsPaged", new object[] { itemId, filterValue, sortColumn, startRow, maximumRows}, this.GetDriveMapsPagedOperationCompleted, userState); } private void OnGetDriveMapsPagedOperationCompleted(object arg) { if ((this.GetDriveMapsPagedCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetDriveMapsPagedCompleted(this, new GetDriveMapsPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetUsedDriveLetters", 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[] GetUsedDriveLetters(int itemId) { object[] results = this.Invoke("GetUsedDriveLetters", new object[] { itemId}); return ((string[])(results[0])); } /// public System.IAsyncResult BeginGetUsedDriveLetters(int itemId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetUsedDriveLetters", new object[] { itemId}, callback, asyncState); } /// public string[] EndGetUsedDriveLetters(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string[])(results[0])); } /// public void GetUsedDriveLettersAsync(int itemId) { this.GetUsedDriveLettersAsync(itemId, null); } /// public void GetUsedDriveLettersAsync(int itemId, object userState) { if ((this.GetUsedDriveLettersOperationCompleted == null)) { this.GetUsedDriveLettersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUsedDriveLettersOperationCompleted); } this.InvokeAsync("GetUsedDriveLetters", new object[] { itemId}, this.GetUsedDriveLettersOperationCompleted, userState); } private void OnGetUsedDriveLettersOperationCompleted(object arg) { if ((this.GetUsedDriveLettersCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetUsedDriveLettersCompleted(this, new GetUsedDriveLettersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetNotMappedEnterpriseFolders", 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[] GetNotMappedEnterpriseFolders(int itemId) { object[] results = this.Invoke("GetNotMappedEnterpriseFolders", new object[] { itemId}); return ((SystemFile[])(results[0])); } /// public System.IAsyncResult BeginGetNotMappedEnterpriseFolders(int itemId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetNotMappedEnterpriseFolders", new object[] { itemId}, callback, asyncState); } /// public SystemFile[] EndGetNotMappedEnterpriseFolders(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((SystemFile[])(results[0])); } /// public void GetNotMappedEnterpriseFoldersAsync(int itemId) { this.GetNotMappedEnterpriseFoldersAsync(itemId, null); } /// public void GetNotMappedEnterpriseFoldersAsync(int itemId, object userState) { if ((this.GetNotMappedEnterpriseFoldersOperationCompleted == null)) { this.GetNotMappedEnterpriseFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNotMappedEnterpriseFoldersOperationCompleted); } this.InvokeAsync("GetNotMappedEnterpriseFolders", new object[] { itemId}, this.GetNotMappedEnterpriseFoldersOperationCompleted, userState); } private void OnGetNotMappedEnterpriseFoldersOperationCompleted(object arg) { if ((this.GetNotMappedEnterpriseFoldersCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetNotMappedEnterpriseFoldersCompleted(this, new GetNotMappedEnterpriseFoldersCompletedEventArgs(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")] public delegate void AddWebDavAccessTokenCompletedEventHandler(object sender, AddWebDavAccessTokenCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class AddWebDavAccessTokenCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal AddWebDavAccessTokenCompletedEventArgs(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.3038")] public delegate void DeleteExpiredWebDavAccessTokensCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetWebDavAccessTokenByIdCompletedEventHandler(object sender, GetWebDavAccessTokenByIdCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetWebDavAccessTokenByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetWebDavAccessTokenByIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public WebDavAccessToken Result { get { this.RaiseExceptionIfNecessary(); return ((WebDavAccessToken)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetWebDavAccessTokenByAccessTokenCompletedEventHandler(object sender, GetWebDavAccessTokenByAccessTokenCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetWebDavAccessTokenByAccessTokenCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetWebDavAccessTokenByAccessTokenCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public WebDavAccessToken Result { get { this.RaiseExceptionIfNecessary(); return ((WebDavAccessToken)(this.results[0])); } } } /// [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.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.3038")] public delegate void GetEnterpriseFoldersCompletedEventHandler(object sender, GetEnterpriseFoldersCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] 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) { this.results = results; } /// public SystemFile[] Result { get { this.RaiseExceptionIfNecessary(); return ((SystemFile[])(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetEnterpriseFolderCompletedEventHandler(object sender, GetEnterpriseFolderCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] 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) { this.results = results; } /// public SystemFile Result { get { this.RaiseExceptionIfNecessary(); return ((SystemFile)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void CreateEnterpriseFolderCompletedEventHandler(object sender, CreateEnterpriseFolderCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] 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) { this.results = results; } /// public ResultObject Result { get { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void DeleteEnterpriseFolderCompletedEventHandler(object sender, DeleteEnterpriseFolderCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] 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) { this.results = results; } /// public ResultObject Result { get { this.RaiseExceptionIfNecessary(); return ((ResultObject)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetEnterpriseFolderPermissionsCompletedEventHandler(object sender, GetEnterpriseFolderPermissionsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetEnterpriseFolderPermissionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetEnterpriseFolderPermissionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public ESPermission[] Result { get { this.RaiseExceptionIfNecessary(); return ((ESPermission[])(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void SetEnterpriseFolderPermissionsCompletedEventHandler(object sender, SetEnterpriseFolderPermissionsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [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.3038")] public delegate void SearchESAccountsCompletedEventHandler(object sender, SearchESAccountsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [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.3038")] public delegate void GetEnterpriseFoldersPagedCompletedEventHandler(object sender, GetEnterpriseFoldersPagedCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [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.3038")] public delegate void RenameEnterpriseFolderCompletedEventHandler(object sender, RenameEnterpriseFolderCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [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])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void CreateEnterpriseStorageCompletedEventHandler(object sender, CreateEnterpriseStorageCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class CreateEnterpriseStorageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal CreateEnterpriseStorageCompletedEventArgs(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.3038")] public delegate void CheckEnterpriseStorageInitializationCompletedEventHandler(object sender, CheckEnterpriseStorageInitializationCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class CheckEnterpriseStorageInitializationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal CheckEnterpriseStorageInitializationCompletedEventArgs(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.3038")] public delegate void CheckUsersDomainExistsCompletedEventHandler(object sender, CheckUsersDomainExistsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class CheckUsersDomainExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal CheckUsersDomainExistsCompletedEventArgs(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.3038")] public delegate void GetWebDavPortalUserSettingsByAccountIdCompletedEventHandler(object sender, GetWebDavPortalUserSettingsByAccountIdCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetWebDavPortalUserSettingsByAccountIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetWebDavPortalUserSettingsByAccountIdCompletedEventArgs(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.3038")] public delegate void UpdateWebDavPortalUserSettingsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void SearchFilesCompletedEventHandler(object sender, SearchFilesCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class SearchFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal SearchFilesCompletedEventArgs(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])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetDirectoryBrowseEnabledCompletedEventHandler(object sender, GetDirectoryBrowseEnabledCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [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.3038")] public delegate void SetDirectoryBrowseEnabledCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void SetEnterpriseFolderSettingsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetStatisticsCompletedEventHandler(object sender, GetStatisticsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetStatisticsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetStatisticsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public OrganizationStatistics Result { get { this.RaiseExceptionIfNecessary(); return ((OrganizationStatistics)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetStatisticsByOrganizationCompletedEventHandler(object sender, GetStatisticsByOrganizationCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetStatisticsByOrganizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetStatisticsByOrganizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public OrganizationStatistics Result { get { this.RaiseExceptionIfNecessary(); return ((OrganizationStatistics)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void CreateMappedDriveCompletedEventHandler(object sender, CreateMappedDriveCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class CreateMappedDriveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal CreateMappedDriveCompletedEventArgs(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.3038")] public delegate void DeleteMappedDriveCompletedEventHandler(object sender, DeleteMappedDriveCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class DeleteMappedDriveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal DeleteMappedDriveCompletedEventArgs(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.3038")] public delegate void GetDriveMapsPagedCompletedEventHandler(object sender, GetDriveMapsPagedCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetDriveMapsPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetDriveMapsPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public MappedDrivesPaged Result { get { this.RaiseExceptionIfNecessary(); return ((MappedDrivesPaged)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetUsedDriveLettersCompletedEventHandler(object sender, GetUsedDriveLettersCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetUsedDriveLettersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetUsedDriveLettersCompletedEventArgs(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.3038")] public delegate void GetNotMappedEnterpriseFoldersCompletedEventHandler(object sender, GetNotMappedEnterpriseFoldersCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetNotMappedEnterpriseFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetNotMappedEnterpriseFoldersCompletedEventArgs(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])); } } } }