This commit is contained in:
dev_amdtel 2014-01-31 16:02:38 +04:00
commit 722115607c
55 changed files with 3525 additions and 1856 deletions

View file

@ -25,6 +25,7 @@
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@ -47,23 +48,14 @@ 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;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[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 CheckFileServicesInstallationOperationCompleted;
private System.Threading.SendOrPostCallback GetEnterpriseFoldersOperationCompleted;
@ -96,6 +88,10 @@ namespace WebsitePanel.EnterpriseServer
private System.Threading.SendOrPostCallback SetEnterpriseFolderSettingsOperationCompleted;
private System.Threading.SendOrPostCallback GetStatisticsOperationCompleted;
private System.Threading.SendOrPostCallback GetStatisticsByOrganizationOperationCompleted;
/// <remarks/>
public esEnterpriseStorage()
{
@ -150,12 +146,18 @@ namespace WebsitePanel.EnterpriseServer
/// <remarks/>
public event SetEnterpriseFolderSettingsCompletedEventHandler SetEnterpriseFolderSettingsCompleted;
/// <remarks/>
public event GetStatisticsCompletedEventHandler GetStatisticsCompleted;
/// <remarks/>
public event GetStatisticsByOrganizationCompletedEventHandler GetStatisticsByOrganizationCompleted;
/// <remarks/>
[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});
serviceId});
return ((bool)(results[0]));
}
@ -163,7 +165,7 @@ namespace WebsitePanel.EnterpriseServer
public System.IAsyncResult BeginCheckFileServicesInstallation(int serviceId, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("CheckFileServicesInstallation", new object[] {
serviceId}, callback, asyncState);
serviceId}, callback, asyncState);
}
/// <remarks/>
@ -187,7 +189,7 @@ namespace WebsitePanel.EnterpriseServer
this.CheckFileServicesInstallationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckFileServicesInstallationOperationCompleted);
}
this.InvokeAsync("CheckFileServicesInstallation", new object[] {
serviceId}, this.CheckFileServicesInstallationOperationCompleted, userState);
serviceId}, this.CheckFileServicesInstallationOperationCompleted, userState);
}
private void OnCheckFileServicesInstallationOperationCompleted(object arg)
@ -204,7 +206,7 @@ namespace WebsitePanel.EnterpriseServer
public SystemFile[] GetEnterpriseFolders(int itemId)
{
object[] results = this.Invoke("GetEnterpriseFolders", new object[] {
itemId});
itemId});
return ((SystemFile[])(results[0]));
}
@ -212,7 +214,7 @@ namespace WebsitePanel.EnterpriseServer
public System.IAsyncResult BeginGetEnterpriseFolders(int itemId, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("GetEnterpriseFolders", new object[] {
itemId}, callback, asyncState);
itemId}, callback, asyncState);
}
/// <remarks/>
@ -236,7 +238,7 @@ namespace WebsitePanel.EnterpriseServer
this.GetEnterpriseFoldersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEnterpriseFoldersOperationCompleted);
}
this.InvokeAsync("GetEnterpriseFolders", new object[] {
itemId}, this.GetEnterpriseFoldersOperationCompleted, userState);
itemId}, this.GetEnterpriseFoldersOperationCompleted, userState);
}
private void OnGetEnterpriseFoldersOperationCompleted(object arg)
@ -253,8 +255,8 @@ namespace WebsitePanel.EnterpriseServer
public SystemFile GetEnterpriseFolder(int itemId, string folderName)
{
object[] results = this.Invoke("GetEnterpriseFolder", new object[] {
itemId,
folderName});
itemId,
folderName});
return ((SystemFile)(results[0]));
}
@ -262,8 +264,8 @@ namespace WebsitePanel.EnterpriseServer
public System.IAsyncResult BeginGetEnterpriseFolder(int itemId, string folderName, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("GetEnterpriseFolder", new object[] {
itemId,
folderName}, callback, asyncState);
itemId,
folderName}, callback, asyncState);
}
/// <remarks/>
@ -287,8 +289,8 @@ namespace WebsitePanel.EnterpriseServer
this.GetEnterpriseFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEnterpriseFolderOperationCompleted);
}
this.InvokeAsync("GetEnterpriseFolder", new object[] {
itemId,
folderName}, this.GetEnterpriseFolderOperationCompleted, userState);
itemId,
folderName}, this.GetEnterpriseFolderOperationCompleted, userState);
}
private void OnGetEnterpriseFolderOperationCompleted(object arg)
@ -305,8 +307,8 @@ namespace WebsitePanel.EnterpriseServer
public ResultObject CreateEnterpriseFolder(int itemId, string folderName)
{
object[] results = this.Invoke("CreateEnterpriseFolder", new object[] {
itemId,
folderName});
itemId,
folderName});
return ((ResultObject)(results[0]));
}
@ -314,8 +316,8 @@ namespace WebsitePanel.EnterpriseServer
public System.IAsyncResult BeginCreateEnterpriseFolder(int itemId, string folderName, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("CreateEnterpriseFolder", new object[] {
itemId,
folderName}, callback, asyncState);
itemId,
folderName}, callback, asyncState);
}
/// <remarks/>
@ -339,8 +341,8 @@ namespace WebsitePanel.EnterpriseServer
this.CreateEnterpriseFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateEnterpriseFolderOperationCompleted);
}
this.InvokeAsync("CreateEnterpriseFolder", new object[] {
itemId,
folderName}, this.CreateEnterpriseFolderOperationCompleted, userState);
itemId,
folderName}, this.CreateEnterpriseFolderOperationCompleted, userState);
}
private void OnCreateEnterpriseFolderOperationCompleted(object arg)
@ -357,8 +359,8 @@ namespace WebsitePanel.EnterpriseServer
public ResultObject DeleteEnterpriseFolder(int itemId, string folderName)
{
object[] results = this.Invoke("DeleteEnterpriseFolder", new object[] {
itemId,
folderName});
itemId,
folderName});
return ((ResultObject)(results[0]));
}
@ -366,8 +368,8 @@ namespace WebsitePanel.EnterpriseServer
public System.IAsyncResult BeginDeleteEnterpriseFolder(int itemId, string folderName, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("DeleteEnterpriseFolder", new object[] {
itemId,
folderName}, callback, asyncState);
itemId,
folderName}, callback, asyncState);
}
/// <remarks/>
@ -391,8 +393,8 @@ namespace WebsitePanel.EnterpriseServer
this.DeleteEnterpriseFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteEnterpriseFolderOperationCompleted);
}
this.InvokeAsync("DeleteEnterpriseFolder", new object[] {
itemId,
folderName}, this.DeleteEnterpriseFolderOperationCompleted, userState);
itemId,
folderName}, this.DeleteEnterpriseFolderOperationCompleted, userState);
}
private void OnDeleteEnterpriseFolderOperationCompleted(object arg)
@ -409,8 +411,8 @@ namespace WebsitePanel.EnterpriseServer
public ESPermission[] GetEnterpriseFolderPermissions(int itemId, string folderName)
{
object[] results = this.Invoke("GetEnterpriseFolderPermissions", new object[] {
itemId,
folderName});
itemId,
folderName});
return ((ESPermission[])(results[0]));
}
@ -418,8 +420,8 @@ namespace WebsitePanel.EnterpriseServer
public System.IAsyncResult BeginGetEnterpriseFolderPermissions(int itemId, string folderName, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("GetEnterpriseFolderPermissions", new object[] {
itemId,
folderName}, callback, asyncState);
itemId,
folderName}, callback, asyncState);
}
/// <remarks/>
@ -443,8 +445,8 @@ namespace WebsitePanel.EnterpriseServer
this.GetEnterpriseFolderPermissionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEnterpriseFolderPermissionsOperationCompleted);
}
this.InvokeAsync("GetEnterpriseFolderPermissions", new object[] {
itemId,
folderName}, this.GetEnterpriseFolderPermissionsOperationCompleted, userState);
itemId,
folderName}, this.GetEnterpriseFolderPermissionsOperationCompleted, userState);
}
private void OnGetEnterpriseFolderPermissionsOperationCompleted(object arg)
@ -461,9 +463,9 @@ namespace WebsitePanel.EnterpriseServer
public ResultObject SetEnterpriseFolderPermissions(int itemId, string folderName, ESPermission[] permission)
{
object[] results = this.Invoke("SetEnterpriseFolderPermissions", new object[] {
itemId,
folderName,
permission});
itemId,
folderName,
permission});
return ((ResultObject)(results[0]));
}
@ -471,9 +473,9 @@ namespace WebsitePanel.EnterpriseServer
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);
itemId,
folderName,
permission}, callback, asyncState);
}
/// <remarks/>
@ -497,9 +499,9 @@ namespace WebsitePanel.EnterpriseServer
this.SetEnterpriseFolderPermissionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetEnterpriseFolderPermissionsOperationCompleted);
}
this.InvokeAsync("SetEnterpriseFolderPermissions", new object[] {
itemId,
folderName,
permission}, this.SetEnterpriseFolderPermissionsOperationCompleted, userState);
itemId,
folderName,
permission}, this.SetEnterpriseFolderPermissionsOperationCompleted, userState);
}
private void OnSetEnterpriseFolderPermissionsOperationCompleted(object arg)
@ -516,10 +518,10 @@ namespace WebsitePanel.EnterpriseServer
public ExchangeAccount[] SearchESAccounts(int itemId, string filterColumn, string filterValue, string sortColumn)
{
object[] results = this.Invoke("SearchESAccounts", new object[] {
itemId,
filterColumn,
filterValue,
sortColumn});
itemId,
filterColumn,
filterValue,
sortColumn});
return ((ExchangeAccount[])(results[0]));
}
@ -527,10 +529,10 @@ namespace WebsitePanel.EnterpriseServer
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);
itemId,
filterColumn,
filterValue,
sortColumn}, callback, asyncState);
}
/// <remarks/>
@ -554,10 +556,10 @@ namespace WebsitePanel.EnterpriseServer
this.SearchESAccountsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchESAccountsOperationCompleted);
}
this.InvokeAsync("SearchESAccounts", new object[] {
itemId,
filterColumn,
filterValue,
sortColumn}, this.SearchESAccountsOperationCompleted, userState);
itemId,
filterColumn,
filterValue,
sortColumn}, this.SearchESAccountsOperationCompleted, userState);
}
private void OnSearchESAccountsOperationCompleted(object arg)
@ -574,11 +576,11 @@ namespace WebsitePanel.EnterpriseServer
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});
itemId,
filterValue,
sortColumn,
startRow,
maximumRows});
return ((SystemFilesPaged)(results[0]));
}
@ -586,11 +588,11 @@ namespace WebsitePanel.EnterpriseServer
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);
itemId,
filterValue,
sortColumn,
startRow,
maximumRows}, callback, asyncState);
}
/// <remarks/>
@ -614,11 +616,11 @@ namespace WebsitePanel.EnterpriseServer
this.GetEnterpriseFoldersPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEnterpriseFoldersPagedOperationCompleted);
}
this.InvokeAsync("GetEnterpriseFoldersPaged", new object[] {
itemId,
filterValue,
sortColumn,
startRow,
maximumRows}, this.GetEnterpriseFoldersPagedOperationCompleted, userState);
itemId,
filterValue,
sortColumn,
startRow,
maximumRows}, this.GetEnterpriseFoldersPagedOperationCompleted, userState);
}
private void OnGetEnterpriseFoldersPagedOperationCompleted(object arg)
@ -635,9 +637,9 @@ namespace WebsitePanel.EnterpriseServer
public SystemFile RenameEnterpriseFolder(int itemId, string oldName, string newName)
{
object[] results = this.Invoke("RenameEnterpriseFolder", new object[] {
itemId,
oldName,
newName});
itemId,
oldName,
newName});
return ((SystemFile)(results[0]));
}
@ -645,9 +647,9 @@ namespace WebsitePanel.EnterpriseServer
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);
itemId,
oldName,
newName}, callback, asyncState);
}
/// <remarks/>
@ -671,9 +673,9 @@ namespace WebsitePanel.EnterpriseServer
this.RenameEnterpriseFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRenameEnterpriseFolderOperationCompleted);
}
this.InvokeAsync("RenameEnterpriseFolder", new object[] {
itemId,
oldName,
newName}, this.RenameEnterpriseFolderOperationCompleted, userState);
itemId,
oldName,
newName}, this.RenameEnterpriseFolderOperationCompleted, userState);
}
private void OnRenameEnterpriseFolderOperationCompleted(object arg)
@ -690,8 +692,8 @@ namespace WebsitePanel.EnterpriseServer
public ResultObject CreateEnterpriseStorage(int packageId, int itemId)
{
object[] results = this.Invoke("CreateEnterpriseStorage", new object[] {
packageId,
itemId});
packageId,
itemId});
return ((ResultObject)(results[0]));
}
@ -699,8 +701,8 @@ namespace WebsitePanel.EnterpriseServer
public System.IAsyncResult BeginCreateEnterpriseStorage(int packageId, int itemId, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("CreateEnterpriseStorage", new object[] {
packageId,
itemId}, callback, asyncState);
packageId,
itemId}, callback, asyncState);
}
/// <remarks/>
@ -724,8 +726,8 @@ namespace WebsitePanel.EnterpriseServer
this.CreateEnterpriseStorageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateEnterpriseStorageOperationCompleted);
}
this.InvokeAsync("CreateEnterpriseStorage", new object[] {
packageId,
itemId}, this.CreateEnterpriseStorageOperationCompleted, userState);
packageId,
itemId}, this.CreateEnterpriseStorageOperationCompleted, userState);
}
private void OnCreateEnterpriseStorageOperationCompleted(object arg)
@ -743,8 +745,8 @@ namespace WebsitePanel.EnterpriseServer
public bool CheckEnterpriseStorageInitialization(int packageId, int itemId)
{
object[] results = this.Invoke("CheckEnterpriseStorageInitialization", new object[] {
packageId,
itemId});
packageId,
itemId});
return ((bool)(results[0]));
}
@ -752,8 +754,8 @@ namespace WebsitePanel.EnterpriseServer
public System.IAsyncResult BeginCheckEnterpriseStorageInitialization(int packageId, int itemId, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("CheckEnterpriseStorageInitialization", new object[] {
packageId,
itemId}, callback, asyncState);
packageId,
itemId}, callback, asyncState);
}
/// <remarks/>
@ -777,8 +779,8 @@ namespace WebsitePanel.EnterpriseServer
this.CheckEnterpriseStorageInitializationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckEnterpriseStorageInitializationOperationCompleted);
}
this.InvokeAsync("CheckEnterpriseStorageInitialization", new object[] {
packageId,
itemId}, this.CheckEnterpriseStorageInitializationOperationCompleted, userState);
packageId,
itemId}, this.CheckEnterpriseStorageInitializationOperationCompleted, userState);
}
private void OnCheckEnterpriseStorageInitializationOperationCompleted(object arg)
@ -795,7 +797,7 @@ namespace WebsitePanel.EnterpriseServer
public bool CheckUsersDomainExists(int itemId)
{
object[] results = this.Invoke("CheckUsersDomainExists", new object[] {
itemId});
itemId});
return ((bool)(results[0]));
}
@ -803,7 +805,7 @@ namespace WebsitePanel.EnterpriseServer
public System.IAsyncResult BeginCheckUsersDomainExists(int itemId, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("CheckUsersDomainExists", new object[] {
itemId}, callback, asyncState);
itemId}, callback, asyncState);
}
/// <remarks/>
@ -827,7 +829,7 @@ namespace WebsitePanel.EnterpriseServer
this.CheckUsersDomainExistsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckUsersDomainExistsOperationCompleted);
}
this.InvokeAsync("CheckUsersDomainExists", new object[] {
itemId}, this.CheckUsersDomainExistsOperationCompleted, userState);
itemId}, this.CheckUsersDomainExistsOperationCompleted, userState);
}
private void OnCheckUsersDomainExistsOperationCompleted(object arg)
@ -844,8 +846,8 @@ namespace WebsitePanel.EnterpriseServer
public bool GetDirectoryBrowseEnabled(int itemId, string site)
{
object[] results = this.Invoke("GetDirectoryBrowseEnabled", new object[] {
itemId,
site});
itemId,
site});
return ((bool)(results[0]));
}
@ -853,8 +855,8 @@ namespace WebsitePanel.EnterpriseServer
public System.IAsyncResult BeginGetDirectoryBrowseEnabled(int itemId, string site, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("GetDirectoryBrowseEnabled", new object[] {
itemId,
site}, callback, asyncState);
itemId,
site}, callback, asyncState);
}
/// <remarks/>
@ -878,8 +880,8 @@ namespace WebsitePanel.EnterpriseServer
this.GetDirectoryBrowseEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDirectoryBrowseEnabledOperationCompleted);
}
this.InvokeAsync("GetDirectoryBrowseEnabled", new object[] {
itemId,
site}, this.GetDirectoryBrowseEnabledOperationCompleted, userState);
itemId,
site}, this.GetDirectoryBrowseEnabledOperationCompleted, userState);
}
private void OnGetDirectoryBrowseEnabledOperationCompleted(object arg)
@ -896,18 +898,18 @@ namespace WebsitePanel.EnterpriseServer
public void SetDirectoryBrowseEnabled(int itemId, string site, bool enabled)
{
this.Invoke("SetDirectoryBrowseEnabled", new object[] {
itemId,
site,
enabled});
itemId,
site,
enabled});
}
/// <remarks/>
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);
itemId,
site,
enabled}, callback, asyncState);
}
/// <remarks/>
@ -930,9 +932,9 @@ namespace WebsitePanel.EnterpriseServer
this.SetDirectoryBrowseEnabledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetDirectoryBrowseEnabledOperationCompleted);
}
this.InvokeAsync("SetDirectoryBrowseEnabled", new object[] {
itemId,
site,
enabled}, this.SetDirectoryBrowseEnabledOperationCompleted, userState);
itemId,
site,
enabled}, this.SetDirectoryBrowseEnabledOperationCompleted, userState);
}
private void OnSetDirectoryBrowseEnabledOperationCompleted(object arg)
@ -946,23 +948,27 @@ namespace WebsitePanel.EnterpriseServer
/// <remarks/>
[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)
public void SetEnterpriseFolderSettings(int itemId, SystemFile folder, ESPermission[] permissions, bool directoyBrowsingEnabled, int quota, QuotaType quotaType)
{
this.Invoke("SetEnterpriseFolderSettings", new object[] {
itemId,
folder,
permissions,
directoyBrowsingEnabled});
itemId,
folder,
permissions,
directoyBrowsingEnabled,
quota,
quotaType});
}
/// <remarks/>
public System.IAsyncResult BeginSetEnterpriseFolderSettings(int itemId, SystemFile folder, ESPermission[] permissions, bool directoyBrowsingEnabled, System.AsyncCallback callback, object asyncState)
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}, callback, asyncState);
itemId,
folder,
permissions,
directoyBrowsingEnabled,
quota,
quotaType}, callback, asyncState);
}
/// <remarks/>
@ -972,23 +978,25 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
public void SetEnterpriseFolderSettingsAsync(int itemId, SystemFile folder, ESPermission[] permissions, bool directoyBrowsingEnabled)
public void SetEnterpriseFolderSettingsAsync(int itemId, SystemFile folder, ESPermission[] permissions, bool directoyBrowsingEnabled, int quota, QuotaType quotaType)
{
this.SetEnterpriseFolderSettingsAsync(itemId, folder, permissions, directoyBrowsingEnabled, null);
this.SetEnterpriseFolderSettingsAsync(itemId, folder, permissions, directoyBrowsingEnabled, quota, quotaType, null);
}
/// <remarks/>
public void SetEnterpriseFolderSettingsAsync(int itemId, SystemFile folder, ESPermission[] permissions, bool directoyBrowsingEnabled, object userState)
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}, this.SetEnterpriseFolderSettingsOperationCompleted, userState);
itemId,
folder,
permissions,
directoyBrowsingEnabled,
quota,
quotaType}, this.SetEnterpriseFolderSettingsOperationCompleted, userState);
}
private void OnSetEnterpriseFolderSettingsOperationCompleted(object arg)
@ -1000,6 +1008,104 @@ namespace WebsitePanel.EnterpriseServer
}
}
/// <remarks/>
[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]));
}
/// <remarks/>
public System.IAsyncResult BeginGetStatistics(int itemId, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("GetStatistics", new object[] {
itemId}, callback, asyncState);
}
/// <remarks/>
public OrganizationStatistics EndGetStatistics(System.IAsyncResult asyncResult)
{
object[] results = this.EndInvoke(asyncResult);
return ((OrganizationStatistics)(results[0]));
}
/// <remarks/>
public void GetStatisticsAsync(int itemId)
{
this.GetStatisticsAsync(itemId, null);
}
/// <remarks/>
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));
}
}
/// <remarks/>
[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]));
}
/// <remarks/>
public System.IAsyncResult BeginGetStatisticsByOrganization(int itemId, System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("GetStatisticsByOrganization", new object[] {
itemId}, callback, asyncState);
}
/// <remarks/>
public OrganizationStatistics EndGetStatisticsByOrganization(System.IAsyncResult asyncResult)
{
object[] results = this.EndInvoke(asyncResult);
return ((OrganizationStatistics)(results[0]));
}
/// <remarks/>
public void GetStatisticsByOrganizationAsync(int itemId)
{
this.GetStatisticsByOrganizationAsync(itemId, null);
}
/// <remarks/>
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));
}
}
/// <remarks/>
public new void CancelAsync(object userState)
{
@ -1008,11 +1114,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void CheckFileServicesInstallationCompletedEventHandler(object sender, CheckFileServicesInstallationCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CheckFileServicesInstallationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1038,11 +1144,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void GetEnterpriseFoldersCompletedEventHandler(object sender, GetEnterpriseFoldersCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetEnterpriseFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1068,11 +1174,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void GetEnterpriseFolderCompletedEventHandler(object sender, GetEnterpriseFolderCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1098,11 +1204,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void CreateEnterpriseFolderCompletedEventHandler(object sender, CreateEnterpriseFolderCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CreateEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1128,11 +1234,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void DeleteEnterpriseFolderCompletedEventHandler(object sender, DeleteEnterpriseFolderCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1158,11 +1264,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void GetEnterpriseFolderPermissionsCompletedEventHandler(object sender, GetEnterpriseFolderPermissionsCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetEnterpriseFolderPermissionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1188,11 +1294,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void SetEnterpriseFolderPermissionsCompletedEventHandler(object sender, SetEnterpriseFolderPermissionsCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class SetEnterpriseFolderPermissionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1218,11 +1324,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void SearchESAccountsCompletedEventHandler(object sender, SearchESAccountsCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class SearchESAccountsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1248,11 +1354,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void GetEnterpriseFoldersPagedCompletedEventHandler(object sender, GetEnterpriseFoldersPagedCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetEnterpriseFoldersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1278,11 +1384,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void RenameEnterpriseFolderCompletedEventHandler(object sender, RenameEnterpriseFolderCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class RenameEnterpriseFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1308,11 +1414,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void CreateEnterpriseStorageCompletedEventHandler(object sender, CreateEnterpriseStorageCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CreateEnterpriseStorageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1338,11 +1444,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void CheckEnterpriseStorageInitializationCompletedEventHandler(object sender, CheckEnterpriseStorageInitializationCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CheckEnterpriseStorageInitializationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1368,11 +1474,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void CheckUsersDomainExistsCompletedEventHandler(object sender, CheckUsersDomainExistsCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CheckUsersDomainExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1398,11 +1504,11 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void GetDirectoryBrowseEnabledCompletedEventHandler(object sender, GetDirectoryBrowseEnabledCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDirectoryBrowseEnabledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
@ -1428,10 +1534,70 @@ namespace WebsitePanel.EnterpriseServer
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void SetDirectoryBrowseEnabledCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void SetEnterpriseFolderSettingsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void GetStatisticsCompletedEventHandler(object sender, GetStatisticsCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[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;
}
/// <remarks/>
public OrganizationStatistics Result
{
get
{
this.RaiseExceptionIfNecessary();
return ((OrganizationStatistics)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
public delegate void GetStatisticsByOrganizationCompletedEventHandler(object sender, GetStatisticsByOrganizationCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.17929")]
[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;
}
/// <remarks/>
public OrganizationStatistics Result
{
get
{
this.RaiseExceptionIfNecessary();
return ((OrganizationStatistics)(this.results[0]));
}
}
}
}