// Copyright (c) 2012, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // - Redistributions of source code must retain the above copyright notice, this // list of conditions and the following disclaimer. // // - Redistributions in binary form must reproduce the above copyright notice, // this list of conditions and the following disclaimer in the documentation // and/or other materials provided with the distribution. // // - Neither the name of the Outercurve Foundation nor the names of its // contributors may be used to endorse or promote products derived from this // software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR // ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.5448 // // 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.42. // namespace WebsitePanel.Providers.HostedSolution { using System.Xml.Serialization; using System.Web.Services; using System.ComponentModel; using System.Web.Services.Protocols; using System; using System.Diagnostics; using WebsitePanel.Providers.SharePoint; /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name = "HostedSharePointServerSoap", Namespace = "http://smbsaas/websitepanel/server/")] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceProviderItem))] public partial class HostedSharePointServer : Microsoft.Web.Services3.WebServicesClientProtocol { public ServiceProviderSettingsSoapHeader ServiceProviderSettingsSoapHeaderValue; private System.Threading.SendOrPostCallback GetSupportedLanguagesOperationCompleted; private System.Threading.SendOrPostCallback GetSiteCollectionsOperationCompleted; private System.Threading.SendOrPostCallback GetSiteCollectionOperationCompleted; private System.Threading.SendOrPostCallback CreateSiteCollectionOperationCompleted; private System.Threading.SendOrPostCallback UpdateQuotasOperationCompleted; private System.Threading.SendOrPostCallback CalculateSiteCollectionsDiskSpaceOperationCompleted; private System.Threading.SendOrPostCallback DeleteSiteCollectionOperationCompleted; private System.Threading.SendOrPostCallback BackupSiteCollectionOperationCompleted; private System.Threading.SendOrPostCallback RestoreSiteCollectionOperationCompleted; private System.Threading.SendOrPostCallback GetTempFileBinaryChunkOperationCompleted; private System.Threading.SendOrPostCallback AppendTempFileBinaryChunkOperationCompleted; private System.Threading.SendOrPostCallback GetSiteCollectionSizeOperationCompleted; private System.Threading.SendOrPostCallback SetPeoplePickerOuOperationCompleted; /// public HostedSharePointServer() { this.Url = "http://localhost:9003/HostedSharePointServer.asmx"; } /// public event GetSupportedLanguagesCompletedEventHandler GetSupportedLanguagesCompleted; /// public event GetSiteCollectionsCompletedEventHandler GetSiteCollectionsCompleted; /// public event GetSiteCollectionCompletedEventHandler GetSiteCollectionCompleted; /// public event CreateSiteCollectionCompletedEventHandler CreateSiteCollectionCompleted; /// public event UpdateQuotasCompletedEventHandler UpdateQuotasCompleted; /// public event CalculateSiteCollectionsDiskSpaceCompletedEventHandler CalculateSiteCollectionsDiskSpaceCompleted; /// public event DeleteSiteCollectionCompletedEventHandler DeleteSiteCollectionCompleted; /// public event BackupSiteCollectionCompletedEventHandler BackupSiteCollectionCompleted; /// public event RestoreSiteCollectionCompletedEventHandler RestoreSiteCollectionCompleted; /// public event GetTempFileBinaryChunkCompletedEventHandler GetTempFileBinaryChunkCompleted; /// public event AppendTempFileBinaryChunkCompletedEventHandler AppendTempFileBinaryChunkCompleted; /// public event GetSiteCollectionSizeCompletedEventHandler GetSiteCollectionSizeCompleted; /// public event SetPeoplePickerOuCompletedEventHandler SetPeoplePickerOuCompleted; /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSupportedLanguages", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int[] GetSupportedLanguages() { object[] results = this.Invoke("GetSupportedLanguages", new object[0]); return ((int[])(results[0])); } /// public System.IAsyncResult BeginGetSupportedLanguages(System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetSupportedLanguages", new object[0], callback, asyncState); } /// public int[] EndGetSupportedLanguages(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int[])(results[0])); } /// public void GetSupportedLanguagesAsync() { this.GetSupportedLanguagesAsync(null); } /// public void GetSupportedLanguagesAsync(object userState) { if ((this.GetSupportedLanguagesOperationCompleted == null)) { this.GetSupportedLanguagesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSupportedLanguagesOperationCompleted); } this.InvokeAsync("GetSupportedLanguages", new object[0], this.GetSupportedLanguagesOperationCompleted, userState); } private void OnGetSupportedLanguagesOperationCompleted(object arg) { if ((this.GetSupportedLanguagesCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSupportedLanguagesCompleted(this, new GetSupportedLanguagesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSiteCollections", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public SharePointSiteCollection[] GetSiteCollections() { object[] results = this.Invoke("GetSiteCollections", new object[0]); return ((SharePointSiteCollection[])(results[0])); } /// public System.IAsyncResult BeginGetSiteCollections(System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetSiteCollections", new object[0], callback, asyncState); } /// public SharePointSiteCollection[] EndGetSiteCollections(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((SharePointSiteCollection[])(results[0])); } /// public void GetSiteCollectionsAsync() { this.GetSiteCollectionsAsync(null); } /// public void GetSiteCollectionsAsync(object userState) { if ((this.GetSiteCollectionsOperationCompleted == null)) { this.GetSiteCollectionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSiteCollectionsOperationCompleted); } this.InvokeAsync("GetSiteCollections", new object[0], this.GetSiteCollectionsOperationCompleted, userState); } private void OnGetSiteCollectionsOperationCompleted(object arg) { if ((this.GetSiteCollectionsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSiteCollectionsCompleted(this, new GetSiteCollectionsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSiteCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public SharePointSiteCollection GetSiteCollection(string url) { object[] results = this.Invoke("GetSiteCollection", new object[] { url}); return ((SharePointSiteCollection)(results[0])); } /// public System.IAsyncResult BeginGetSiteCollection(string url, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetSiteCollection", new object[] { url}, callback, asyncState); } /// public SharePointSiteCollection EndGetSiteCollection(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((SharePointSiteCollection)(results[0])); } /// public void GetSiteCollectionAsync(string url) { this.GetSiteCollectionAsync(url, null); } /// public void GetSiteCollectionAsync(string url, object userState) { if ((this.GetSiteCollectionOperationCompleted == null)) { this.GetSiteCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSiteCollectionOperationCompleted); } this.InvokeAsync("GetSiteCollection", new object[] { url}, this.GetSiteCollectionOperationCompleted, userState); } private void OnGetSiteCollectionOperationCompleted(object arg) { if ((this.GetSiteCollectionCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSiteCollectionCompleted(this, new GetSiteCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateSiteCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void CreateSiteCollection(SharePointSiteCollection siteCollection) { this.Invoke("CreateSiteCollection", new object[] { siteCollection}); } /// public System.IAsyncResult BeginCreateSiteCollection(SharePointSiteCollection siteCollection, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CreateSiteCollection", new object[] { siteCollection}, callback, asyncState); } /// public void EndCreateSiteCollection(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void CreateSiteCollectionAsync(SharePointSiteCollection siteCollection) { this.CreateSiteCollectionAsync(siteCollection, null); } /// public void CreateSiteCollectionAsync(SharePointSiteCollection siteCollection, object userState) { if ((this.CreateSiteCollectionOperationCompleted == null)) { this.CreateSiteCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateSiteCollectionOperationCompleted); } this.InvokeAsync("CreateSiteCollection", new object[] { siteCollection}, this.CreateSiteCollectionOperationCompleted, userState); } private void OnCreateSiteCollectionOperationCompleted(object arg) { if ((this.CreateSiteCollectionCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CreateSiteCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateQuotas", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void UpdateQuotas(string url, long maxSize, long warningSize) { this.Invoke("UpdateQuotas", new object[] { url, maxSize, warningSize}); } /// public System.IAsyncResult BeginUpdateQuotas(string url, long maxSize, long warningSize, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("UpdateQuotas", new object[] { url, maxSize, warningSize}, callback, asyncState); } /// public void EndUpdateQuotas(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void UpdateQuotasAsync(string url, long maxSize, long warningSize) { this.UpdateQuotasAsync(url, maxSize, warningSize, null); } /// public void UpdateQuotasAsync(string url, long maxSize, long warningSize, object userState) { if ((this.UpdateQuotasOperationCompleted == null)) { this.UpdateQuotasOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateQuotasOperationCompleted); } this.InvokeAsync("UpdateQuotas", new object[] { url, maxSize, warningSize}, this.UpdateQuotasOperationCompleted, userState); } private void OnUpdateQuotasOperationCompleted(object arg) { if ((this.UpdateQuotasCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateQuotasCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CalculateSiteCollectionsDiskSpace", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public SharePointSiteDiskSpace[] CalculateSiteCollectionsDiskSpace(string[] urls) { object[] results = this.Invoke("CalculateSiteCollectionsDiskSpace", new object[] { urls}); return ((SharePointSiteDiskSpace[])(results[0])); } /// public System.IAsyncResult BeginCalculateSiteCollectionsDiskSpace(string[] urls, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CalculateSiteCollectionsDiskSpace", new object[] { urls}, callback, asyncState); } /// public SharePointSiteDiskSpace[] EndCalculateSiteCollectionsDiskSpace(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((SharePointSiteDiskSpace[])(results[0])); } /// public void CalculateSiteCollectionsDiskSpaceAsync(string[] urls) { this.CalculateSiteCollectionsDiskSpaceAsync(urls, null); } /// public void CalculateSiteCollectionsDiskSpaceAsync(string[] urls, object userState) { if ((this.CalculateSiteCollectionsDiskSpaceOperationCompleted == null)) { this.CalculateSiteCollectionsDiskSpaceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCalculateSiteCollectionsDiskSpaceOperationCompleted); } this.InvokeAsync("CalculateSiteCollectionsDiskSpace", new object[] { urls}, this.CalculateSiteCollectionsDiskSpaceOperationCompleted, userState); } private void OnCalculateSiteCollectionsDiskSpaceOperationCompleted(object arg) { if ((this.CalculateSiteCollectionsDiskSpaceCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CalculateSiteCollectionsDiskSpaceCompleted(this, new CalculateSiteCollectionsDiskSpaceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteSiteCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void DeleteSiteCollection(SharePointSiteCollection siteCollection) { this.Invoke("DeleteSiteCollection", new object[] { siteCollection}); } /// public System.IAsyncResult BeginDeleteSiteCollection(SharePointSiteCollection siteCollection, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("DeleteSiteCollection", new object[] { siteCollection}, callback, asyncState); } /// public void EndDeleteSiteCollection(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void DeleteSiteCollectionAsync(SharePointSiteCollection siteCollection) { this.DeleteSiteCollectionAsync(siteCollection, null); } /// public void DeleteSiteCollectionAsync(SharePointSiteCollection siteCollection, object userState) { if ((this.DeleteSiteCollectionOperationCompleted == null)) { this.DeleteSiteCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSiteCollectionOperationCompleted); } this.InvokeAsync("DeleteSiteCollection", new object[] { siteCollection}, this.DeleteSiteCollectionOperationCompleted, userState); } private void OnDeleteSiteCollectionOperationCompleted(object arg) { if ((this.DeleteSiteCollectionCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteSiteCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/BackupSiteCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string BackupSiteCollection(string url, string filename, bool zip) { object[] results = this.Invoke("BackupSiteCollection", new object[] { url, filename, zip}); return ((string)(results[0])); } /// public System.IAsyncResult BeginBackupSiteCollection(string url, string filename, bool zip, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("BackupSiteCollection", new object[] { url, filename, zip}, callback, asyncState); } /// public string EndBackupSiteCollection(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// public void BackupSiteCollectionAsync(string url, string filename, bool zip) { this.BackupSiteCollectionAsync(url, filename, zip, null); } /// public void BackupSiteCollectionAsync(string url, string filename, bool zip, object userState) { if ((this.BackupSiteCollectionOperationCompleted == null)) { this.BackupSiteCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnBackupSiteCollectionOperationCompleted); } this.InvokeAsync("BackupSiteCollection", new object[] { url, filename, zip}, this.BackupSiteCollectionOperationCompleted, userState); } private void OnBackupSiteCollectionOperationCompleted(object arg) { if ((this.BackupSiteCollectionCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.BackupSiteCollectionCompleted(this, new BackupSiteCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RestoreSiteCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void RestoreSiteCollection(SharePointSiteCollection siteCollection, string filename) { this.Invoke("RestoreSiteCollection", new object[] { siteCollection, filename}); } /// public System.IAsyncResult BeginRestoreSiteCollection(SharePointSiteCollection siteCollection, string filename, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("RestoreSiteCollection", new object[] { siteCollection, filename}, callback, asyncState); } /// public void EndRestoreSiteCollection(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void RestoreSiteCollectionAsync(SharePointSiteCollection siteCollection, string filename) { this.RestoreSiteCollectionAsync(siteCollection, filename, null); } /// public void RestoreSiteCollectionAsync(SharePointSiteCollection siteCollection, string filename, object userState) { if ((this.RestoreSiteCollectionOperationCompleted == null)) { this.RestoreSiteCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRestoreSiteCollectionOperationCompleted); } this.InvokeAsync("RestoreSiteCollection", new object[] { siteCollection, filename}, this.RestoreSiteCollectionOperationCompleted, userState); } private void OnRestoreSiteCollectionOperationCompleted(object arg) { if ((this.RestoreSiteCollectionCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.RestoreSiteCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetTempFileBinaryChunk", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] [return: System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")] public byte[] GetTempFileBinaryChunk(string path, int offset, int length) { object[] results = this.Invoke("GetTempFileBinaryChunk", new object[] { path, offset, length}); return ((byte[])(results[0])); } /// public System.IAsyncResult BeginGetTempFileBinaryChunk(string path, int offset, int length, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetTempFileBinaryChunk", new object[] { path, offset, length}, callback, asyncState); } /// public byte[] EndGetTempFileBinaryChunk(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((byte[])(results[0])); } /// public void GetTempFileBinaryChunkAsync(string path, int offset, int length) { this.GetTempFileBinaryChunkAsync(path, offset, length, null); } /// public void GetTempFileBinaryChunkAsync(string path, int offset, int length, object userState) { if ((this.GetTempFileBinaryChunkOperationCompleted == null)) { this.GetTempFileBinaryChunkOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTempFileBinaryChunkOperationCompleted); } this.InvokeAsync("GetTempFileBinaryChunk", new object[] { path, offset, length}, this.GetTempFileBinaryChunkOperationCompleted, userState); } private void OnGetTempFileBinaryChunkOperationCompleted(object arg) { if ((this.GetTempFileBinaryChunkCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetTempFileBinaryChunkCompleted(this, new GetTempFileBinaryChunkCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AppendTempFileBinaryChunk", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string AppendTempFileBinaryChunk(string fileName, string path, [System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")] byte[] chunk) { object[] results = this.Invoke("AppendTempFileBinaryChunk", new object[] { fileName, path, chunk}); return ((string)(results[0])); } /// public System.IAsyncResult BeginAppendTempFileBinaryChunk(string fileName, string path, byte[] chunk, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("AppendTempFileBinaryChunk", new object[] { fileName, path, chunk}, callback, asyncState); } /// public string EndAppendTempFileBinaryChunk(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } /// public void AppendTempFileBinaryChunkAsync(string fileName, string path, byte[] chunk) { this.AppendTempFileBinaryChunkAsync(fileName, path, chunk, null); } /// public void AppendTempFileBinaryChunkAsync(string fileName, string path, byte[] chunk, object userState) { if ((this.AppendTempFileBinaryChunkOperationCompleted == null)) { this.AppendTempFileBinaryChunkOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAppendTempFileBinaryChunkOperationCompleted); } this.InvokeAsync("AppendTempFileBinaryChunk", new object[] { fileName, path, chunk}, this.AppendTempFileBinaryChunkOperationCompleted, userState); } private void OnAppendTempFileBinaryChunkOperationCompleted(object arg) { if ((this.AppendTempFileBinaryChunkCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AppendTempFileBinaryChunkCompleted(this, new AppendTempFileBinaryChunkCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetSiteCollectionSize", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public long GetSiteCollectionSize(string url) { object[] results = this.Invoke("GetSiteCollectionSize", new object[] { url}); return ((long)(results[0])); } /// public System.IAsyncResult BeginGetSiteCollectionSize(string url, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetSiteCollectionSize", new object[] { url}, callback, asyncState); } /// public long EndGetSiteCollectionSize(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((long)(results[0])); } /// public void GetSiteCollectionSizeAsync(string url) { this.GetSiteCollectionSizeAsync(url, null); } /// public void GetSiteCollectionSizeAsync(string url, object userState) { if ((this.GetSiteCollectionSizeOperationCompleted == null)) { this.GetSiteCollectionSizeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSiteCollectionSizeOperationCompleted); } this.InvokeAsync("GetSiteCollectionSize", new object[] { url}, this.GetSiteCollectionSizeOperationCompleted, userState); } private void OnGetSiteCollectionSizeOperationCompleted(object arg) { if ((this.GetSiteCollectionSizeCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetSiteCollectionSizeCompleted(this, new GetSiteCollectionSizeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetPeoplePickerOu", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void SetPeoplePickerOu(string site, string ou) { this.Invoke("SetPeoplePickerOu", new object[] { site, ou}); } /// public System.IAsyncResult BeginSetPeoplePickerOu(string site, string ou, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("SetPeoplePickerOu", new object[] { site, ou}, callback, asyncState); } /// public void EndSetPeoplePickerOu(System.IAsyncResult asyncResult) { this.EndInvoke(asyncResult); } /// public void SetPeoplePickerOuAsync(string site, string ou) { this.SetPeoplePickerOuAsync(site, ou, null); } /// public void SetPeoplePickerOuAsync(string site, string ou, object userState) { if ((this.SetPeoplePickerOuOperationCompleted == null)) { this.SetPeoplePickerOuOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetPeoplePickerOuOperationCompleted); } this.InvokeAsync("SetPeoplePickerOu", new object[] { site, ou}, this.SetPeoplePickerOuOperationCompleted, userState); } private void OnSetPeoplePickerOuOperationCompleted(object arg) { if ((this.SetPeoplePickerOuCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SetPeoplePickerOuCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// public new void CancelAsync(object userState) { base.CancelAsync(userState); } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetSupportedLanguagesCompletedEventHandler(object sender, GetSupportedLanguagesCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetSupportedLanguagesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetSupportedLanguagesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public int[] Result { get { this.RaiseExceptionIfNecessary(); return ((int[])(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetSiteCollectionsCompletedEventHandler(object sender, GetSiteCollectionsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetSiteCollectionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetSiteCollectionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public SharePointSiteCollection[] Result { get { this.RaiseExceptionIfNecessary(); return ((SharePointSiteCollection[])(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetSiteCollectionCompletedEventHandler(object sender, GetSiteCollectionCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetSiteCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetSiteCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public SharePointSiteCollection Result { get { this.RaiseExceptionIfNecessary(); return ((SharePointSiteCollection)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CreateSiteCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void UpdateQuotasCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void CalculateSiteCollectionsDiskSpaceCompletedEventHandler(object sender, CalculateSiteCollectionsDiskSpaceCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class CalculateSiteCollectionsDiskSpaceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal CalculateSiteCollectionsDiskSpaceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public SharePointSiteDiskSpace[] Result { get { this.RaiseExceptionIfNecessary(); return ((SharePointSiteDiskSpace[])(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void DeleteSiteCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void BackupSiteCollectionCompletedEventHandler(object sender, BackupSiteCollectionCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class BackupSiteCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal BackupSiteCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void RestoreSiteCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetTempFileBinaryChunkCompletedEventHandler(object sender, GetTempFileBinaryChunkCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetTempFileBinaryChunkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetTempFileBinaryChunkCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public byte[] Result { get { this.RaiseExceptionIfNecessary(); return ((byte[])(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void AppendTempFileBinaryChunkCompletedEventHandler(object sender, AppendTempFileBinaryChunkCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class AppendTempFileBinaryChunkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal AppendTempFileBinaryChunkCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void GetSiteCollectionSizeCompletedEventHandler(object sender, GetSiteCollectionSizeCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetSiteCollectionSizeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetSiteCollectionSizeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public long Result { get { this.RaiseExceptionIfNecessary(); return ((long)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] public delegate void SetPeoplePickerOuCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); }