diff --git a/WebsitePanel/Database/update_db.sql b/WebsitePanel/Database/update_db.sql index 03265998..cc9675fd 100644 --- a/WebsitePanel/Database/update_db.sql +++ b/WebsitePanel/Database/update_db.sql @@ -2401,3 +2401,188 @@ INSERT [dbo].[Providers] ([ProviderId], [GroupId], [ProviderName], [DisplayName] VALUES(1501, 45, N'RemoteDesktopServices2012', N'Remote Desktop Services Windows 2012', N'WebsitePanel.Providers.RemoteDesktopServices.Windows2012,WebsitePanel.Providers.RemoteDesktopServices.Windows2012', N'RDS', 1) END GO + +-- Added phone numbers in the hosted organization. + +IF NOT EXISTS(select 1 from sys.columns COLS INNER JOIN sys.objects OBJS ON OBJS.object_id=COLS.object_id and OBJS.type='U' AND OBJS.name='PackageIPAddresses' AND COLS.name='OrgID') +BEGIN +ALTER TABLE [dbo].[PackageIPAddresses] ADD + [OrgID] [int] NULL +END +GO + +ALTER PROCEDURE [dbo].[AllocatePackageIPAddresses] +( + @PackageID int, + @OrgID int, + @xml ntext +) +AS +BEGIN + + SET NOCOUNT ON; + + DECLARE @idoc int + --Create an internal representation of the XML document. + EXEC sp_xml_preparedocument @idoc OUTPUT, @xml + + -- delete + DELETE FROM PackageIPAddresses + FROM PackageIPAddresses AS PIP + INNER JOIN OPENXML(@idoc, '/items/item', 1) WITH + ( + AddressID int '@id' + ) as PV ON PIP.AddressID = PV.AddressID + + + -- insert + INSERT INTO dbo.PackageIPAddresses + ( + PackageID, + OrgID, + AddressID + ) + SELECT + @PackageID, + @OrgID, + AddressID + + FROM OPENXML(@idoc, '/items/item', 1) WITH + ( + AddressID int '@id' + ) as PV + + -- remove document + exec sp_xml_removedocument @idoc + +END +GO + +ALTER PROCEDURE [dbo].[GetPackageIPAddresses] +( + @PackageID int, + @OrgID int, + @FilterColumn nvarchar(50) = '', + @FilterValue nvarchar(50) = '', + @SortColumn nvarchar(50), + @StartRow int, + @MaximumRows int, + @PoolID int = 0, + @Recursive bit = 0 +) +AS +BEGIN + + +-- start +DECLARE @condition nvarchar(700) +SET @condition = ' +((@Recursive = 0 AND PA.PackageID = @PackageID) +OR (@Recursive = 1 AND dbo.CheckPackageParent(@PackageID, PA.PackageID) = 1)) +AND (@PoolID = 0 OR @PoolID <> 0 AND IP.PoolID = @PoolID) +AND (@OrgID = 0 OR @OrgID <> 0 AND PA.OrgID = @OrgID) +' + +IF @FilterColumn <> '' AND @FilterColumn IS NOT NULL +AND @FilterValue <> '' AND @FilterValue IS NOT NULL +SET @condition = @condition + ' AND ' + @FilterColumn + ' LIKE ''' + @FilterValue + '''' + +IF @SortColumn IS NULL OR @SortColumn = '' +SET @SortColumn = 'IP.ExternalIP ASC' + +DECLARE @sql nvarchar(3500) + +set @sql = ' +SELECT COUNT(PA.PackageAddressID) +FROM dbo.PackageIPAddresses PA +INNER JOIN dbo.IPAddresses AS IP ON PA.AddressID = IP.AddressID +INNER JOIN dbo.Packages P ON PA.PackageID = P.PackageID +INNER JOIN dbo.Users U ON U.UserID = P.UserID +LEFT JOIN ServiceItems SI ON PA.ItemId = SI.ItemID +WHERE ' + @condition + ' + +DECLARE @Addresses AS TABLE +( + PackageAddressID int +); + +WITH TempItems AS ( + SELECT ROW_NUMBER() OVER (ORDER BY ' + @SortColumn + ') as Row, + PA.PackageAddressID + FROM dbo.PackageIPAddresses PA + INNER JOIN dbo.IPAddresses AS IP ON PA.AddressID = IP.AddressID + INNER JOIN dbo.Packages P ON PA.PackageID = P.PackageID + INNER JOIN dbo.Users U ON U.UserID = P.UserID + LEFT JOIN ServiceItems SI ON PA.ItemId = SI.ItemID + WHERE ' + @condition + ' +) + +INSERT INTO @Addresses +SELECT PackageAddressID FROM TempItems +WHERE TempItems.Row BETWEEN @StartRow + 1 and @StartRow + @MaximumRows + +SELECT + PA.PackageAddressID, + PA.AddressID, + IP.ExternalIP, + IP.InternalIP, + IP.SubnetMask, + IP.DefaultGateway, + PA.ItemID, + SI.ItemName, + PA.PackageID, + P.PackageName, + P.UserID, + U.UserName, + PA.IsPrimary +FROM @Addresses AS TA +INNER JOIN dbo.PackageIPAddresses AS PA ON TA.PackageAddressID = PA.PackageAddressID +INNER JOIN dbo.IPAddresses AS IP ON PA.AddressID = IP.AddressID +INNER JOIN dbo.Packages P ON PA.PackageID = P.PackageID +INNER JOIN dbo.Users U ON U.UserID = P.UserID +LEFT JOIN ServiceItems SI ON PA.ItemId = SI.ItemID +' + +print @sql + +exec sp_executesql @sql, N'@PackageID int, @OrgID int, @StartRow int, @MaximumRows int, @Recursive bit, @PoolID int', +@PackageID, @OrgID, @StartRow, @MaximumRows, @Recursive, @PoolID + +END +GO + + + + + +ALTER PROCEDURE [dbo].[GetPackageUnassignedIPAddresses] +( + @ActorID int, + @PackageID int, + @OrgID int, + @PoolID int = 0 +) +AS +BEGIN + SELECT + PIP.PackageAddressID, + IP.AddressID, + IP.ExternalIP, + IP.InternalIP, + IP.ServerID, + IP.PoolID, + PIP.IsPrimary, + IP.SubnetMask, + IP.DefaultGateway + FROM PackageIPAddresses AS PIP + INNER JOIN IPAddresses AS IP ON PIP.AddressID = IP.AddressID + WHERE + PIP.ItemID IS NULL + AND PIP.PackageID = @PackageID + AND (@PoolID = 0 OR @PoolID <> 0 AND IP.PoolID = @PoolID) + AND (@OrgID = 0 OR @OrgID <> 0 AND PIP.OrgID = @OrgID) + AND dbo.CheckActorPackageRights(@ActorID, PIP.PackageID) = 1 + ORDER BY IP.DefaultGateway, IP.ExternalIP +END +GO + diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/ServersProxy.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/ServersProxy.cs index ca41633f..ad3de18c 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/ServersProxy.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/ServersProxy.cs @@ -1,32 +1,3 @@ -// 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. @@ -40,21 +11,20 @@ // // This source code was auto-generated by wsdl, Version=2.0.50727.42. // +using System.Xml.Serialization; +using System.Web.Services; +using System.ComponentModel; +using System.Web.Services.Protocols; +using System; +using System.Diagnostics; +using System.Data; +using WebsitePanel.Providers; +using WebsitePanel.Providers.Common; +using WebsitePanel.Server; +using WebsitePanel.Providers.DNS; +using WebsitePanel.Providers.ResultObjects; + namespace WebsitePanel.EnterpriseServer { - using System.Xml.Serialization; - using System.Web.Services; - using System.ComponentModel; - using System.Web.Services.Protocols; - using System; - using System.Diagnostics; - using System.Data; - using WebsitePanel.Providers; - using WebsitePanel.Providers.Common; - using WebsitePanel.Server; - using WebsitePanel.Providers.DNS; - using WebsitePanel.Providers.ResultObjects; - - /// [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] @@ -63,6 +33,110 @@ namespace WebsitePanel.EnterpriseServer { [System.Web.Services.WebServiceBindingAttribute(Name="esServersSoap", Namespace="http://smbsaas/websitepanel/enterpriseserver")] public partial class esServers : Microsoft.Web.Services3.WebServicesClientProtocol { + private System.Threading.SendOrPostCallback GetDnsRecordsByServerOperationCompleted; + + private System.Threading.SendOrPostCallback GetDnsRecordsByPackageOperationCompleted; + + private System.Threading.SendOrPostCallback GetDnsRecordsByGroupOperationCompleted; + + private System.Threading.SendOrPostCallback GetDnsRecordOperationCompleted; + + private System.Threading.SendOrPostCallback AddDnsRecordOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateDnsRecordOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteDnsRecordOperationCompleted; + + private System.Threading.SendOrPostCallback GetDomainsOperationCompleted; + + private System.Threading.SendOrPostCallback GetDomainsByDomainIdOperationCompleted; + + private System.Threading.SendOrPostCallback GetMyDomainsOperationCompleted; + + private System.Threading.SendOrPostCallback GetResellerDomainsOperationCompleted; + + private System.Threading.SendOrPostCallback GetDomainsPagedOperationCompleted; + + private System.Threading.SendOrPostCallback GetDomainOperationCompleted; + + private System.Threading.SendOrPostCallback AddDomainOperationCompleted; + + private System.Threading.SendOrPostCallback AddDomainWithProvisioningOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateDomainOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteDomainOperationCompleted; + + private System.Threading.SendOrPostCallback DetachDomainOperationCompleted; + + private System.Threading.SendOrPostCallback EnableDomainDnsOperationCompleted; + + private System.Threading.SendOrPostCallback DisableDomainDnsOperationCompleted; + + private System.Threading.SendOrPostCallback CreateDomainInstantAliasOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteDomainInstantAliasOperationCompleted; + + private System.Threading.SendOrPostCallback GetDnsZoneRecordsOperationCompleted; + + private System.Threading.SendOrPostCallback GetRawDnsZoneRecordsOperationCompleted; + + private System.Threading.SendOrPostCallback AddDnsZoneRecordOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateDnsZoneRecordOperationCompleted; + + private System.Threading.SendOrPostCallback DeleteDnsZoneRecordOperationCompleted; + + private System.Threading.SendOrPostCallback GetTerminalServicesSessionsOperationCompleted; + + private System.Threading.SendOrPostCallback CloseTerminalServicesSessionOperationCompleted; + + private System.Threading.SendOrPostCallback GetWindowsProcessesOperationCompleted; + + private System.Threading.SendOrPostCallback TerminateWindowsProcessOperationCompleted; + + private System.Threading.SendOrPostCallback CheckLoadUserProfileOperationCompleted; + + private System.Threading.SendOrPostCallback EnableLoadUserProfileOperationCompleted; + + private System.Threading.SendOrPostCallback InitWPIFeedsOperationCompleted; + + private System.Threading.SendOrPostCallback GetWPITabsOperationCompleted; + + private System.Threading.SendOrPostCallback GetWPIKeywordsOperationCompleted; + + private System.Threading.SendOrPostCallback GetWPIProductsOperationCompleted; + + private System.Threading.SendOrPostCallback GetWPIProductsFilteredOperationCompleted; + + private System.Threading.SendOrPostCallback GetWPIProductByIdOperationCompleted; + + private System.Threading.SendOrPostCallback GetWPIProductsWithDependenciesOperationCompleted; + + private System.Threading.SendOrPostCallback InstallWPIProductsOperationCompleted; + + private System.Threading.SendOrPostCallback CancelInstallWPIProductsOperationCompleted; + + private System.Threading.SendOrPostCallback GetWPIStatusOperationCompleted; + + private System.Threading.SendOrPostCallback WpiGetLogFileDirectoryOperationCompleted; + + private System.Threading.SendOrPostCallback WpiGetLogsInDirectoryOperationCompleted; + + private System.Threading.SendOrPostCallback GetWindowsServicesOperationCompleted; + + private System.Threading.SendOrPostCallback ChangeWindowsServiceStatusOperationCompleted; + + private System.Threading.SendOrPostCallback GetLogNamesOperationCompleted; + + private System.Threading.SendOrPostCallback GetLogEntriesOperationCompleted; + + private System.Threading.SendOrPostCallback GetLogEntriesPagedOperationCompleted; + + private System.Threading.SendOrPostCallback ClearLogOperationCompleted; + + private System.Threading.SendOrPostCallback RebootSystemOperationCompleted; + private System.Threading.SendOrPostCallback GetAllServersOperationCompleted; private System.Threading.SendOrPostCallback GetRawAllServersOperationCompleted; @@ -191,115 +265,167 @@ namespace WebsitePanel.EnterpriseServer { private System.Threading.SendOrPostCallback GetDnsRecordsByServiceOperationCompleted; - private System.Threading.SendOrPostCallback GetDnsRecordsByServerOperationCompleted; - - private System.Threading.SendOrPostCallback GetDnsRecordsByPackageOperationCompleted; - - private System.Threading.SendOrPostCallback GetDnsRecordsByGroupOperationCompleted; - - private System.Threading.SendOrPostCallback GetDnsRecordOperationCompleted; - - private System.Threading.SendOrPostCallback AddDnsRecordOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateDnsRecordOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteDnsRecordOperationCompleted; - - private System.Threading.SendOrPostCallback GetDomainsOperationCompleted; - - private System.Threading.SendOrPostCallback GetDomainsByDomainIdOperationCompleted; - - private System.Threading.SendOrPostCallback GetMyDomainsOperationCompleted; - - private System.Threading.SendOrPostCallback GetResellerDomainsOperationCompleted; - - private System.Threading.SendOrPostCallback GetDomainsPagedOperationCompleted; - - private System.Threading.SendOrPostCallback GetDomainOperationCompleted; - - private System.Threading.SendOrPostCallback AddDomainOperationCompleted; - - private System.Threading.SendOrPostCallback AddDomainWithProvisioningOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateDomainOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteDomainOperationCompleted; - - private System.Threading.SendOrPostCallback DetachDomainOperationCompleted; - - private System.Threading.SendOrPostCallback EnableDomainDnsOperationCompleted; - - private System.Threading.SendOrPostCallback DisableDomainDnsOperationCompleted; - - private System.Threading.SendOrPostCallback CreateDomainInstantAliasOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteDomainInstantAliasOperationCompleted; - - private System.Threading.SendOrPostCallback GetDnsZoneRecordsOperationCompleted; - - private System.Threading.SendOrPostCallback GetRawDnsZoneRecordsOperationCompleted; - - private System.Threading.SendOrPostCallback AddDnsZoneRecordOperationCompleted; - - private System.Threading.SendOrPostCallback UpdateDnsZoneRecordOperationCompleted; - - private System.Threading.SendOrPostCallback DeleteDnsZoneRecordOperationCompleted; - - private System.Threading.SendOrPostCallback GetTerminalServicesSessionsOperationCompleted; - - private System.Threading.SendOrPostCallback CloseTerminalServicesSessionOperationCompleted; - - private System.Threading.SendOrPostCallback GetWindowsProcessesOperationCompleted; - - private System.Threading.SendOrPostCallback TerminateWindowsProcessOperationCompleted; - - private System.Threading.SendOrPostCallback CheckLoadUserProfileOperationCompleted; - - private System.Threading.SendOrPostCallback EnableLoadUserProfileOperationCompleted; - - private System.Threading.SendOrPostCallback InitWPIFeedsOperationCompleted; - - private System.Threading.SendOrPostCallback GetWPITabsOperationCompleted; - - private System.Threading.SendOrPostCallback GetWPIKeywordsOperationCompleted; - - private System.Threading.SendOrPostCallback GetWPIProductsOperationCompleted; - - private System.Threading.SendOrPostCallback GetWPIProductsFilteredOperationCompleted; - - private System.Threading.SendOrPostCallback GetWPIProductByIdOperationCompleted; - - private System.Threading.SendOrPostCallback GetWPIProductsWithDependenciesOperationCompleted; - - private System.Threading.SendOrPostCallback InstallWPIProductsOperationCompleted; - - private System.Threading.SendOrPostCallback CancelInstallWPIProductsOperationCompleted; - - private System.Threading.SendOrPostCallback GetWPIStatusOperationCompleted; - - private System.Threading.SendOrPostCallback WpiGetLogFileDirectoryOperationCompleted; - - private System.Threading.SendOrPostCallback WpiGetLogsInDirectoryOperationCompleted; - - private System.Threading.SendOrPostCallback GetWindowsServicesOperationCompleted; - - private System.Threading.SendOrPostCallback ChangeWindowsServiceStatusOperationCompleted; - - private System.Threading.SendOrPostCallback GetLogNamesOperationCompleted; - - private System.Threading.SendOrPostCallback GetLogEntriesOperationCompleted; - - private System.Threading.SendOrPostCallback GetLogEntriesPagedOperationCompleted; - - private System.Threading.SendOrPostCallback ClearLogOperationCompleted; - - private System.Threading.SendOrPostCallback RebootSystemOperationCompleted; - /// public esServers() { this.Url = "http://localhost:9002/esServers.asmx"; } + /// + public event GetDnsRecordsByServerCompletedEventHandler GetDnsRecordsByServerCompleted; + + /// + public event GetDnsRecordsByPackageCompletedEventHandler GetDnsRecordsByPackageCompleted; + + /// + public event GetDnsRecordsByGroupCompletedEventHandler GetDnsRecordsByGroupCompleted; + + /// + public event GetDnsRecordCompletedEventHandler GetDnsRecordCompleted; + + /// + public event AddDnsRecordCompletedEventHandler AddDnsRecordCompleted; + + /// + public event UpdateDnsRecordCompletedEventHandler UpdateDnsRecordCompleted; + + /// + public event DeleteDnsRecordCompletedEventHandler DeleteDnsRecordCompleted; + + /// + public event GetDomainsCompletedEventHandler GetDomainsCompleted; + + /// + public event GetDomainsByDomainIdCompletedEventHandler GetDomainsByDomainIdCompleted; + + /// + public event GetMyDomainsCompletedEventHandler GetMyDomainsCompleted; + + /// + public event GetResellerDomainsCompletedEventHandler GetResellerDomainsCompleted; + + /// + public event GetDomainsPagedCompletedEventHandler GetDomainsPagedCompleted; + + /// + public event GetDomainCompletedEventHandler GetDomainCompleted; + + /// + public event AddDomainCompletedEventHandler AddDomainCompleted; + + /// + public event AddDomainWithProvisioningCompletedEventHandler AddDomainWithProvisioningCompleted; + + /// + public event UpdateDomainCompletedEventHandler UpdateDomainCompleted; + + /// + public event DeleteDomainCompletedEventHandler DeleteDomainCompleted; + + /// + public event DetachDomainCompletedEventHandler DetachDomainCompleted; + + /// + public event EnableDomainDnsCompletedEventHandler EnableDomainDnsCompleted; + + /// + public event DisableDomainDnsCompletedEventHandler DisableDomainDnsCompleted; + + /// + public event CreateDomainInstantAliasCompletedEventHandler CreateDomainInstantAliasCompleted; + + /// + public event DeleteDomainInstantAliasCompletedEventHandler DeleteDomainInstantAliasCompleted; + + /// + public event GetDnsZoneRecordsCompletedEventHandler GetDnsZoneRecordsCompleted; + + /// + public event GetRawDnsZoneRecordsCompletedEventHandler GetRawDnsZoneRecordsCompleted; + + /// + public event AddDnsZoneRecordCompletedEventHandler AddDnsZoneRecordCompleted; + + /// + public event UpdateDnsZoneRecordCompletedEventHandler UpdateDnsZoneRecordCompleted; + + /// + public event DeleteDnsZoneRecordCompletedEventHandler DeleteDnsZoneRecordCompleted; + + /// + public event GetTerminalServicesSessionsCompletedEventHandler GetTerminalServicesSessionsCompleted; + + /// + public event CloseTerminalServicesSessionCompletedEventHandler CloseTerminalServicesSessionCompleted; + + /// + public event GetWindowsProcessesCompletedEventHandler GetWindowsProcessesCompleted; + + /// + public event TerminateWindowsProcessCompletedEventHandler TerminateWindowsProcessCompleted; + + /// + public event CheckLoadUserProfileCompletedEventHandler CheckLoadUserProfileCompleted; + + /// + public event EnableLoadUserProfileCompletedEventHandler EnableLoadUserProfileCompleted; + + /// + public event InitWPIFeedsCompletedEventHandler InitWPIFeedsCompleted; + + /// + public event GetWPITabsCompletedEventHandler GetWPITabsCompleted; + + /// + public event GetWPIKeywordsCompletedEventHandler GetWPIKeywordsCompleted; + + /// + public event GetWPIProductsCompletedEventHandler GetWPIProductsCompleted; + + /// + public event GetWPIProductsFilteredCompletedEventHandler GetWPIProductsFilteredCompleted; + + /// + public event GetWPIProductByIdCompletedEventHandler GetWPIProductByIdCompleted; + + /// + public event GetWPIProductsWithDependenciesCompletedEventHandler GetWPIProductsWithDependenciesCompleted; + + /// + public event InstallWPIProductsCompletedEventHandler InstallWPIProductsCompleted; + + /// + public event CancelInstallWPIProductsCompletedEventHandler CancelInstallWPIProductsCompleted; + + /// + public event GetWPIStatusCompletedEventHandler GetWPIStatusCompleted; + + /// + public event WpiGetLogFileDirectoryCompletedEventHandler WpiGetLogFileDirectoryCompleted; + + /// + public event WpiGetLogsInDirectoryCompletedEventHandler WpiGetLogsInDirectoryCompleted; + + /// + public event GetWindowsServicesCompletedEventHandler GetWindowsServicesCompleted; + + /// + public event ChangeWindowsServiceStatusCompletedEventHandler ChangeWindowsServiceStatusCompleted; + + /// + public event GetLogNamesCompletedEventHandler GetLogNamesCompleted; + + /// + public event GetLogEntriesCompletedEventHandler GetLogEntriesCompleted; + + /// + public event GetLogEntriesPagedCompletedEventHandler GetLogEntriesPagedCompleted; + + /// + public event ClearLogCompletedEventHandler ClearLogCompleted; + + /// + public event RebootSystemCompletedEventHandler RebootSystemCompleted; + /// public event GetAllServersCompletedEventHandler GetAllServersCompleted; @@ -492,2945 +618,6 @@ namespace WebsitePanel.EnterpriseServer { /// public event GetDnsRecordsByServiceCompletedEventHandler GetDnsRecordsByServiceCompleted; - /// - public event GetDnsRecordsByServerCompletedEventHandler GetDnsRecordsByServerCompleted; - - /// - public event GetDnsRecordsByPackageCompletedEventHandler GetDnsRecordsByPackageCompleted; - - /// - public event GetDnsRecordsByGroupCompletedEventHandler GetDnsRecordsByGroupCompleted; - - /// - public event GetDnsRecordCompletedEventHandler GetDnsRecordCompleted; - - /// - public event AddDnsRecordCompletedEventHandler AddDnsRecordCompleted; - - /// - public event UpdateDnsRecordCompletedEventHandler UpdateDnsRecordCompleted; - - /// - public event DeleteDnsRecordCompletedEventHandler DeleteDnsRecordCompleted; - - /// - public event GetDomainsCompletedEventHandler GetDomainsCompleted; - - /// - public event GetDomainsByDomainIdCompletedEventHandler GetDomainsByDomainIdCompleted; - - /// - public event GetMyDomainsCompletedEventHandler GetMyDomainsCompleted; - - /// - public event GetResellerDomainsCompletedEventHandler GetResellerDomainsCompleted; - - /// - public event GetDomainsPagedCompletedEventHandler GetDomainsPagedCompleted; - - /// - public event GetDomainCompletedEventHandler GetDomainCompleted; - - /// - public event AddDomainCompletedEventHandler AddDomainCompleted; - - /// - public event AddDomainWithProvisioningCompletedEventHandler AddDomainWithProvisioningCompleted; - - /// - public event UpdateDomainCompletedEventHandler UpdateDomainCompleted; - - /// - public event DeleteDomainCompletedEventHandler DeleteDomainCompleted; - - /// - public event DetachDomainCompletedEventHandler DetachDomainCompleted; - - /// - public event EnableDomainDnsCompletedEventHandler EnableDomainDnsCompleted; - - /// - public event DisableDomainDnsCompletedEventHandler DisableDomainDnsCompleted; - - /// - public event CreateDomainInstantAliasCompletedEventHandler CreateDomainInstantAliasCompleted; - - /// - public event DeleteDomainInstantAliasCompletedEventHandler DeleteDomainInstantAliasCompleted; - - /// - public event GetDnsZoneRecordsCompletedEventHandler GetDnsZoneRecordsCompleted; - - /// - public event GetRawDnsZoneRecordsCompletedEventHandler GetRawDnsZoneRecordsCompleted; - - /// - public event AddDnsZoneRecordCompletedEventHandler AddDnsZoneRecordCompleted; - - /// - public event UpdateDnsZoneRecordCompletedEventHandler UpdateDnsZoneRecordCompleted; - - /// - public event DeleteDnsZoneRecordCompletedEventHandler DeleteDnsZoneRecordCompleted; - - /// - public event GetTerminalServicesSessionsCompletedEventHandler GetTerminalServicesSessionsCompleted; - - /// - public event CloseTerminalServicesSessionCompletedEventHandler CloseTerminalServicesSessionCompleted; - - /// - public event GetWindowsProcessesCompletedEventHandler GetWindowsProcessesCompleted; - - /// - public event TerminateWindowsProcessCompletedEventHandler TerminateWindowsProcessCompleted; - - /// - public event CheckLoadUserProfileCompletedEventHandler CheckLoadUserProfileCompleted; - - /// - public event EnableLoadUserProfileCompletedEventHandler EnableLoadUserProfileCompleted; - - /// - public event InitWPIFeedsCompletedEventHandler InitWPIFeedsCompleted; - - /// - public event GetWPITabsCompletedEventHandler GetWPITabsCompleted; - - /// - public event GetWPIKeywordsCompletedEventHandler GetWPIKeywordsCompleted; - - /// - public event GetWPIProductsCompletedEventHandler GetWPIProductsCompleted; - - /// - public event GetWPIProductsFilteredCompletedEventHandler GetWPIProductsFilteredCompleted; - - /// - public event GetWPIProductByIdCompletedEventHandler GetWPIProductByIdCompleted; - - /// - public event GetWPIProductsWithDependenciesCompletedEventHandler GetWPIProductsWithDependenciesCompleted; - - /// - public event InstallWPIProductsCompletedEventHandler InstallWPIProductsCompleted; - - /// - public event CancelInstallWPIProductsCompletedEventHandler CancelInstallWPIProductsCompleted; - - /// - public event GetWPIStatusCompletedEventHandler GetWPIStatusCompleted; - - /// - public event WpiGetLogFileDirectoryCompletedEventHandler WpiGetLogFileDirectoryCompleted; - - /// - public event WpiGetLogsInDirectoryCompletedEventHandler WpiGetLogsInDirectoryCompleted; - - /// - public event GetWindowsServicesCompletedEventHandler GetWindowsServicesCompleted; - - /// - public event ChangeWindowsServiceStatusCompletedEventHandler ChangeWindowsServiceStatusCompleted; - - /// - public event GetLogNamesCompletedEventHandler GetLogNamesCompleted; - - /// - public event GetLogEntriesCompletedEventHandler GetLogEntriesCompleted; - - /// - public event GetLogEntriesPagedCompletedEventHandler GetLogEntriesPagedCompleted; - - /// - public event ClearLogCompletedEventHandler ClearLogCompleted; - - /// - public event RebootSystemCompletedEventHandler RebootSystemCompleted; - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetAllServers", 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 ServerInfo[] GetAllServers() { - object[] results = this.Invoke("GetAllServers", new object[0]); - return ((ServerInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetAllServers(System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetAllServers", new object[0], callback, asyncState); - } - - /// - public ServerInfo[] EndGetAllServers(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ServerInfo[])(results[0])); - } - - /// - public void GetAllServersAsync() { - this.GetAllServersAsync(null); - } - - /// - public void GetAllServersAsync(object userState) { - if ((this.GetAllServersOperationCompleted == null)) { - this.GetAllServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllServersOperationCompleted); - } - this.InvokeAsync("GetAllServers", new object[0], this.GetAllServersOperationCompleted, userState); - } - - private void OnGetAllServersOperationCompleted(object arg) { - if ((this.GetAllServersCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetAllServersCompleted(this, new GetAllServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawAllServers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawAllServers() { - object[] results = this.Invoke("GetRawAllServers", new object[0]); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetRawAllServers(System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetRawAllServers", new object[0], callback, asyncState); - } - - /// - public System.Data.DataSet EndGetRawAllServers(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetRawAllServersAsync() { - this.GetRawAllServersAsync(null); - } - - /// - public void GetRawAllServersAsync(object userState) { - if ((this.GetRawAllServersOperationCompleted == null)) { - this.GetRawAllServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawAllServersOperationCompleted); - } - this.InvokeAsync("GetRawAllServers", new object[0], this.GetRawAllServersOperationCompleted, userState); - } - - private void OnGetRawAllServersOperationCompleted(object arg) { - if ((this.GetRawAllServersCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetRawAllServersCompleted(this, new GetRawAllServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServers", 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 ServerInfo[] GetServers() { - object[] results = this.Invoke("GetServers", new object[0]); - return ((ServerInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetServers(System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetServers", new object[0], callback, asyncState); - } - - /// - public ServerInfo[] EndGetServers(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ServerInfo[])(results[0])); - } - - /// - public void GetServersAsync() { - this.GetServersAsync(null); - } - - /// - public void GetServersAsync(object userState) { - if ((this.GetServersOperationCompleted == null)) { - this.GetServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServersOperationCompleted); - } - this.InvokeAsync("GetServers", new object[0], this.GetServersOperationCompleted, userState); - } - - private void OnGetServersOperationCompleted(object arg) { - if ((this.GetServersCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetServersCompleted(this, new GetServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawServers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawServers() { - object[] results = this.Invoke("GetRawServers", new object[0]); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetRawServers(System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetRawServers", new object[0], callback, asyncState); - } - - /// - public System.Data.DataSet EndGetRawServers(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetRawServersAsync() { - this.GetRawServersAsync(null); - } - - /// - public void GetRawServersAsync(object userState) { - if ((this.GetRawServersOperationCompleted == null)) { - this.GetRawServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawServersOperationCompleted); - } - this.InvokeAsync("GetRawServers", new object[0], this.GetRawServersOperationCompleted, userState); - } - - private void OnGetRawServersOperationCompleted(object arg) { - if ((this.GetRawServersCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetRawServersCompleted(this, new GetRawServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServerShortDetails", 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 ServerInfo GetServerShortDetails(int serverId) { - object[] results = this.Invoke("GetServerShortDetails", new object[] { - serverId}); - return ((ServerInfo)(results[0])); - } - - /// - public System.IAsyncResult BeginGetServerShortDetails(int serverId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetServerShortDetails", new object[] { - serverId}, callback, asyncState); - } - - /// - public ServerInfo EndGetServerShortDetails(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ServerInfo)(results[0])); - } - - /// - public void GetServerShortDetailsAsync(int serverId) { - this.GetServerShortDetailsAsync(serverId, null); - } - - /// - public void GetServerShortDetailsAsync(int serverId, object userState) { - if ((this.GetServerShortDetailsOperationCompleted == null)) { - this.GetServerShortDetailsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerShortDetailsOperationCompleted); - } - this.InvokeAsync("GetServerShortDetails", new object[] { - serverId}, this.GetServerShortDetailsOperationCompleted, userState); - } - - private void OnGetServerShortDetailsOperationCompleted(object arg) { - if ((this.GetServerShortDetailsCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetServerShortDetailsCompleted(this, new GetServerShortDetailsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServerById", 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 ServerInfo GetServerById(int serverId) { - object[] results = this.Invoke("GetServerById", new object[] { - serverId}); - return ((ServerInfo)(results[0])); - } - - /// - public System.IAsyncResult BeginGetServerById(int serverId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetServerById", new object[] { - serverId}, callback, asyncState); - } - - /// - public ServerInfo EndGetServerById(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ServerInfo)(results[0])); - } - - /// - public void GetServerByIdAsync(int serverId) { - this.GetServerByIdAsync(serverId, null); - } - - /// - public void GetServerByIdAsync(int serverId, object userState) { - if ((this.GetServerByIdOperationCompleted == null)) { - this.GetServerByIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerByIdOperationCompleted); - } - this.InvokeAsync("GetServerById", new object[] { - serverId}, this.GetServerByIdOperationCompleted, userState); - } - - private void OnGetServerByIdOperationCompleted(object arg) { - if ((this.GetServerByIdCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetServerByIdCompleted(this, new GetServerByIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServerByName", 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 ServerInfo GetServerByName(string serverName) { - object[] results = this.Invoke("GetServerByName", new object[] { - serverName}); - return ((ServerInfo)(results[0])); - } - - /// - public System.IAsyncResult BeginGetServerByName(string serverName, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetServerByName", new object[] { - serverName}, callback, asyncState); - } - - /// - public ServerInfo EndGetServerByName(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ServerInfo)(results[0])); - } - - /// - public void GetServerByNameAsync(string serverName) { - this.GetServerByNameAsync(serverName, null); - } - - /// - public void GetServerByNameAsync(string serverName, object userState) { - if ((this.GetServerByNameOperationCompleted == null)) { - this.GetServerByNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerByNameOperationCompleted); - } - this.InvokeAsync("GetServerByName", new object[] { - serverName}, this.GetServerByNameOperationCompleted, userState); - } - - private void OnGetServerByNameOperationCompleted(object arg) { - if ((this.GetServerByNameCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetServerByNameCompleted(this, new GetServerByNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckServerAvailable", 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 CheckServerAvailable(string serverUrl, string password) { - object[] results = this.Invoke("CheckServerAvailable", new object[] { - serverUrl, - password}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginCheckServerAvailable(string serverUrl, string password, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("CheckServerAvailable", new object[] { - serverUrl, - password}, callback, asyncState); - } - - /// - public int EndCheckServerAvailable(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void CheckServerAvailableAsync(string serverUrl, string password) { - this.CheckServerAvailableAsync(serverUrl, password, null); - } - - /// - public void CheckServerAvailableAsync(string serverUrl, string password, object userState) { - if ((this.CheckServerAvailableOperationCompleted == null)) { - this.CheckServerAvailableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckServerAvailableOperationCompleted); - } - this.InvokeAsync("CheckServerAvailable", new object[] { - serverUrl, - password}, this.CheckServerAvailableOperationCompleted, userState); - } - - private void OnCheckServerAvailableOperationCompleted(object arg) { - if ((this.CheckServerAvailableCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.CheckServerAvailableCompleted(this, new CheckServerAvailableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddServer", 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 AddServer(ServerInfo server, bool autoDiscovery) { - object[] results = this.Invoke("AddServer", new object[] { - server, - autoDiscovery}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginAddServer(ServerInfo server, bool autoDiscovery, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("AddServer", new object[] { - server, - autoDiscovery}, callback, asyncState); - } - - /// - public int EndAddServer(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void AddServerAsync(ServerInfo server, bool autoDiscovery) { - this.AddServerAsync(server, autoDiscovery, null); - } - - /// - public void AddServerAsync(ServerInfo server, bool autoDiscovery, object userState) { - if ((this.AddServerOperationCompleted == null)) { - this.AddServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddServerOperationCompleted); - } - this.InvokeAsync("AddServer", new object[] { - server, - autoDiscovery}, this.AddServerOperationCompleted, userState); - } - - private void OnAddServerOperationCompleted(object arg) { - if ((this.AddServerCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.AddServerCompleted(this, new AddServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateServer", 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 UpdateServer(ServerInfo server) { - object[] results = this.Invoke("UpdateServer", new object[] { - server}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginUpdateServer(ServerInfo server, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("UpdateServer", new object[] { - server}, callback, asyncState); - } - - /// - public int EndUpdateServer(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void UpdateServerAsync(ServerInfo server) { - this.UpdateServerAsync(server, null); - } - - /// - public void UpdateServerAsync(ServerInfo server, object userState) { - if ((this.UpdateServerOperationCompleted == null)) { - this.UpdateServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateServerOperationCompleted); - } - this.InvokeAsync("UpdateServer", new object[] { - server}, this.UpdateServerOperationCompleted, userState); - } - - private void OnUpdateServerOperationCompleted(object arg) { - if ((this.UpdateServerCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.UpdateServerCompleted(this, new UpdateServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateServerConnectionPassword", 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 UpdateServerConnectionPassword(int serverId, string password) { - object[] results = this.Invoke("UpdateServerConnectionPassword", new object[] { - serverId, - password}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginUpdateServerConnectionPassword(int serverId, string password, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("UpdateServerConnectionPassword", new object[] { - serverId, - password}, callback, asyncState); - } - - /// - public int EndUpdateServerConnectionPassword(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void UpdateServerConnectionPasswordAsync(int serverId, string password) { - this.UpdateServerConnectionPasswordAsync(serverId, password, null); - } - - /// - public void UpdateServerConnectionPasswordAsync(int serverId, string password, object userState) { - if ((this.UpdateServerConnectionPasswordOperationCompleted == null)) { - this.UpdateServerConnectionPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateServerConnectionPasswordOperationCompleted); - } - this.InvokeAsync("UpdateServerConnectionPassword", new object[] { - serverId, - password}, this.UpdateServerConnectionPasswordOperationCompleted, userState); - } - - private void OnUpdateServerConnectionPasswordOperationCompleted(object arg) { - if ((this.UpdateServerConnectionPasswordCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.UpdateServerConnectionPasswordCompleted(this, new UpdateServerConnectionPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateServerADPassword", 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 UpdateServerADPassword(int serverId, string adPassword) { - object[] results = this.Invoke("UpdateServerADPassword", new object[] { - serverId, - adPassword}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginUpdateServerADPassword(int serverId, string adPassword, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("UpdateServerADPassword", new object[] { - serverId, - adPassword}, callback, asyncState); - } - - /// - public int EndUpdateServerADPassword(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void UpdateServerADPasswordAsync(int serverId, string adPassword) { - this.UpdateServerADPasswordAsync(serverId, adPassword, null); - } - - /// - public void UpdateServerADPasswordAsync(int serverId, string adPassword, object userState) { - if ((this.UpdateServerADPasswordOperationCompleted == null)) { - this.UpdateServerADPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateServerADPasswordOperationCompleted); - } - this.InvokeAsync("UpdateServerADPassword", new object[] { - serverId, - adPassword}, this.UpdateServerADPasswordOperationCompleted, userState); - } - - private void OnUpdateServerADPasswordOperationCompleted(object arg) { - if ((this.UpdateServerADPasswordCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.UpdateServerADPasswordCompleted(this, new UpdateServerADPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteServer", 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 DeleteServer(int serverId) { - object[] results = this.Invoke("DeleteServer", new object[] { - serverId}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteServer(int serverId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteServer", new object[] { - serverId}, callback, asyncState); - } - - /// - public int EndDeleteServer(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void DeleteServerAsync(int serverId) { - this.DeleteServerAsync(serverId, null); - } - - /// - public void DeleteServerAsync(int serverId, object userState) { - if ((this.DeleteServerOperationCompleted == null)) { - this.DeleteServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteServerOperationCompleted); - } - this.InvokeAsync("DeleteServer", new object[] { - serverId}, this.DeleteServerOperationCompleted, userState); - } - - private void OnDeleteServerOperationCompleted(object arg) { - if ((this.DeleteServerCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteServerCompleted(this, new DeleteServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetVirtualServers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetVirtualServers() { - object[] results = this.Invoke("GetVirtualServers", new object[0]); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetVirtualServers(System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetVirtualServers", new object[0], callback, asyncState); - } - - /// - public System.Data.DataSet EndGetVirtualServers(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetVirtualServersAsync() { - this.GetVirtualServersAsync(null); - } - - /// - public void GetVirtualServersAsync(object userState) { - if ((this.GetVirtualServersOperationCompleted == null)) { - this.GetVirtualServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVirtualServersOperationCompleted); - } - this.InvokeAsync("GetVirtualServers", new object[0], this.GetVirtualServersOperationCompleted, userState); - } - - private void OnGetVirtualServersOperationCompleted(object arg) { - if ((this.GetVirtualServersCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetVirtualServersCompleted(this, new GetVirtualServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetAvailableVirtualServices", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetAvailableVirtualServices(int serverId) { - object[] results = this.Invoke("GetAvailableVirtualServices", new object[] { - serverId}); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetAvailableVirtualServices(int serverId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetAvailableVirtualServices", new object[] { - serverId}, callback, asyncState); - } - - /// - public System.Data.DataSet EndGetAvailableVirtualServices(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetAvailableVirtualServicesAsync(int serverId) { - this.GetAvailableVirtualServicesAsync(serverId, null); - } - - /// - public void GetAvailableVirtualServicesAsync(int serverId, object userState) { - if ((this.GetAvailableVirtualServicesOperationCompleted == null)) { - this.GetAvailableVirtualServicesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAvailableVirtualServicesOperationCompleted); - } - this.InvokeAsync("GetAvailableVirtualServices", new object[] { - serverId}, this.GetAvailableVirtualServicesOperationCompleted, userState); - } - - private void OnGetAvailableVirtualServicesOperationCompleted(object arg) { - if ((this.GetAvailableVirtualServicesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetAvailableVirtualServicesCompleted(this, new GetAvailableVirtualServicesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetVirtualServices", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetVirtualServices(int serverId) { - object[] results = this.Invoke("GetVirtualServices", new object[] { - serverId}); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetVirtualServices(int serverId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetVirtualServices", new object[] { - serverId}, callback, asyncState); - } - - /// - public System.Data.DataSet EndGetVirtualServices(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetVirtualServicesAsync(int serverId) { - this.GetVirtualServicesAsync(serverId, null); - } - - /// - public void GetVirtualServicesAsync(int serverId, object userState) { - if ((this.GetVirtualServicesOperationCompleted == null)) { - this.GetVirtualServicesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVirtualServicesOperationCompleted); - } - this.InvokeAsync("GetVirtualServices", new object[] { - serverId}, this.GetVirtualServicesOperationCompleted, userState); - } - - private void OnGetVirtualServicesOperationCompleted(object arg) { - if ((this.GetVirtualServicesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetVirtualServicesCompleted(this, new GetVirtualServicesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddVirtualServices", 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 AddVirtualServices(int serverId, int[] ids) { - object[] results = this.Invoke("AddVirtualServices", new object[] { - serverId, - ids}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginAddVirtualServices(int serverId, int[] ids, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("AddVirtualServices", new object[] { - serverId, - ids}, callback, asyncState); - } - - /// - public int EndAddVirtualServices(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void AddVirtualServicesAsync(int serverId, int[] ids) { - this.AddVirtualServicesAsync(serverId, ids, null); - } - - /// - public void AddVirtualServicesAsync(int serverId, int[] ids, object userState) { - if ((this.AddVirtualServicesOperationCompleted == null)) { - this.AddVirtualServicesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddVirtualServicesOperationCompleted); - } - this.InvokeAsync("AddVirtualServices", new object[] { - serverId, - ids}, this.AddVirtualServicesOperationCompleted, userState); - } - - private void OnAddVirtualServicesOperationCompleted(object arg) { - if ((this.AddVirtualServicesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.AddVirtualServicesCompleted(this, new AddVirtualServicesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteVirtualServices", 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 DeleteVirtualServices(int serverId, int[] ids) { - object[] results = this.Invoke("DeleteVirtualServices", new object[] { - serverId, - ids}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteVirtualServices(int serverId, int[] ids, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteVirtualServices", new object[] { - serverId, - ids}, callback, asyncState); - } - - /// - public int EndDeleteVirtualServices(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void DeleteVirtualServicesAsync(int serverId, int[] ids) { - this.DeleteVirtualServicesAsync(serverId, ids, null); - } - - /// - public void DeleteVirtualServicesAsync(int serverId, int[] ids, object userState) { - if ((this.DeleteVirtualServicesOperationCompleted == null)) { - this.DeleteVirtualServicesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteVirtualServicesOperationCompleted); - } - this.InvokeAsync("DeleteVirtualServices", new object[] { - serverId, - ids}, this.DeleteVirtualServicesOperationCompleted, userState); - } - - private void OnDeleteVirtualServicesOperationCompleted(object arg) { - if ((this.DeleteVirtualServicesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteVirtualServicesCompleted(this, new DeleteVirtualServicesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateVirtualGroups", 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 UpdateVirtualGroups(int serverId, VirtualGroupInfo[] groups) { - object[] results = this.Invoke("UpdateVirtualGroups", new object[] { - serverId, - groups}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginUpdateVirtualGroups(int serverId, VirtualGroupInfo[] groups, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("UpdateVirtualGroups", new object[] { - serverId, - groups}, callback, asyncState); - } - - /// - public int EndUpdateVirtualGroups(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void UpdateVirtualGroupsAsync(int serverId, VirtualGroupInfo[] groups) { - this.UpdateVirtualGroupsAsync(serverId, groups, null); - } - - /// - public void UpdateVirtualGroupsAsync(int serverId, VirtualGroupInfo[] groups, object userState) { - if ((this.UpdateVirtualGroupsOperationCompleted == null)) { - this.UpdateVirtualGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateVirtualGroupsOperationCompleted); - } - this.InvokeAsync("UpdateVirtualGroups", new object[] { - serverId, - groups}, this.UpdateVirtualGroupsOperationCompleted, userState); - } - - private void OnUpdateVirtualGroupsOperationCompleted(object arg) { - if ((this.UpdateVirtualGroupsCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.UpdateVirtualGroupsCompleted(this, new UpdateVirtualGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawServicesByServerId", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawServicesByServerId(int serverId) { - object[] results = this.Invoke("GetRawServicesByServerId", new object[] { - serverId}); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetRawServicesByServerId(int serverId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetRawServicesByServerId", new object[] { - serverId}, callback, asyncState); - } - - /// - public System.Data.DataSet EndGetRawServicesByServerId(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetRawServicesByServerIdAsync(int serverId) { - this.GetRawServicesByServerIdAsync(serverId, null); - } - - /// - public void GetRawServicesByServerIdAsync(int serverId, object userState) { - if ((this.GetRawServicesByServerIdOperationCompleted == null)) { - this.GetRawServicesByServerIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawServicesByServerIdOperationCompleted); - } - this.InvokeAsync("GetRawServicesByServerId", new object[] { - serverId}, this.GetRawServicesByServerIdOperationCompleted, userState); - } - - private void OnGetRawServicesByServerIdOperationCompleted(object arg) { - if ((this.GetRawServicesByServerIdCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetRawServicesByServerIdCompleted(this, new GetRawServicesByServerIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServicesByServerId", 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 ServiceInfo[] GetServicesByServerId(int serverId) { - object[] results = this.Invoke("GetServicesByServerId", new object[] { - serverId}); - return ((ServiceInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetServicesByServerId(int serverId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetServicesByServerId", new object[] { - serverId}, callback, asyncState); - } - - /// - public ServiceInfo[] EndGetServicesByServerId(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ServiceInfo[])(results[0])); - } - - /// - public void GetServicesByServerIdAsync(int serverId) { - this.GetServicesByServerIdAsync(serverId, null); - } - - /// - public void GetServicesByServerIdAsync(int serverId, object userState) { - if ((this.GetServicesByServerIdOperationCompleted == null)) { - this.GetServicesByServerIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServicesByServerIdOperationCompleted); - } - this.InvokeAsync("GetServicesByServerId", new object[] { - serverId}, this.GetServicesByServerIdOperationCompleted, userState); - } - - private void OnGetServicesByServerIdOperationCompleted(object arg) { - if ((this.GetServicesByServerIdCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetServicesByServerIdCompleted(this, new GetServicesByServerIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServicesByServerIdGroupName", 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 ServiceInfo[] GetServicesByServerIdGroupName(int serverId, string groupName) { - object[] results = this.Invoke("GetServicesByServerIdGroupName", new object[] { - serverId, - groupName}); - return ((ServiceInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetServicesByServerIdGroupName(int serverId, string groupName, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetServicesByServerIdGroupName", new object[] { - serverId, - groupName}, callback, asyncState); - } - - /// - public ServiceInfo[] EndGetServicesByServerIdGroupName(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ServiceInfo[])(results[0])); - } - - /// - public void GetServicesByServerIdGroupNameAsync(int serverId, string groupName) { - this.GetServicesByServerIdGroupNameAsync(serverId, groupName, null); - } - - /// - public void GetServicesByServerIdGroupNameAsync(int serverId, string groupName, object userState) { - if ((this.GetServicesByServerIdGroupNameOperationCompleted == null)) { - this.GetServicesByServerIdGroupNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServicesByServerIdGroupNameOperationCompleted); - } - this.InvokeAsync("GetServicesByServerIdGroupName", new object[] { - serverId, - groupName}, this.GetServicesByServerIdGroupNameOperationCompleted, userState); - } - - private void OnGetServicesByServerIdGroupNameOperationCompleted(object arg) { - if ((this.GetServicesByServerIdGroupNameCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetServicesByServerIdGroupNameCompleted(this, new GetServicesByServerIdGroupNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawServicesByGroupId", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawServicesByGroupId(int groupId) { - object[] results = this.Invoke("GetRawServicesByGroupId", new object[] { - groupId}); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetRawServicesByGroupId(int groupId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetRawServicesByGroupId", new object[] { - groupId}, callback, asyncState); - } - - /// - public System.Data.DataSet EndGetRawServicesByGroupId(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetRawServicesByGroupIdAsync(int groupId) { - this.GetRawServicesByGroupIdAsync(groupId, null); - } - - /// - public void GetRawServicesByGroupIdAsync(int groupId, object userState) { - if ((this.GetRawServicesByGroupIdOperationCompleted == null)) { - this.GetRawServicesByGroupIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawServicesByGroupIdOperationCompleted); - } - this.InvokeAsync("GetRawServicesByGroupId", new object[] { - groupId}, this.GetRawServicesByGroupIdOperationCompleted, userState); - } - - private void OnGetRawServicesByGroupIdOperationCompleted(object arg) { - if ((this.GetRawServicesByGroupIdCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetRawServicesByGroupIdCompleted(this, new GetRawServicesByGroupIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawServicesByGroupName", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawServicesByGroupName(string groupName) { - object[] results = this.Invoke("GetRawServicesByGroupName", new object[] { - groupName}); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetRawServicesByGroupName(string groupName, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetRawServicesByGroupName", new object[] { - groupName}, callback, asyncState); - } - - /// - public System.Data.DataSet EndGetRawServicesByGroupName(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetRawServicesByGroupNameAsync(string groupName) { - this.GetRawServicesByGroupNameAsync(groupName, null); - } - - /// - public void GetRawServicesByGroupNameAsync(string groupName, object userState) { - if ((this.GetRawServicesByGroupNameOperationCompleted == null)) { - this.GetRawServicesByGroupNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawServicesByGroupNameOperationCompleted); - } - this.InvokeAsync("GetRawServicesByGroupName", new object[] { - groupName}, this.GetRawServicesByGroupNameOperationCompleted, userState); - } - - private void OnGetRawServicesByGroupNameOperationCompleted(object arg) { - if ((this.GetRawServicesByGroupNameCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetRawServicesByGroupNameCompleted(this, new GetRawServicesByGroupNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServiceInfo", 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 ServiceInfo GetServiceInfo(int serviceId) { - object[] results = this.Invoke("GetServiceInfo", new object[] { - serviceId}); - return ((ServiceInfo)(results[0])); - } - - /// - public System.IAsyncResult BeginGetServiceInfo(int serviceId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetServiceInfo", new object[] { - serviceId}, callback, asyncState); - } - - /// - public ServiceInfo EndGetServiceInfo(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ServiceInfo)(results[0])); - } - - /// - public void GetServiceInfoAsync(int serviceId) { - this.GetServiceInfoAsync(serviceId, null); - } - - /// - public void GetServiceInfoAsync(int serviceId, object userState) { - if ((this.GetServiceInfoOperationCompleted == null)) { - this.GetServiceInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServiceInfoOperationCompleted); - } - this.InvokeAsync("GetServiceInfo", new object[] { - serviceId}, this.GetServiceInfoOperationCompleted, userState); - } - - private void OnGetServiceInfoOperationCompleted(object arg) { - if ((this.GetServiceInfoCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetServiceInfoCompleted(this, new GetServiceInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddService", 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 AddService(ServiceInfo service) { - object[] results = this.Invoke("AddService", new object[] { - service}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginAddService(ServiceInfo service, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("AddService", new object[] { - service}, callback, asyncState); - } - - /// - public int EndAddService(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void AddServiceAsync(ServiceInfo service) { - this.AddServiceAsync(service, null); - } - - /// - public void AddServiceAsync(ServiceInfo service, object userState) { - if ((this.AddServiceOperationCompleted == null)) { - this.AddServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddServiceOperationCompleted); - } - this.InvokeAsync("AddService", new object[] { - service}, this.AddServiceOperationCompleted, userState); - } - - private void OnAddServiceOperationCompleted(object arg) { - if ((this.AddServiceCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.AddServiceCompleted(this, new AddServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateService", 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 UpdateService(ServiceInfo service) { - object[] results = this.Invoke("UpdateService", new object[] { - service}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginUpdateService(ServiceInfo service, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("UpdateService", new object[] { - service}, callback, asyncState); - } - - /// - public int EndUpdateService(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void UpdateServiceAsync(ServiceInfo service) { - this.UpdateServiceAsync(service, null); - } - - /// - public void UpdateServiceAsync(ServiceInfo service, object userState) { - if ((this.UpdateServiceOperationCompleted == null)) { - this.UpdateServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateServiceOperationCompleted); - } - this.InvokeAsync("UpdateService", new object[] { - service}, this.UpdateServiceOperationCompleted, userState); - } - - private void OnUpdateServiceOperationCompleted(object arg) { - if ((this.UpdateServiceCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.UpdateServiceCompleted(this, new UpdateServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteService", 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 DeleteService(int serviceId) { - object[] results = this.Invoke("DeleteService", new object[] { - serviceId}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteService(int serviceId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteService", new object[] { - serviceId}, callback, asyncState); - } - - /// - public int EndDeleteService(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void DeleteServiceAsync(int serviceId) { - this.DeleteServiceAsync(serviceId, null); - } - - /// - public void DeleteServiceAsync(int serviceId, object userState) { - if ((this.DeleteServiceOperationCompleted == null)) { - this.DeleteServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteServiceOperationCompleted); - } - this.InvokeAsync("DeleteService", new object[] { - serviceId}, this.DeleteServiceOperationCompleted, userState); - } - - private void OnDeleteServiceOperationCompleted(object arg) { - if ((this.DeleteServiceCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteServiceCompleted(this, new DeleteServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServiceSettings", 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[] GetServiceSettings(int serviceId) { - object[] results = this.Invoke("GetServiceSettings", new object[] { - serviceId}); - return ((string[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetServiceSettings(int serviceId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetServiceSettings", new object[] { - serviceId}, callback, asyncState); - } - - /// - public string[] EndGetServiceSettings(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((string[])(results[0])); - } - - /// - public void GetServiceSettingsAsync(int serviceId) { - this.GetServiceSettingsAsync(serviceId, null); - } - - /// - public void GetServiceSettingsAsync(int serviceId, object userState) { - if ((this.GetServiceSettingsOperationCompleted == null)) { - this.GetServiceSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServiceSettingsOperationCompleted); - } - this.InvokeAsync("GetServiceSettings", new object[] { - serviceId}, this.GetServiceSettingsOperationCompleted, userState); - } - - private void OnGetServiceSettingsOperationCompleted(object arg) { - if ((this.GetServiceSettingsCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetServiceSettingsCompleted(this, new GetServiceSettingsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateServiceSettings", 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 UpdateServiceSettings(int serviceId, string[] settings) { - object[] results = this.Invoke("UpdateServiceSettings", new object[] { - serviceId, - settings}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginUpdateServiceSettings(int serviceId, string[] settings, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("UpdateServiceSettings", new object[] { - serviceId, - settings}, callback, asyncState); - } - - /// - public int EndUpdateServiceSettings(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void UpdateServiceSettingsAsync(int serviceId, string[] settings) { - this.UpdateServiceSettingsAsync(serviceId, settings, null); - } - - /// - public void UpdateServiceSettingsAsync(int serviceId, string[] settings, object userState) { - if ((this.UpdateServiceSettingsOperationCompleted == null)) { - this.UpdateServiceSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateServiceSettingsOperationCompleted); - } - this.InvokeAsync("UpdateServiceSettings", new object[] { - serviceId, - settings}, this.UpdateServiceSettingsOperationCompleted, userState); - } - - private void OnUpdateServiceSettingsOperationCompleted(object arg) { - if ((this.UpdateServiceSettingsCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.UpdateServiceSettingsCompleted(this, new UpdateServiceSettingsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallService", 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[] InstallService(int serviceId) { - object[] results = this.Invoke("InstallService", new object[] { - serviceId}); - return ((string[])(results[0])); - } - - /// - public System.IAsyncResult BeginInstallService(int serviceId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("InstallService", new object[] { - serviceId}, callback, asyncState); - } - - /// - public string[] EndInstallService(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((string[])(results[0])); - } - - /// - public void InstallServiceAsync(int serviceId) { - this.InstallServiceAsync(serviceId, null); - } - - /// - public void InstallServiceAsync(int serviceId, object userState) { - if ((this.InstallServiceOperationCompleted == null)) { - this.InstallServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallServiceOperationCompleted); - } - this.InvokeAsync("InstallService", new object[] { - serviceId}, this.InstallServiceOperationCompleted, userState); - } - - private void OnInstallServiceOperationCompleted(object arg) { - if ((this.InstallServiceCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.InstallServiceCompleted(this, new InstallServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetProviderServiceQuota", 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 QuotaInfo GetProviderServiceQuota(int providerId) { - object[] results = this.Invoke("GetProviderServiceQuota", new object[] { - providerId}); - return ((QuotaInfo)(results[0])); - } - - /// - public System.IAsyncResult BeginGetProviderServiceQuota(int providerId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetProviderServiceQuota", new object[] { - providerId}, callback, asyncState); - } - - /// - public QuotaInfo EndGetProviderServiceQuota(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((QuotaInfo)(results[0])); - } - - /// - public void GetProviderServiceQuotaAsync(int providerId) { - this.GetProviderServiceQuotaAsync(providerId, null); - } - - /// - public void GetProviderServiceQuotaAsync(int providerId, object userState) { - if ((this.GetProviderServiceQuotaOperationCompleted == null)) { - this.GetProviderServiceQuotaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetProviderServiceQuotaOperationCompleted); - } - this.InvokeAsync("GetProviderServiceQuota", new object[] { - providerId}, this.GetProviderServiceQuotaOperationCompleted, userState); - } - - private void OnGetProviderServiceQuotaOperationCompleted(object arg) { - if ((this.GetProviderServiceQuotaCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetProviderServiceQuotaCompleted(this, new GetProviderServiceQuotaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetInstalledProviders", 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 ProviderInfo[] GetInstalledProviders(int groupId) { - object[] results = this.Invoke("GetInstalledProviders", new object[] { - groupId}); - return ((ProviderInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetInstalledProviders(int groupId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetInstalledProviders", new object[] { - groupId}, callback, asyncState); - } - - /// - public ProviderInfo[] EndGetInstalledProviders(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ProviderInfo[])(results[0])); - } - - /// - public void GetInstalledProvidersAsync(int groupId) { - this.GetInstalledProvidersAsync(groupId, null); - } - - /// - public void GetInstalledProvidersAsync(int groupId, object userState) { - if ((this.GetInstalledProvidersOperationCompleted == null)) { - this.GetInstalledProvidersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetInstalledProvidersOperationCompleted); - } - this.InvokeAsync("GetInstalledProviders", new object[] { - groupId}, this.GetInstalledProvidersOperationCompleted, userState); - } - - private void OnGetInstalledProvidersOperationCompleted(object arg) { - if ((this.GetInstalledProvidersCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetInstalledProvidersCompleted(this, new GetInstalledProvidersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetResourceGroups", 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 ResourceGroupInfo[] GetResourceGroups() { - object[] results = this.Invoke("GetResourceGroups", new object[0]); - return ((ResourceGroupInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetResourceGroups(System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetResourceGroups", new object[0], callback, asyncState); - } - - /// - public ResourceGroupInfo[] EndGetResourceGroups(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResourceGroupInfo[])(results[0])); - } - - /// - public void GetResourceGroupsAsync() { - this.GetResourceGroupsAsync(null); - } - - /// - public void GetResourceGroupsAsync(object userState) { - if ((this.GetResourceGroupsOperationCompleted == null)) { - this.GetResourceGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetResourceGroupsOperationCompleted); - } - this.InvokeAsync("GetResourceGroups", new object[0], this.GetResourceGroupsOperationCompleted, userState); - } - - private void OnGetResourceGroupsOperationCompleted(object arg) { - if ((this.GetResourceGroupsCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetResourceGroupsCompleted(this, new GetResourceGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetResourceGroup", 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 ResourceGroupInfo GetResourceGroup(int groupId) { - object[] results = this.Invoke("GetResourceGroup", new object[] { - groupId}); - return ((ResourceGroupInfo)(results[0])); - } - - /// - public System.IAsyncResult BeginGetResourceGroup(int groupId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetResourceGroup", new object[] { - groupId}, callback, asyncState); - } - - /// - public ResourceGroupInfo EndGetResourceGroup(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResourceGroupInfo)(results[0])); - } - - /// - public void GetResourceGroupAsync(int groupId) { - this.GetResourceGroupAsync(groupId, null); - } - - /// - public void GetResourceGroupAsync(int groupId, object userState) { - if ((this.GetResourceGroupOperationCompleted == null)) { - this.GetResourceGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetResourceGroupOperationCompleted); - } - this.InvokeAsync("GetResourceGroup", new object[] { - groupId}, this.GetResourceGroupOperationCompleted, userState); - } - - private void OnGetResourceGroupOperationCompleted(object arg) { - if ((this.GetResourceGroupCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetResourceGroupCompleted(this, new GetResourceGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetProvider", 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 ProviderInfo GetProvider(int providerId) { - object[] results = this.Invoke("GetProvider", new object[] { - providerId}); - return ((ProviderInfo)(results[0])); - } - - /// - public System.IAsyncResult BeginGetProvider(int providerId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetProvider", new object[] { - providerId}, callback, asyncState); - } - - /// - public ProviderInfo EndGetProvider(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ProviderInfo)(results[0])); - } - - /// - public void GetProviderAsync(int providerId) { - this.GetProviderAsync(providerId, null); - } - - /// - public void GetProviderAsync(int providerId, object userState) { - if ((this.GetProviderOperationCompleted == null)) { - this.GetProviderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetProviderOperationCompleted); - } - this.InvokeAsync("GetProvider", new object[] { - providerId}, this.GetProviderOperationCompleted, userState); - } - - private void OnGetProviderOperationCompleted(object arg) { - if ((this.GetProviderCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetProviderCompleted(this, new GetProviderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetProviders", 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 ProviderInfo[] GetProviders() { - object[] results = this.Invoke("GetProviders", new object[0]); - return ((ProviderInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetProviders(System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetProviders", new object[0], callback, asyncState); - } - - /// - public ProviderInfo[] EndGetProviders(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ProviderInfo[])(results[0])); - } - - /// - public void GetProvidersAsync() { - this.GetProvidersAsync(null); - } - - /// - public void GetProvidersAsync(object userState) { - if ((this.GetProvidersOperationCompleted == null)) { - this.GetProvidersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetProvidersOperationCompleted); - } - this.InvokeAsync("GetProviders", new object[0], this.GetProvidersOperationCompleted, userState); - } - - private void OnGetProvidersOperationCompleted(object arg) { - if ((this.GetProvidersCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetProvidersCompleted(this, new GetProvidersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetProvidersByGroupId", 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 ProviderInfo[] GetProvidersByGroupId(int groupId) { - object[] results = this.Invoke("GetProvidersByGroupId", new object[] { - groupId}); - return ((ProviderInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetProvidersByGroupId(int groupId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetProvidersByGroupId", new object[] { - groupId}, callback, asyncState); - } - - /// - public ProviderInfo[] EndGetProvidersByGroupId(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ProviderInfo[])(results[0])); - } - - /// - public void GetProvidersByGroupIdAsync(int groupId) { - this.GetProvidersByGroupIdAsync(groupId, null); - } - - /// - public void GetProvidersByGroupIdAsync(int groupId, object userState) { - if ((this.GetProvidersByGroupIdOperationCompleted == null)) { - this.GetProvidersByGroupIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetProvidersByGroupIdOperationCompleted); - } - this.InvokeAsync("GetProvidersByGroupId", new object[] { - groupId}, this.GetProvidersByGroupIdOperationCompleted, userState); - } - - private void OnGetProvidersByGroupIdOperationCompleted(object arg) { - if ((this.GetProvidersByGroupIdCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetProvidersByGroupIdCompleted(this, new GetProvidersByGroupIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetPackageServiceProvider", 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 ProviderInfo GetPackageServiceProvider(int packageId, string groupName) { - object[] results = this.Invoke("GetPackageServiceProvider", new object[] { - packageId, - groupName}); - return ((ProviderInfo)(results[0])); - } - - /// - public System.IAsyncResult BeginGetPackageServiceProvider(int packageId, string groupName, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetPackageServiceProvider", new object[] { - packageId, - groupName}, callback, asyncState); - } - - /// - public ProviderInfo EndGetPackageServiceProvider(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ProviderInfo)(results[0])); - } - - /// - public void GetPackageServiceProviderAsync(int packageId, string groupName) { - this.GetPackageServiceProviderAsync(packageId, groupName, null); - } - - /// - public void GetPackageServiceProviderAsync(int packageId, string groupName, object userState) { - if ((this.GetPackageServiceProviderOperationCompleted == null)) { - this.GetPackageServiceProviderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPackageServiceProviderOperationCompleted); - } - this.InvokeAsync("GetPackageServiceProvider", new object[] { - packageId, - groupName}, this.GetPackageServiceProviderOperationCompleted, userState); - } - - private void OnGetPackageServiceProviderOperationCompleted(object arg) { - if ((this.GetPackageServiceProviderCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetPackageServiceProviderCompleted(this, new GetPackageServiceProviderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/IsInstalled", 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 BoolResult IsInstalled(int serverId, int providerId) { - object[] results = this.Invoke("IsInstalled", new object[] { - serverId, - providerId}); - return ((BoolResult)(results[0])); - } - - /// - public System.IAsyncResult BeginIsInstalled(int serverId, int providerId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("IsInstalled", new object[] { - serverId, - providerId}, callback, asyncState); - } - - /// - public BoolResult EndIsInstalled(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((BoolResult)(results[0])); - } - - /// - public void IsInstalledAsync(int serverId, int providerId) { - this.IsInstalledAsync(serverId, providerId, null); - } - - /// - public void IsInstalledAsync(int serverId, int providerId, object userState) { - if ((this.IsInstalledOperationCompleted == null)) { - this.IsInstalledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsInstalledOperationCompleted); - } - this.InvokeAsync("IsInstalled", new object[] { - serverId, - providerId}, this.IsInstalledOperationCompleted, userState); - } - - private void OnIsInstalledOperationCompleted(object arg) { - if ((this.IsInstalledCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.IsInstalledCompleted(this, new IsInstalledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServerVersion", 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 GetServerVersion(int serverId) { - object[] results = this.Invoke("GetServerVersion", new object[] { - serverId}); - return ((string)(results[0])); - } - - /// - public System.IAsyncResult BeginGetServerVersion(int serverId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetServerVersion", new object[] { - serverId}, callback, asyncState); - } - - /// - public string EndGetServerVersion(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((string)(results[0])); - } - - /// - public void GetServerVersionAsync(int serverId) { - this.GetServerVersionAsync(serverId, null); - } - - /// - public void GetServerVersionAsync(int serverId, object userState) { - if ((this.GetServerVersionOperationCompleted == null)) { - this.GetServerVersionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerVersionOperationCompleted); - } - this.InvokeAsync("GetServerVersion", new object[] { - serverId}, this.GetServerVersionOperationCompleted, userState); - } - - private void OnGetServerVersionOperationCompleted(object arg) { - if ((this.GetServerVersionCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetServerVersionCompleted(this, new GetServerVersionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetIPAddresses", 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 IPAddressInfo[] GetIPAddresses(IPAddressPool pool, int serverId) { - object[] results = this.Invoke("GetIPAddresses", new object[] { - pool, - serverId}); - return ((IPAddressInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetIPAddresses(IPAddressPool pool, int serverId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetIPAddresses", new object[] { - pool, - serverId}, callback, asyncState); - } - - /// - public IPAddressInfo[] EndGetIPAddresses(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((IPAddressInfo[])(results[0])); - } - - /// - public void GetIPAddressesAsync(IPAddressPool pool, int serverId) { - this.GetIPAddressesAsync(pool, serverId, null); - } - - /// - public void GetIPAddressesAsync(IPAddressPool pool, int serverId, object userState) { - if ((this.GetIPAddressesOperationCompleted == null)) { - this.GetIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetIPAddressesOperationCompleted); - } - this.InvokeAsync("GetIPAddresses", new object[] { - pool, - serverId}, this.GetIPAddressesOperationCompleted, userState); - } - - private void OnGetIPAddressesOperationCompleted(object arg) { - if ((this.GetIPAddressesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetIPAddressesCompleted(this, new GetIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetIPAddressesPaged", 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 IPAddressesPaged GetIPAddressesPaged(IPAddressPool pool, int serverId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) { - object[] results = this.Invoke("GetIPAddressesPaged", new object[] { - pool, - serverId, - filterColumn, - filterValue, - sortColumn, - startRow, - maximumRows}); - return ((IPAddressesPaged)(results[0])); - } - - /// - public System.IAsyncResult BeginGetIPAddressesPaged(IPAddressPool pool, int serverId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetIPAddressesPaged", new object[] { - pool, - serverId, - filterColumn, - filterValue, - sortColumn, - startRow, - maximumRows}, callback, asyncState); - } - - /// - public IPAddressesPaged EndGetIPAddressesPaged(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((IPAddressesPaged)(results[0])); - } - - /// - public void GetIPAddressesPagedAsync(IPAddressPool pool, int serverId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) { - this.GetIPAddressesPagedAsync(pool, serverId, filterColumn, filterValue, sortColumn, startRow, maximumRows, null); - } - - /// - public void GetIPAddressesPagedAsync(IPAddressPool pool, int serverId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) { - if ((this.GetIPAddressesPagedOperationCompleted == null)) { - this.GetIPAddressesPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetIPAddressesPagedOperationCompleted); - } - this.InvokeAsync("GetIPAddressesPaged", new object[] { - pool, - serverId, - filterColumn, - filterValue, - sortColumn, - startRow, - maximumRows}, this.GetIPAddressesPagedOperationCompleted, userState); - } - - private void OnGetIPAddressesPagedOperationCompleted(object arg) { - if ((this.GetIPAddressesPagedCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetIPAddressesPagedCompleted(this, new GetIPAddressesPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetIPAddress", 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 IPAddressInfo GetIPAddress(int addressId) { - object[] results = this.Invoke("GetIPAddress", new object[] { - addressId}); - return ((IPAddressInfo)(results[0])); - } - - /// - public System.IAsyncResult BeginGetIPAddress(int addressId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetIPAddress", new object[] { - addressId}, callback, asyncState); - } - - /// - public IPAddressInfo EndGetIPAddress(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((IPAddressInfo)(results[0])); - } - - /// - public void GetIPAddressAsync(int addressId) { - this.GetIPAddressAsync(addressId, null); - } - - /// - public void GetIPAddressAsync(int addressId, object userState) { - if ((this.GetIPAddressOperationCompleted == null)) { - this.GetIPAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetIPAddressOperationCompleted); - } - this.InvokeAsync("GetIPAddress", new object[] { - addressId}, this.GetIPAddressOperationCompleted, userState); - } - - private void OnGetIPAddressOperationCompleted(object arg) { - if ((this.GetIPAddressCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetIPAddressCompleted(this, new GetIPAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddIPAddress", 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 IntResult AddIPAddress(IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments) { - object[] results = this.Invoke("AddIPAddress", new object[] { - pool, - serverId, - externalIP, - internalIP, - subnetMask, - defaultGateway, - comments}); - return ((IntResult)(results[0])); - } - - /// - public System.IAsyncResult BeginAddIPAddress(IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("AddIPAddress", new object[] { - pool, - serverId, - externalIP, - internalIP, - subnetMask, - defaultGateway, - comments}, callback, asyncState); - } - - /// - public IntResult EndAddIPAddress(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((IntResult)(results[0])); - } - - /// - public void AddIPAddressAsync(IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments) { - this.AddIPAddressAsync(pool, serverId, externalIP, internalIP, subnetMask, defaultGateway, comments, null); - } - - /// - public void AddIPAddressAsync(IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments, object userState) { - if ((this.AddIPAddressOperationCompleted == null)) { - this.AddIPAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddIPAddressOperationCompleted); - } - this.InvokeAsync("AddIPAddress", new object[] { - pool, - serverId, - externalIP, - internalIP, - subnetMask, - defaultGateway, - comments}, this.AddIPAddressOperationCompleted, userState); - } - - private void OnAddIPAddressOperationCompleted(object arg) { - if ((this.AddIPAddressCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.AddIPAddressCompleted(this, new AddIPAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddIPAddressesRange", 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 AddIPAddressesRange(IPAddressPool pool, int serverId, string externalIP, string endIP, string internalIP, string subnetMask, string defaultGateway, string comments) { - object[] results = this.Invoke("AddIPAddressesRange", new object[] { - pool, - serverId, - externalIP, - endIP, - internalIP, - subnetMask, - defaultGateway, - comments}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginAddIPAddressesRange(IPAddressPool pool, int serverId, string externalIP, string endIP, string internalIP, string subnetMask, string defaultGateway, string comments, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("AddIPAddressesRange", new object[] { - pool, - serverId, - externalIP, - endIP, - internalIP, - subnetMask, - defaultGateway, - comments}, callback, asyncState); - } - - /// - public ResultObject EndAddIPAddressesRange(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void AddIPAddressesRangeAsync(IPAddressPool pool, int serverId, string externalIP, string endIP, string internalIP, string subnetMask, string defaultGateway, string comments) { - this.AddIPAddressesRangeAsync(pool, serverId, externalIP, endIP, internalIP, subnetMask, defaultGateway, comments, null); - } - - /// - public void AddIPAddressesRangeAsync(IPAddressPool pool, int serverId, string externalIP, string endIP, string internalIP, string subnetMask, string defaultGateway, string comments, object userState) { - if ((this.AddIPAddressesRangeOperationCompleted == null)) { - this.AddIPAddressesRangeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddIPAddressesRangeOperationCompleted); - } - this.InvokeAsync("AddIPAddressesRange", new object[] { - pool, - serverId, - externalIP, - endIP, - internalIP, - subnetMask, - defaultGateway, - comments}, this.AddIPAddressesRangeOperationCompleted, userState); - } - - private void OnAddIPAddressesRangeOperationCompleted(object arg) { - if ((this.AddIPAddressesRangeCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.AddIPAddressesRangeCompleted(this, new AddIPAddressesRangeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateIPAddress", 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 UpdateIPAddress(int addressId, IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments) { - object[] results = this.Invoke("UpdateIPAddress", new object[] { - addressId, - pool, - serverId, - externalIP, - internalIP, - subnetMask, - defaultGateway, - comments}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginUpdateIPAddress(int addressId, IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("UpdateIPAddress", new object[] { - addressId, - pool, - serverId, - externalIP, - internalIP, - subnetMask, - defaultGateway, - comments}, callback, asyncState); - } - - /// - public ResultObject EndUpdateIPAddress(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void UpdateIPAddressAsync(int addressId, IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments) { - this.UpdateIPAddressAsync(addressId, pool, serverId, externalIP, internalIP, subnetMask, defaultGateway, comments, null); - } - - /// - public void UpdateIPAddressAsync(int addressId, IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments, object userState) { - if ((this.UpdateIPAddressOperationCompleted == null)) { - this.UpdateIPAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateIPAddressOperationCompleted); - } - this.InvokeAsync("UpdateIPAddress", new object[] { - addressId, - pool, - serverId, - externalIP, - internalIP, - subnetMask, - defaultGateway, - comments}, this.UpdateIPAddressOperationCompleted, userState); - } - - private void OnUpdateIPAddressOperationCompleted(object arg) { - if ((this.UpdateIPAddressCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.UpdateIPAddressCompleted(this, new UpdateIPAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateIPAddresses", 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 UpdateIPAddresses(int[] addresses, IPAddressPool pool, int serverId, string subnetMask, string defaultGateway, string comments) { - object[] results = this.Invoke("UpdateIPAddresses", new object[] { - addresses, - pool, - serverId, - subnetMask, - defaultGateway, - comments}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginUpdateIPAddresses(int[] addresses, IPAddressPool pool, int serverId, string subnetMask, string defaultGateway, string comments, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("UpdateIPAddresses", new object[] { - addresses, - pool, - serverId, - subnetMask, - defaultGateway, - comments}, callback, asyncState); - } - - /// - public ResultObject EndUpdateIPAddresses(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void UpdateIPAddressesAsync(int[] addresses, IPAddressPool pool, int serverId, string subnetMask, string defaultGateway, string comments) { - this.UpdateIPAddressesAsync(addresses, pool, serverId, subnetMask, defaultGateway, comments, null); - } - - /// - public void UpdateIPAddressesAsync(int[] addresses, IPAddressPool pool, int serverId, string subnetMask, string defaultGateway, string comments, object userState) { - if ((this.UpdateIPAddressesOperationCompleted == null)) { - this.UpdateIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateIPAddressesOperationCompleted); - } - this.InvokeAsync("UpdateIPAddresses", new object[] { - addresses, - pool, - serverId, - subnetMask, - defaultGateway, - comments}, this.UpdateIPAddressesOperationCompleted, userState); - } - - private void OnUpdateIPAddressesOperationCompleted(object arg) { - if ((this.UpdateIPAddressesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.UpdateIPAddressesCompleted(this, new UpdateIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteIPAddress", 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 DeleteIPAddress(int addressId) { - object[] results = this.Invoke("DeleteIPAddress", new object[] { - addressId}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteIPAddress(int addressId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteIPAddress", new object[] { - addressId}, callback, asyncState); - } - - /// - public ResultObject EndDeleteIPAddress(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void DeleteIPAddressAsync(int addressId) { - this.DeleteIPAddressAsync(addressId, null); - } - - /// - public void DeleteIPAddressAsync(int addressId, object userState) { - if ((this.DeleteIPAddressOperationCompleted == null)) { - this.DeleteIPAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteIPAddressOperationCompleted); - } - this.InvokeAsync("DeleteIPAddress", new object[] { - addressId}, this.DeleteIPAddressOperationCompleted, userState); - } - - private void OnDeleteIPAddressOperationCompleted(object arg) { - if ((this.DeleteIPAddressCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteIPAddressCompleted(this, new DeleteIPAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteIPAddresses", 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 DeleteIPAddresses(int[] addresses) { - object[] results = this.Invoke("DeleteIPAddresses", new object[] { - addresses}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteIPAddresses(int[] addresses, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteIPAddresses", new object[] { - addresses}, callback, asyncState); - } - - /// - public ResultObject EndDeleteIPAddresses(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void DeleteIPAddressesAsync(int[] addresses) { - this.DeleteIPAddressesAsync(addresses, null); - } - - /// - public void DeleteIPAddressesAsync(int[] addresses, object userState) { - if ((this.DeleteIPAddressesOperationCompleted == null)) { - this.DeleteIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteIPAddressesOperationCompleted); - } - this.InvokeAsync("DeleteIPAddresses", new object[] { - addresses}, this.DeleteIPAddressesOperationCompleted, userState); - } - - private void OnDeleteIPAddressesOperationCompleted(object arg) { - if ((this.DeleteIPAddressesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteIPAddressesCompleted(this, new DeleteIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetUnallottedIPAddresses", 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 IPAddressInfo[] GetUnallottedIPAddresses(int packageId, string groupName, IPAddressPool pool) { - object[] results = this.Invoke("GetUnallottedIPAddresses", new object[] { - packageId, - groupName, - pool}); - return ((IPAddressInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetUnallottedIPAddresses(int packageId, string groupName, IPAddressPool pool, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetUnallottedIPAddresses", new object[] { - packageId, - groupName, - pool}, callback, asyncState); - } - - /// - public IPAddressInfo[] EndGetUnallottedIPAddresses(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((IPAddressInfo[])(results[0])); - } - - /// - public void GetUnallottedIPAddressesAsync(int packageId, string groupName, IPAddressPool pool) { - this.GetUnallottedIPAddressesAsync(packageId, groupName, pool, null); - } - - /// - public void GetUnallottedIPAddressesAsync(int packageId, string groupName, IPAddressPool pool, object userState) { - if ((this.GetUnallottedIPAddressesOperationCompleted == null)) { - this.GetUnallottedIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUnallottedIPAddressesOperationCompleted); - } - this.InvokeAsync("GetUnallottedIPAddresses", new object[] { - packageId, - groupName, - pool}, this.GetUnallottedIPAddressesOperationCompleted, userState); - } - - private void OnGetUnallottedIPAddressesOperationCompleted(object arg) { - if ((this.GetUnallottedIPAddressesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetUnallottedIPAddressesCompleted(this, new GetUnallottedIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetPackageIPAddresses", 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 PackageIPAddressesPaged GetPackageIPAddresses(int packageId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive) { - object[] results = this.Invoke("GetPackageIPAddresses", new object[] { - packageId, - pool, - filterColumn, - filterValue, - sortColumn, - startRow, - maximumRows, - recursive}); - return ((PackageIPAddressesPaged)(results[0])); - } - - /// - public System.IAsyncResult BeginGetPackageIPAddresses(int packageId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetPackageIPAddresses", new object[] { - packageId, - pool, - filterColumn, - filterValue, - sortColumn, - startRow, - maximumRows, - recursive}, callback, asyncState); - } - - /// - public PackageIPAddressesPaged EndGetPackageIPAddresses(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((PackageIPAddressesPaged)(results[0])); - } - - /// - public void GetPackageIPAddressesAsync(int packageId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive) { - this.GetPackageIPAddressesAsync(packageId, pool, filterColumn, filterValue, sortColumn, startRow, maximumRows, recursive, null); - } - - /// - public void GetPackageIPAddressesAsync(int packageId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive, object userState) { - if ((this.GetPackageIPAddressesOperationCompleted == null)) { - this.GetPackageIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPackageIPAddressesOperationCompleted); - } - this.InvokeAsync("GetPackageIPAddresses", new object[] { - packageId, - pool, - filterColumn, - filterValue, - sortColumn, - startRow, - maximumRows, - recursive}, this.GetPackageIPAddressesOperationCompleted, userState); - } - - private void OnGetPackageIPAddressesOperationCompleted(object arg) { - if ((this.GetPackageIPAddressesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetPackageIPAddressesCompleted(this, new GetPackageIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetPackageUnassignedIPAddresses", 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 PackageIPAddress[] GetPackageUnassignedIPAddresses(int packageId, IPAddressPool pool) { - object[] results = this.Invoke("GetPackageUnassignedIPAddresses", new object[] { - packageId, - pool}); - return ((PackageIPAddress[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetPackageUnassignedIPAddresses(int packageId, IPAddressPool pool, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetPackageUnassignedIPAddresses", new object[] { - packageId, - pool}, callback, asyncState); - } - - /// - public PackageIPAddress[] EndGetPackageUnassignedIPAddresses(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((PackageIPAddress[])(results[0])); - } - - /// - public void GetPackageUnassignedIPAddressesAsync(int packageId, IPAddressPool pool) { - this.GetPackageUnassignedIPAddressesAsync(packageId, pool, null); - } - - /// - public void GetPackageUnassignedIPAddressesAsync(int packageId, IPAddressPool pool, object userState) { - if ((this.GetPackageUnassignedIPAddressesOperationCompleted == null)) { - this.GetPackageUnassignedIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPackageUnassignedIPAddressesOperationCompleted); - } - this.InvokeAsync("GetPackageUnassignedIPAddresses", new object[] { - packageId, - pool}, this.GetPackageUnassignedIPAddressesOperationCompleted, userState); - } - - private void OnGetPackageUnassignedIPAddressesOperationCompleted(object arg) { - if ((this.GetPackageUnassignedIPAddressesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetPackageUnassignedIPAddressesCompleted(this, new GetPackageUnassignedIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AllocatePackageIPAddresses", 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 AllocatePackageIPAddresses(int packageId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId) { - object[] results = this.Invoke("AllocatePackageIPAddresses", new object[] { - packageId, - groupName, - pool, - allocateRandom, - addressesNumber, - addressId}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginAllocatePackageIPAddresses(int packageId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("AllocatePackageIPAddresses", new object[] { - packageId, - groupName, - pool, - allocateRandom, - addressesNumber, - addressId}, callback, asyncState); - } - - /// - public ResultObject EndAllocatePackageIPAddresses(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void AllocatePackageIPAddressesAsync(int packageId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId) { - this.AllocatePackageIPAddressesAsync(packageId, groupName, pool, allocateRandom, addressesNumber, addressId, null); - } - - /// - public void AllocatePackageIPAddressesAsync(int packageId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId, object userState) { - if ((this.AllocatePackageIPAddressesOperationCompleted == null)) { - this.AllocatePackageIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAllocatePackageIPAddressesOperationCompleted); - } - this.InvokeAsync("AllocatePackageIPAddresses", new object[] { - packageId, - groupName, - pool, - allocateRandom, - addressesNumber, - addressId}, this.AllocatePackageIPAddressesOperationCompleted, userState); - } - - private void OnAllocatePackageIPAddressesOperationCompleted(object arg) { - if ((this.AllocatePackageIPAddressesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.AllocatePackageIPAddressesCompleted(this, new AllocatePackageIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AllocateMaximumPackageIPAddresses", 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 AllocateMaximumPackageIPAddresses(int packageId, string groupName, IPAddressPool pool) { - object[] results = this.Invoke("AllocateMaximumPackageIPAddresses", new object[] { - packageId, - groupName, - pool}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginAllocateMaximumPackageIPAddresses(int packageId, string groupName, IPAddressPool pool, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("AllocateMaximumPackageIPAddresses", new object[] { - packageId, - groupName, - pool}, callback, asyncState); - } - - /// - public ResultObject EndAllocateMaximumPackageIPAddresses(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void AllocateMaximumPackageIPAddressesAsync(int packageId, string groupName, IPAddressPool pool) { - this.AllocateMaximumPackageIPAddressesAsync(packageId, groupName, pool, null); - } - - /// - public void AllocateMaximumPackageIPAddressesAsync(int packageId, string groupName, IPAddressPool pool, object userState) { - if ((this.AllocateMaximumPackageIPAddressesOperationCompleted == null)) { - this.AllocateMaximumPackageIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAllocateMaximumPackageIPAddressesOperationCompleted); - } - this.InvokeAsync("AllocateMaximumPackageIPAddresses", new object[] { - packageId, - groupName, - pool}, this.AllocateMaximumPackageIPAddressesOperationCompleted, userState); - } - - private void OnAllocateMaximumPackageIPAddressesOperationCompleted(object arg) { - if ((this.AllocateMaximumPackageIPAddressesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.AllocateMaximumPackageIPAddressesCompleted(this, new AllocateMaximumPackageIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeallocatePackageIPAddresses", 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 DeallocatePackageIPAddresses(int packageId, int[] addressId) { - object[] results = this.Invoke("DeallocatePackageIPAddresses", new object[] { - packageId, - addressId}); - return ((ResultObject)(results[0])); - } - - /// - public System.IAsyncResult BeginDeallocatePackageIPAddresses(int packageId, int[] addressId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeallocatePackageIPAddresses", new object[] { - packageId, - addressId}, callback, asyncState); - } - - /// - public ResultObject EndDeallocatePackageIPAddresses(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ResultObject)(results[0])); - } - - /// - public void DeallocatePackageIPAddressesAsync(int packageId, int[] addressId) { - this.DeallocatePackageIPAddressesAsync(packageId, addressId, null); - } - - /// - public void DeallocatePackageIPAddressesAsync(int packageId, int[] addressId, object userState) { - if ((this.DeallocatePackageIPAddressesOperationCompleted == null)) { - this.DeallocatePackageIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeallocatePackageIPAddressesOperationCompleted); - } - this.InvokeAsync("DeallocatePackageIPAddresses", new object[] { - packageId, - addressId}, this.DeallocatePackageIPAddressesOperationCompleted, userState); - } - - private void OnDeallocatePackageIPAddressesOperationCompleted(object arg) { - if ((this.DeallocatePackageIPAddressesCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeallocatePackageIPAddressesCompleted(this, new DeallocatePackageIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetClusters", 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 ClusterInfo[] GetClusters() { - object[] results = this.Invoke("GetClusters", new object[0]); - return ((ClusterInfo[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetClusters(System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetClusters", new object[0], callback, asyncState); - } - - /// - public ClusterInfo[] EndGetClusters(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((ClusterInfo[])(results[0])); - } - - /// - public void GetClustersAsync() { - this.GetClustersAsync(null); - } - - /// - public void GetClustersAsync(object userState) { - if ((this.GetClustersOperationCompleted == null)) { - this.GetClustersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetClustersOperationCompleted); - } - this.InvokeAsync("GetClusters", new object[0], this.GetClustersOperationCompleted, userState); - } - - private void OnGetClustersOperationCompleted(object arg) { - if ((this.GetClustersCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetClustersCompleted(this, new GetClustersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddCluster", 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 AddCluster(ClusterInfo cluster) { - object[] results = this.Invoke("AddCluster", new object[] { - cluster}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginAddCluster(ClusterInfo cluster, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("AddCluster", new object[] { - cluster}, callback, asyncState); - } - - /// - public int EndAddCluster(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void AddClusterAsync(ClusterInfo cluster) { - this.AddClusterAsync(cluster, null); - } - - /// - public void AddClusterAsync(ClusterInfo cluster, object userState) { - if ((this.AddClusterOperationCompleted == null)) { - this.AddClusterOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddClusterOperationCompleted); - } - this.InvokeAsync("AddCluster", new object[] { - cluster}, this.AddClusterOperationCompleted, userState); - } - - private void OnAddClusterOperationCompleted(object arg) { - if ((this.AddClusterCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.AddClusterCompleted(this, new AddClusterCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteCluster", 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 DeleteCluster(int clusterId) { - object[] results = this.Invoke("DeleteCluster", new object[] { - clusterId}); - return ((int)(results[0])); - } - - /// - public System.IAsyncResult BeginDeleteCluster(int clusterId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("DeleteCluster", new object[] { - clusterId}, callback, asyncState); - } - - /// - public int EndDeleteCluster(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((int)(results[0])); - } - - /// - public void DeleteClusterAsync(int clusterId) { - this.DeleteClusterAsync(clusterId, null); - } - - /// - public void DeleteClusterAsync(int clusterId, object userState) { - if ((this.DeleteClusterOperationCompleted == null)) { - this.DeleteClusterOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteClusterOperationCompleted); - } - this.InvokeAsync("DeleteCluster", new object[] { - clusterId}, this.DeleteClusterOperationCompleted, userState); - } - - private void OnDeleteClusterOperationCompleted(object arg) { - if ((this.DeleteClusterCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.DeleteClusterCompleted(this, new DeleteClusterCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawDnsRecordsByService", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawDnsRecordsByService(int serviceId) { - object[] results = this.Invoke("GetRawDnsRecordsByService", new object[] { - serviceId}); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetRawDnsRecordsByService(int serviceId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetRawDnsRecordsByService", new object[] { - serviceId}, callback, asyncState); - } - - /// - public System.Data.DataSet EndGetRawDnsRecordsByService(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetRawDnsRecordsByServiceAsync(int serviceId) { - this.GetRawDnsRecordsByServiceAsync(serviceId, null); - } - - /// - public void GetRawDnsRecordsByServiceAsync(int serviceId, object userState) { - if ((this.GetRawDnsRecordsByServiceOperationCompleted == null)) { - this.GetRawDnsRecordsByServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawDnsRecordsByServiceOperationCompleted); - } - this.InvokeAsync("GetRawDnsRecordsByService", new object[] { - serviceId}, this.GetRawDnsRecordsByServiceOperationCompleted, userState); - } - - private void OnGetRawDnsRecordsByServiceOperationCompleted(object arg) { - if ((this.GetRawDnsRecordsByServiceCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetRawDnsRecordsByServiceCompleted(this, new GetRawDnsRecordsByServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawDnsRecordsByServer", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawDnsRecordsByServer(int serverId) { - object[] results = this.Invoke("GetRawDnsRecordsByServer", new object[] { - serverId}); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetRawDnsRecordsByServer(int serverId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetRawDnsRecordsByServer", new object[] { - serverId}, callback, asyncState); - } - - /// - public System.Data.DataSet EndGetRawDnsRecordsByServer(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetRawDnsRecordsByServerAsync(int serverId) { - this.GetRawDnsRecordsByServerAsync(serverId, null); - } - - /// - public void GetRawDnsRecordsByServerAsync(int serverId, object userState) { - if ((this.GetRawDnsRecordsByServerOperationCompleted == null)) { - this.GetRawDnsRecordsByServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawDnsRecordsByServerOperationCompleted); - } - this.InvokeAsync("GetRawDnsRecordsByServer", new object[] { - serverId}, this.GetRawDnsRecordsByServerOperationCompleted, userState); - } - - private void OnGetRawDnsRecordsByServerOperationCompleted(object arg) { - if ((this.GetRawDnsRecordsByServerCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetRawDnsRecordsByServerCompleted(this, new GetRawDnsRecordsByServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawDnsRecordsByPackage", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawDnsRecordsByPackage(int packageId) { - object[] results = this.Invoke("GetRawDnsRecordsByPackage", new object[] { - packageId}); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetRawDnsRecordsByPackage(int packageId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetRawDnsRecordsByPackage", new object[] { - packageId}, callback, asyncState); - } - - /// - public System.Data.DataSet EndGetRawDnsRecordsByPackage(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetRawDnsRecordsByPackageAsync(int packageId) { - this.GetRawDnsRecordsByPackageAsync(packageId, null); - } - - /// - public void GetRawDnsRecordsByPackageAsync(int packageId, object userState) { - if ((this.GetRawDnsRecordsByPackageOperationCompleted == null)) { - this.GetRawDnsRecordsByPackageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawDnsRecordsByPackageOperationCompleted); - } - this.InvokeAsync("GetRawDnsRecordsByPackage", new object[] { - packageId}, this.GetRawDnsRecordsByPackageOperationCompleted, userState); - } - - private void OnGetRawDnsRecordsByPackageOperationCompleted(object arg) { - if ((this.GetRawDnsRecordsByPackageCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetRawDnsRecordsByPackageCompleted(this, new GetRawDnsRecordsByPackageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawDnsRecordsByGroup", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet GetRawDnsRecordsByGroup(int groupId) { - object[] results = this.Invoke("GetRawDnsRecordsByGroup", new object[] { - groupId}); - return ((System.Data.DataSet)(results[0])); - } - - /// - public System.IAsyncResult BeginGetRawDnsRecordsByGroup(int groupId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetRawDnsRecordsByGroup", new object[] { - groupId}, callback, asyncState); - } - - /// - public System.Data.DataSet EndGetRawDnsRecordsByGroup(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((System.Data.DataSet)(results[0])); - } - - /// - public void GetRawDnsRecordsByGroupAsync(int groupId) { - this.GetRawDnsRecordsByGroupAsync(groupId, null); - } - - /// - public void GetRawDnsRecordsByGroupAsync(int groupId, object userState) { - if ((this.GetRawDnsRecordsByGroupOperationCompleted == null)) { - this.GetRawDnsRecordsByGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawDnsRecordsByGroupOperationCompleted); - } - this.InvokeAsync("GetRawDnsRecordsByGroup", new object[] { - groupId}, this.GetRawDnsRecordsByGroupOperationCompleted, userState); - } - - private void OnGetRawDnsRecordsByGroupOperationCompleted(object arg) { - if ((this.GetRawDnsRecordsByGroupCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetRawDnsRecordsByGroupCompleted(this, new GetRawDnsRecordsByGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetDnsRecordsByService", 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 GlobalDnsRecord[] GetDnsRecordsByService(int serviceId) { - object[] results = this.Invoke("GetDnsRecordsByService", new object[] { - serviceId}); - return ((GlobalDnsRecord[])(results[0])); - } - - /// - public System.IAsyncResult BeginGetDnsRecordsByService(int serviceId, System.AsyncCallback callback, object asyncState) { - return this.BeginInvoke("GetDnsRecordsByService", new object[] { - serviceId}, callback, asyncState); - } - - /// - public GlobalDnsRecord[] EndGetDnsRecordsByService(System.IAsyncResult asyncResult) { - object[] results = this.EndInvoke(asyncResult); - return ((GlobalDnsRecord[])(results[0])); - } - - /// - public void GetDnsRecordsByServiceAsync(int serviceId) { - this.GetDnsRecordsByServiceAsync(serviceId, null); - } - - /// - public void GetDnsRecordsByServiceAsync(int serviceId, object userState) { - if ((this.GetDnsRecordsByServiceOperationCompleted == null)) { - this.GetDnsRecordsByServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDnsRecordsByServiceOperationCompleted); - } - this.InvokeAsync("GetDnsRecordsByService", new object[] { - serviceId}, this.GetDnsRecordsByServiceOperationCompleted, userState); - } - - private void OnGetDnsRecordsByServiceOperationCompleted(object arg) { - if ((this.GetDnsRecordsByServiceCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.GetDnsRecordsByServiceCompleted(this, new GetDnsRecordsByServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetDnsRecordsByServer", 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 GlobalDnsRecord[] GetDnsRecordsByServer(int serverId) { @@ -5711,12 +2898,4068 @@ namespace WebsitePanel.EnterpriseServer { } } + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetAllServers", 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 ServerInfo[] GetAllServers() { + object[] results = this.Invoke("GetAllServers", new object[0]); + return ((ServerInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetAllServers(System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetAllServers", new object[0], callback, asyncState); + } + + /// + public ServerInfo[] EndGetAllServers(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ServerInfo[])(results[0])); + } + + /// + public void GetAllServersAsync() { + this.GetAllServersAsync(null); + } + + /// + public void GetAllServersAsync(object userState) { + if ((this.GetAllServersOperationCompleted == null)) { + this.GetAllServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllServersOperationCompleted); + } + this.InvokeAsync("GetAllServers", new object[0], this.GetAllServersOperationCompleted, userState); + } + + private void OnGetAllServersOperationCompleted(object arg) { + if ((this.GetAllServersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetAllServersCompleted(this, new GetAllServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawAllServers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawAllServers() { + object[] results = this.Invoke("GetRawAllServers", new object[0]); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetRawAllServers(System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetRawAllServers", new object[0], callback, asyncState); + } + + /// + public System.Data.DataSet EndGetRawAllServers(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetRawAllServersAsync() { + this.GetRawAllServersAsync(null); + } + + /// + public void GetRawAllServersAsync(object userState) { + if ((this.GetRawAllServersOperationCompleted == null)) { + this.GetRawAllServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawAllServersOperationCompleted); + } + this.InvokeAsync("GetRawAllServers", new object[0], this.GetRawAllServersOperationCompleted, userState); + } + + private void OnGetRawAllServersOperationCompleted(object arg) { + if ((this.GetRawAllServersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetRawAllServersCompleted(this, new GetRawAllServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServers", 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 ServerInfo[] GetServers() { + object[] results = this.Invoke("GetServers", new object[0]); + return ((ServerInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetServers(System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetServers", new object[0], callback, asyncState); + } + + /// + public ServerInfo[] EndGetServers(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ServerInfo[])(results[0])); + } + + /// + public void GetServersAsync() { + this.GetServersAsync(null); + } + + /// + public void GetServersAsync(object userState) { + if ((this.GetServersOperationCompleted == null)) { + this.GetServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServersOperationCompleted); + } + this.InvokeAsync("GetServers", new object[0], this.GetServersOperationCompleted, userState); + } + + private void OnGetServersOperationCompleted(object arg) { + if ((this.GetServersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetServersCompleted(this, new GetServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawServers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawServers() { + object[] results = this.Invoke("GetRawServers", new object[0]); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetRawServers(System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetRawServers", new object[0], callback, asyncState); + } + + /// + public System.Data.DataSet EndGetRawServers(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetRawServersAsync() { + this.GetRawServersAsync(null); + } + + /// + public void GetRawServersAsync(object userState) { + if ((this.GetRawServersOperationCompleted == null)) { + this.GetRawServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawServersOperationCompleted); + } + this.InvokeAsync("GetRawServers", new object[0], this.GetRawServersOperationCompleted, userState); + } + + private void OnGetRawServersOperationCompleted(object arg) { + if ((this.GetRawServersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetRawServersCompleted(this, new GetRawServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServerShortDetails", 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 ServerInfo GetServerShortDetails(int serverId) { + object[] results = this.Invoke("GetServerShortDetails", new object[] { + serverId}); + return ((ServerInfo)(results[0])); + } + + /// + public System.IAsyncResult BeginGetServerShortDetails(int serverId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetServerShortDetails", new object[] { + serverId}, callback, asyncState); + } + + /// + public ServerInfo EndGetServerShortDetails(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ServerInfo)(results[0])); + } + + /// + public void GetServerShortDetailsAsync(int serverId) { + this.GetServerShortDetailsAsync(serverId, null); + } + + /// + public void GetServerShortDetailsAsync(int serverId, object userState) { + if ((this.GetServerShortDetailsOperationCompleted == null)) { + this.GetServerShortDetailsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerShortDetailsOperationCompleted); + } + this.InvokeAsync("GetServerShortDetails", new object[] { + serverId}, this.GetServerShortDetailsOperationCompleted, userState); + } + + private void OnGetServerShortDetailsOperationCompleted(object arg) { + if ((this.GetServerShortDetailsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetServerShortDetailsCompleted(this, new GetServerShortDetailsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServerById", 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 ServerInfo GetServerById(int serverId) { + object[] results = this.Invoke("GetServerById", new object[] { + serverId}); + return ((ServerInfo)(results[0])); + } + + /// + public System.IAsyncResult BeginGetServerById(int serverId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetServerById", new object[] { + serverId}, callback, asyncState); + } + + /// + public ServerInfo EndGetServerById(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ServerInfo)(results[0])); + } + + /// + public void GetServerByIdAsync(int serverId) { + this.GetServerByIdAsync(serverId, null); + } + + /// + public void GetServerByIdAsync(int serverId, object userState) { + if ((this.GetServerByIdOperationCompleted == null)) { + this.GetServerByIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerByIdOperationCompleted); + } + this.InvokeAsync("GetServerById", new object[] { + serverId}, this.GetServerByIdOperationCompleted, userState); + } + + private void OnGetServerByIdOperationCompleted(object arg) { + if ((this.GetServerByIdCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetServerByIdCompleted(this, new GetServerByIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServerByName", 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 ServerInfo GetServerByName(string serverName) { + object[] results = this.Invoke("GetServerByName", new object[] { + serverName}); + return ((ServerInfo)(results[0])); + } + + /// + public System.IAsyncResult BeginGetServerByName(string serverName, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetServerByName", new object[] { + serverName}, callback, asyncState); + } + + /// + public ServerInfo EndGetServerByName(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ServerInfo)(results[0])); + } + + /// + public void GetServerByNameAsync(string serverName) { + this.GetServerByNameAsync(serverName, null); + } + + /// + public void GetServerByNameAsync(string serverName, object userState) { + if ((this.GetServerByNameOperationCompleted == null)) { + this.GetServerByNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerByNameOperationCompleted); + } + this.InvokeAsync("GetServerByName", new object[] { + serverName}, this.GetServerByNameOperationCompleted, userState); + } + + private void OnGetServerByNameOperationCompleted(object arg) { + if ((this.GetServerByNameCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetServerByNameCompleted(this, new GetServerByNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/CheckServerAvailable", 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 CheckServerAvailable(string serverUrl, string password) { + object[] results = this.Invoke("CheckServerAvailable", new object[] { + serverUrl, + password}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginCheckServerAvailable(string serverUrl, string password, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("CheckServerAvailable", new object[] { + serverUrl, + password}, callback, asyncState); + } + + /// + public int EndCheckServerAvailable(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void CheckServerAvailableAsync(string serverUrl, string password) { + this.CheckServerAvailableAsync(serverUrl, password, null); + } + + /// + public void CheckServerAvailableAsync(string serverUrl, string password, object userState) { + if ((this.CheckServerAvailableOperationCompleted == null)) { + this.CheckServerAvailableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckServerAvailableOperationCompleted); + } + this.InvokeAsync("CheckServerAvailable", new object[] { + serverUrl, + password}, this.CheckServerAvailableOperationCompleted, userState); + } + + private void OnCheckServerAvailableOperationCompleted(object arg) { + if ((this.CheckServerAvailableCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckServerAvailableCompleted(this, new CheckServerAvailableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddServer", 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 AddServer(ServerInfo server, bool autoDiscovery) { + object[] results = this.Invoke("AddServer", new object[] { + server, + autoDiscovery}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginAddServer(ServerInfo server, bool autoDiscovery, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("AddServer", new object[] { + server, + autoDiscovery}, callback, asyncState); + } + + /// + public int EndAddServer(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void AddServerAsync(ServerInfo server, bool autoDiscovery) { + this.AddServerAsync(server, autoDiscovery, null); + } + + /// + public void AddServerAsync(ServerInfo server, bool autoDiscovery, object userState) { + if ((this.AddServerOperationCompleted == null)) { + this.AddServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddServerOperationCompleted); + } + this.InvokeAsync("AddServer", new object[] { + server, + autoDiscovery}, this.AddServerOperationCompleted, userState); + } + + private void OnAddServerOperationCompleted(object arg) { + if ((this.AddServerCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddServerCompleted(this, new AddServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateServer", 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 UpdateServer(ServerInfo server) { + object[] results = this.Invoke("UpdateServer", new object[] { + server}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginUpdateServer(ServerInfo server, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("UpdateServer", new object[] { + server}, callback, asyncState); + } + + /// + public int EndUpdateServer(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void UpdateServerAsync(ServerInfo server) { + this.UpdateServerAsync(server, null); + } + + /// + public void UpdateServerAsync(ServerInfo server, object userState) { + if ((this.UpdateServerOperationCompleted == null)) { + this.UpdateServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateServerOperationCompleted); + } + this.InvokeAsync("UpdateServer", new object[] { + server}, this.UpdateServerOperationCompleted, userState); + } + + private void OnUpdateServerOperationCompleted(object arg) { + if ((this.UpdateServerCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateServerCompleted(this, new UpdateServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateServerConnectionPassword", 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 UpdateServerConnectionPassword(int serverId, string password) { + object[] results = this.Invoke("UpdateServerConnectionPassword", new object[] { + serverId, + password}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginUpdateServerConnectionPassword(int serverId, string password, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("UpdateServerConnectionPassword", new object[] { + serverId, + password}, callback, asyncState); + } + + /// + public int EndUpdateServerConnectionPassword(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void UpdateServerConnectionPasswordAsync(int serverId, string password) { + this.UpdateServerConnectionPasswordAsync(serverId, password, null); + } + + /// + public void UpdateServerConnectionPasswordAsync(int serverId, string password, object userState) { + if ((this.UpdateServerConnectionPasswordOperationCompleted == null)) { + this.UpdateServerConnectionPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateServerConnectionPasswordOperationCompleted); + } + this.InvokeAsync("UpdateServerConnectionPassword", new object[] { + serverId, + password}, this.UpdateServerConnectionPasswordOperationCompleted, userState); + } + + private void OnUpdateServerConnectionPasswordOperationCompleted(object arg) { + if ((this.UpdateServerConnectionPasswordCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateServerConnectionPasswordCompleted(this, new UpdateServerConnectionPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateServerADPassword", 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 UpdateServerADPassword(int serverId, string adPassword) { + object[] results = this.Invoke("UpdateServerADPassword", new object[] { + serverId, + adPassword}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginUpdateServerADPassword(int serverId, string adPassword, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("UpdateServerADPassword", new object[] { + serverId, + adPassword}, callback, asyncState); + } + + /// + public int EndUpdateServerADPassword(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void UpdateServerADPasswordAsync(int serverId, string adPassword) { + this.UpdateServerADPasswordAsync(serverId, adPassword, null); + } + + /// + public void UpdateServerADPasswordAsync(int serverId, string adPassword, object userState) { + if ((this.UpdateServerADPasswordOperationCompleted == null)) { + this.UpdateServerADPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateServerADPasswordOperationCompleted); + } + this.InvokeAsync("UpdateServerADPassword", new object[] { + serverId, + adPassword}, this.UpdateServerADPasswordOperationCompleted, userState); + } + + private void OnUpdateServerADPasswordOperationCompleted(object arg) { + if ((this.UpdateServerADPasswordCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateServerADPasswordCompleted(this, new UpdateServerADPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteServer", 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 DeleteServer(int serverId) { + object[] results = this.Invoke("DeleteServer", new object[] { + serverId}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteServer(int serverId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("DeleteServer", new object[] { + serverId}, callback, asyncState); + } + + /// + public int EndDeleteServer(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void DeleteServerAsync(int serverId) { + this.DeleteServerAsync(serverId, null); + } + + /// + public void DeleteServerAsync(int serverId, object userState) { + if ((this.DeleteServerOperationCompleted == null)) { + this.DeleteServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteServerOperationCompleted); + } + this.InvokeAsync("DeleteServer", new object[] { + serverId}, this.DeleteServerOperationCompleted, userState); + } + + private void OnDeleteServerOperationCompleted(object arg) { + if ((this.DeleteServerCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteServerCompleted(this, new DeleteServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetVirtualServers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetVirtualServers() { + object[] results = this.Invoke("GetVirtualServers", new object[0]); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetVirtualServers(System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetVirtualServers", new object[0], callback, asyncState); + } + + /// + public System.Data.DataSet EndGetVirtualServers(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetVirtualServersAsync() { + this.GetVirtualServersAsync(null); + } + + /// + public void GetVirtualServersAsync(object userState) { + if ((this.GetVirtualServersOperationCompleted == null)) { + this.GetVirtualServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVirtualServersOperationCompleted); + } + this.InvokeAsync("GetVirtualServers", new object[0], this.GetVirtualServersOperationCompleted, userState); + } + + private void OnGetVirtualServersOperationCompleted(object arg) { + if ((this.GetVirtualServersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetVirtualServersCompleted(this, new GetVirtualServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetAvailableVirtualServices", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetAvailableVirtualServices(int serverId) { + object[] results = this.Invoke("GetAvailableVirtualServices", new object[] { + serverId}); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetAvailableVirtualServices(int serverId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetAvailableVirtualServices", new object[] { + serverId}, callback, asyncState); + } + + /// + public System.Data.DataSet EndGetAvailableVirtualServices(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetAvailableVirtualServicesAsync(int serverId) { + this.GetAvailableVirtualServicesAsync(serverId, null); + } + + /// + public void GetAvailableVirtualServicesAsync(int serverId, object userState) { + if ((this.GetAvailableVirtualServicesOperationCompleted == null)) { + this.GetAvailableVirtualServicesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAvailableVirtualServicesOperationCompleted); + } + this.InvokeAsync("GetAvailableVirtualServices", new object[] { + serverId}, this.GetAvailableVirtualServicesOperationCompleted, userState); + } + + private void OnGetAvailableVirtualServicesOperationCompleted(object arg) { + if ((this.GetAvailableVirtualServicesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetAvailableVirtualServicesCompleted(this, new GetAvailableVirtualServicesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetVirtualServices", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetVirtualServices(int serverId) { + object[] results = this.Invoke("GetVirtualServices", new object[] { + serverId}); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetVirtualServices(int serverId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetVirtualServices", new object[] { + serverId}, callback, asyncState); + } + + /// + public System.Data.DataSet EndGetVirtualServices(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetVirtualServicesAsync(int serverId) { + this.GetVirtualServicesAsync(serverId, null); + } + + /// + public void GetVirtualServicesAsync(int serverId, object userState) { + if ((this.GetVirtualServicesOperationCompleted == null)) { + this.GetVirtualServicesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVirtualServicesOperationCompleted); + } + this.InvokeAsync("GetVirtualServices", new object[] { + serverId}, this.GetVirtualServicesOperationCompleted, userState); + } + + private void OnGetVirtualServicesOperationCompleted(object arg) { + if ((this.GetVirtualServicesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetVirtualServicesCompleted(this, new GetVirtualServicesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddVirtualServices", 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 AddVirtualServices(int serverId, int[] ids) { + object[] results = this.Invoke("AddVirtualServices", new object[] { + serverId, + ids}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginAddVirtualServices(int serverId, int[] ids, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("AddVirtualServices", new object[] { + serverId, + ids}, callback, asyncState); + } + + /// + public int EndAddVirtualServices(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void AddVirtualServicesAsync(int serverId, int[] ids) { + this.AddVirtualServicesAsync(serverId, ids, null); + } + + /// + public void AddVirtualServicesAsync(int serverId, int[] ids, object userState) { + if ((this.AddVirtualServicesOperationCompleted == null)) { + this.AddVirtualServicesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddVirtualServicesOperationCompleted); + } + this.InvokeAsync("AddVirtualServices", new object[] { + serverId, + ids}, this.AddVirtualServicesOperationCompleted, userState); + } + + private void OnAddVirtualServicesOperationCompleted(object arg) { + if ((this.AddVirtualServicesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddVirtualServicesCompleted(this, new AddVirtualServicesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteVirtualServices", 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 DeleteVirtualServices(int serverId, int[] ids) { + object[] results = this.Invoke("DeleteVirtualServices", new object[] { + serverId, + ids}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteVirtualServices(int serverId, int[] ids, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("DeleteVirtualServices", new object[] { + serverId, + ids}, callback, asyncState); + } + + /// + public int EndDeleteVirtualServices(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void DeleteVirtualServicesAsync(int serverId, int[] ids) { + this.DeleteVirtualServicesAsync(serverId, ids, null); + } + + /// + public void DeleteVirtualServicesAsync(int serverId, int[] ids, object userState) { + if ((this.DeleteVirtualServicesOperationCompleted == null)) { + this.DeleteVirtualServicesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteVirtualServicesOperationCompleted); + } + this.InvokeAsync("DeleteVirtualServices", new object[] { + serverId, + ids}, this.DeleteVirtualServicesOperationCompleted, userState); + } + + private void OnDeleteVirtualServicesOperationCompleted(object arg) { + if ((this.DeleteVirtualServicesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteVirtualServicesCompleted(this, new DeleteVirtualServicesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateVirtualGroups", 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 UpdateVirtualGroups(int serverId, VirtualGroupInfo[] groups) { + object[] results = this.Invoke("UpdateVirtualGroups", new object[] { + serverId, + groups}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginUpdateVirtualGroups(int serverId, VirtualGroupInfo[] groups, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("UpdateVirtualGroups", new object[] { + serverId, + groups}, callback, asyncState); + } + + /// + public int EndUpdateVirtualGroups(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void UpdateVirtualGroupsAsync(int serverId, VirtualGroupInfo[] groups) { + this.UpdateVirtualGroupsAsync(serverId, groups, null); + } + + /// + public void UpdateVirtualGroupsAsync(int serverId, VirtualGroupInfo[] groups, object userState) { + if ((this.UpdateVirtualGroupsOperationCompleted == null)) { + this.UpdateVirtualGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateVirtualGroupsOperationCompleted); + } + this.InvokeAsync("UpdateVirtualGroups", new object[] { + serverId, + groups}, this.UpdateVirtualGroupsOperationCompleted, userState); + } + + private void OnUpdateVirtualGroupsOperationCompleted(object arg) { + if ((this.UpdateVirtualGroupsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateVirtualGroupsCompleted(this, new UpdateVirtualGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawServicesByServerId", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawServicesByServerId(int serverId) { + object[] results = this.Invoke("GetRawServicesByServerId", new object[] { + serverId}); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetRawServicesByServerId(int serverId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetRawServicesByServerId", new object[] { + serverId}, callback, asyncState); + } + + /// + public System.Data.DataSet EndGetRawServicesByServerId(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetRawServicesByServerIdAsync(int serverId) { + this.GetRawServicesByServerIdAsync(serverId, null); + } + + /// + public void GetRawServicesByServerIdAsync(int serverId, object userState) { + if ((this.GetRawServicesByServerIdOperationCompleted == null)) { + this.GetRawServicesByServerIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawServicesByServerIdOperationCompleted); + } + this.InvokeAsync("GetRawServicesByServerId", new object[] { + serverId}, this.GetRawServicesByServerIdOperationCompleted, userState); + } + + private void OnGetRawServicesByServerIdOperationCompleted(object arg) { + if ((this.GetRawServicesByServerIdCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetRawServicesByServerIdCompleted(this, new GetRawServicesByServerIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServicesByServerId", 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 ServiceInfo[] GetServicesByServerId(int serverId) { + object[] results = this.Invoke("GetServicesByServerId", new object[] { + serverId}); + return ((ServiceInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetServicesByServerId(int serverId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetServicesByServerId", new object[] { + serverId}, callback, asyncState); + } + + /// + public ServiceInfo[] EndGetServicesByServerId(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ServiceInfo[])(results[0])); + } + + /// + public void GetServicesByServerIdAsync(int serverId) { + this.GetServicesByServerIdAsync(serverId, null); + } + + /// + public void GetServicesByServerIdAsync(int serverId, object userState) { + if ((this.GetServicesByServerIdOperationCompleted == null)) { + this.GetServicesByServerIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServicesByServerIdOperationCompleted); + } + this.InvokeAsync("GetServicesByServerId", new object[] { + serverId}, this.GetServicesByServerIdOperationCompleted, userState); + } + + private void OnGetServicesByServerIdOperationCompleted(object arg) { + if ((this.GetServicesByServerIdCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetServicesByServerIdCompleted(this, new GetServicesByServerIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServicesByServerIdGroupName", 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 ServiceInfo[] GetServicesByServerIdGroupName(int serverId, string groupName) { + object[] results = this.Invoke("GetServicesByServerIdGroupName", new object[] { + serverId, + groupName}); + return ((ServiceInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetServicesByServerIdGroupName(int serverId, string groupName, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetServicesByServerIdGroupName", new object[] { + serverId, + groupName}, callback, asyncState); + } + + /// + public ServiceInfo[] EndGetServicesByServerIdGroupName(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ServiceInfo[])(results[0])); + } + + /// + public void GetServicesByServerIdGroupNameAsync(int serverId, string groupName) { + this.GetServicesByServerIdGroupNameAsync(serverId, groupName, null); + } + + /// + public void GetServicesByServerIdGroupNameAsync(int serverId, string groupName, object userState) { + if ((this.GetServicesByServerIdGroupNameOperationCompleted == null)) { + this.GetServicesByServerIdGroupNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServicesByServerIdGroupNameOperationCompleted); + } + this.InvokeAsync("GetServicesByServerIdGroupName", new object[] { + serverId, + groupName}, this.GetServicesByServerIdGroupNameOperationCompleted, userState); + } + + private void OnGetServicesByServerIdGroupNameOperationCompleted(object arg) { + if ((this.GetServicesByServerIdGroupNameCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetServicesByServerIdGroupNameCompleted(this, new GetServicesByServerIdGroupNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawServicesByGroupId", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawServicesByGroupId(int groupId) { + object[] results = this.Invoke("GetRawServicesByGroupId", new object[] { + groupId}); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetRawServicesByGroupId(int groupId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetRawServicesByGroupId", new object[] { + groupId}, callback, asyncState); + } + + /// + public System.Data.DataSet EndGetRawServicesByGroupId(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetRawServicesByGroupIdAsync(int groupId) { + this.GetRawServicesByGroupIdAsync(groupId, null); + } + + /// + public void GetRawServicesByGroupIdAsync(int groupId, object userState) { + if ((this.GetRawServicesByGroupIdOperationCompleted == null)) { + this.GetRawServicesByGroupIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawServicesByGroupIdOperationCompleted); + } + this.InvokeAsync("GetRawServicesByGroupId", new object[] { + groupId}, this.GetRawServicesByGroupIdOperationCompleted, userState); + } + + private void OnGetRawServicesByGroupIdOperationCompleted(object arg) { + if ((this.GetRawServicesByGroupIdCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetRawServicesByGroupIdCompleted(this, new GetRawServicesByGroupIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawServicesByGroupName", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawServicesByGroupName(string groupName) { + object[] results = this.Invoke("GetRawServicesByGroupName", new object[] { + groupName}); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetRawServicesByGroupName(string groupName, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetRawServicesByGroupName", new object[] { + groupName}, callback, asyncState); + } + + /// + public System.Data.DataSet EndGetRawServicesByGroupName(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetRawServicesByGroupNameAsync(string groupName) { + this.GetRawServicesByGroupNameAsync(groupName, null); + } + + /// + public void GetRawServicesByGroupNameAsync(string groupName, object userState) { + if ((this.GetRawServicesByGroupNameOperationCompleted == null)) { + this.GetRawServicesByGroupNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawServicesByGroupNameOperationCompleted); + } + this.InvokeAsync("GetRawServicesByGroupName", new object[] { + groupName}, this.GetRawServicesByGroupNameOperationCompleted, userState); + } + + private void OnGetRawServicesByGroupNameOperationCompleted(object arg) { + if ((this.GetRawServicesByGroupNameCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetRawServicesByGroupNameCompleted(this, new GetRawServicesByGroupNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServiceInfo", 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 ServiceInfo GetServiceInfo(int serviceId) { + object[] results = this.Invoke("GetServiceInfo", new object[] { + serviceId}); + return ((ServiceInfo)(results[0])); + } + + /// + public System.IAsyncResult BeginGetServiceInfo(int serviceId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetServiceInfo", new object[] { + serviceId}, callback, asyncState); + } + + /// + public ServiceInfo EndGetServiceInfo(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ServiceInfo)(results[0])); + } + + /// + public void GetServiceInfoAsync(int serviceId) { + this.GetServiceInfoAsync(serviceId, null); + } + + /// + public void GetServiceInfoAsync(int serviceId, object userState) { + if ((this.GetServiceInfoOperationCompleted == null)) { + this.GetServiceInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServiceInfoOperationCompleted); + } + this.InvokeAsync("GetServiceInfo", new object[] { + serviceId}, this.GetServiceInfoOperationCompleted, userState); + } + + private void OnGetServiceInfoOperationCompleted(object arg) { + if ((this.GetServiceInfoCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetServiceInfoCompleted(this, new GetServiceInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddService", 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 AddService(ServiceInfo service) { + object[] results = this.Invoke("AddService", new object[] { + service}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginAddService(ServiceInfo service, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("AddService", new object[] { + service}, callback, asyncState); + } + + /// + public int EndAddService(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void AddServiceAsync(ServiceInfo service) { + this.AddServiceAsync(service, null); + } + + /// + public void AddServiceAsync(ServiceInfo service, object userState) { + if ((this.AddServiceOperationCompleted == null)) { + this.AddServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddServiceOperationCompleted); + } + this.InvokeAsync("AddService", new object[] { + service}, this.AddServiceOperationCompleted, userState); + } + + private void OnAddServiceOperationCompleted(object arg) { + if ((this.AddServiceCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddServiceCompleted(this, new AddServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateService", 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 UpdateService(ServiceInfo service) { + object[] results = this.Invoke("UpdateService", new object[] { + service}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginUpdateService(ServiceInfo service, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("UpdateService", new object[] { + service}, callback, asyncState); + } + + /// + public int EndUpdateService(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void UpdateServiceAsync(ServiceInfo service) { + this.UpdateServiceAsync(service, null); + } + + /// + public void UpdateServiceAsync(ServiceInfo service, object userState) { + if ((this.UpdateServiceOperationCompleted == null)) { + this.UpdateServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateServiceOperationCompleted); + } + this.InvokeAsync("UpdateService", new object[] { + service}, this.UpdateServiceOperationCompleted, userState); + } + + private void OnUpdateServiceOperationCompleted(object arg) { + if ((this.UpdateServiceCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateServiceCompleted(this, new UpdateServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteService", 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 DeleteService(int serviceId) { + object[] results = this.Invoke("DeleteService", new object[] { + serviceId}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteService(int serviceId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("DeleteService", new object[] { + serviceId}, callback, asyncState); + } + + /// + public int EndDeleteService(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void DeleteServiceAsync(int serviceId) { + this.DeleteServiceAsync(serviceId, null); + } + + /// + public void DeleteServiceAsync(int serviceId, object userState) { + if ((this.DeleteServiceOperationCompleted == null)) { + this.DeleteServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteServiceOperationCompleted); + } + this.InvokeAsync("DeleteService", new object[] { + serviceId}, this.DeleteServiceOperationCompleted, userState); + } + + private void OnDeleteServiceOperationCompleted(object arg) { + if ((this.DeleteServiceCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteServiceCompleted(this, new DeleteServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServiceSettings", 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[] GetServiceSettings(int serviceId) { + object[] results = this.Invoke("GetServiceSettings", new object[] { + serviceId}); + return ((string[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetServiceSettings(int serviceId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetServiceSettings", new object[] { + serviceId}, callback, asyncState); + } + + /// + public string[] EndGetServiceSettings(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((string[])(results[0])); + } + + /// + public void GetServiceSettingsAsync(int serviceId) { + this.GetServiceSettingsAsync(serviceId, null); + } + + /// + public void GetServiceSettingsAsync(int serviceId, object userState) { + if ((this.GetServiceSettingsOperationCompleted == null)) { + this.GetServiceSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServiceSettingsOperationCompleted); + } + this.InvokeAsync("GetServiceSettings", new object[] { + serviceId}, this.GetServiceSettingsOperationCompleted, userState); + } + + private void OnGetServiceSettingsOperationCompleted(object arg) { + if ((this.GetServiceSettingsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetServiceSettingsCompleted(this, new GetServiceSettingsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateServiceSettings", 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 UpdateServiceSettings(int serviceId, string[] settings) { + object[] results = this.Invoke("UpdateServiceSettings", new object[] { + serviceId, + settings}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginUpdateServiceSettings(int serviceId, string[] settings, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("UpdateServiceSettings", new object[] { + serviceId, + settings}, callback, asyncState); + } + + /// + public int EndUpdateServiceSettings(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void UpdateServiceSettingsAsync(int serviceId, string[] settings) { + this.UpdateServiceSettingsAsync(serviceId, settings, null); + } + + /// + public void UpdateServiceSettingsAsync(int serviceId, string[] settings, object userState) { + if ((this.UpdateServiceSettingsOperationCompleted == null)) { + this.UpdateServiceSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateServiceSettingsOperationCompleted); + } + this.InvokeAsync("UpdateServiceSettings", new object[] { + serviceId, + settings}, this.UpdateServiceSettingsOperationCompleted, userState); + } + + private void OnUpdateServiceSettingsOperationCompleted(object arg) { + if ((this.UpdateServiceSettingsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateServiceSettingsCompleted(this, new UpdateServiceSettingsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/InstallService", 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[] InstallService(int serviceId) { + object[] results = this.Invoke("InstallService", new object[] { + serviceId}); + return ((string[])(results[0])); + } + + /// + public System.IAsyncResult BeginInstallService(int serviceId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("InstallService", new object[] { + serviceId}, callback, asyncState); + } + + /// + public string[] EndInstallService(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((string[])(results[0])); + } + + /// + public void InstallServiceAsync(int serviceId) { + this.InstallServiceAsync(serviceId, null); + } + + /// + public void InstallServiceAsync(int serviceId, object userState) { + if ((this.InstallServiceOperationCompleted == null)) { + this.InstallServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInstallServiceOperationCompleted); + } + this.InvokeAsync("InstallService", new object[] { + serviceId}, this.InstallServiceOperationCompleted, userState); + } + + private void OnInstallServiceOperationCompleted(object arg) { + if ((this.InstallServiceCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.InstallServiceCompleted(this, new InstallServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetProviderServiceQuota", 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 QuotaInfo GetProviderServiceQuota(int providerId) { + object[] results = this.Invoke("GetProviderServiceQuota", new object[] { + providerId}); + return ((QuotaInfo)(results[0])); + } + + /// + public System.IAsyncResult BeginGetProviderServiceQuota(int providerId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetProviderServiceQuota", new object[] { + providerId}, callback, asyncState); + } + + /// + public QuotaInfo EndGetProviderServiceQuota(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((QuotaInfo)(results[0])); + } + + /// + public void GetProviderServiceQuotaAsync(int providerId) { + this.GetProviderServiceQuotaAsync(providerId, null); + } + + /// + public void GetProviderServiceQuotaAsync(int providerId, object userState) { + if ((this.GetProviderServiceQuotaOperationCompleted == null)) { + this.GetProviderServiceQuotaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetProviderServiceQuotaOperationCompleted); + } + this.InvokeAsync("GetProviderServiceQuota", new object[] { + providerId}, this.GetProviderServiceQuotaOperationCompleted, userState); + } + + private void OnGetProviderServiceQuotaOperationCompleted(object arg) { + if ((this.GetProviderServiceQuotaCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetProviderServiceQuotaCompleted(this, new GetProviderServiceQuotaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetInstalledProviders", 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 ProviderInfo[] GetInstalledProviders(int groupId) { + object[] results = this.Invoke("GetInstalledProviders", new object[] { + groupId}); + return ((ProviderInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetInstalledProviders(int groupId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetInstalledProviders", new object[] { + groupId}, callback, asyncState); + } + + /// + public ProviderInfo[] EndGetInstalledProviders(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ProviderInfo[])(results[0])); + } + + /// + public void GetInstalledProvidersAsync(int groupId) { + this.GetInstalledProvidersAsync(groupId, null); + } + + /// + public void GetInstalledProvidersAsync(int groupId, object userState) { + if ((this.GetInstalledProvidersOperationCompleted == null)) { + this.GetInstalledProvidersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetInstalledProvidersOperationCompleted); + } + this.InvokeAsync("GetInstalledProviders", new object[] { + groupId}, this.GetInstalledProvidersOperationCompleted, userState); + } + + private void OnGetInstalledProvidersOperationCompleted(object arg) { + if ((this.GetInstalledProvidersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetInstalledProvidersCompleted(this, new GetInstalledProvidersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetResourceGroups", 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 ResourceGroupInfo[] GetResourceGroups() { + object[] results = this.Invoke("GetResourceGroups", new object[0]); + return ((ResourceGroupInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetResourceGroups(System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetResourceGroups", new object[0], callback, asyncState); + } + + /// + public ResourceGroupInfo[] EndGetResourceGroups(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ResourceGroupInfo[])(results[0])); + } + + /// + public void GetResourceGroupsAsync() { + this.GetResourceGroupsAsync(null); + } + + /// + public void GetResourceGroupsAsync(object userState) { + if ((this.GetResourceGroupsOperationCompleted == null)) { + this.GetResourceGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetResourceGroupsOperationCompleted); + } + this.InvokeAsync("GetResourceGroups", new object[0], this.GetResourceGroupsOperationCompleted, userState); + } + + private void OnGetResourceGroupsOperationCompleted(object arg) { + if ((this.GetResourceGroupsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetResourceGroupsCompleted(this, new GetResourceGroupsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetResourceGroup", 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 ResourceGroupInfo GetResourceGroup(int groupId) { + object[] results = this.Invoke("GetResourceGroup", new object[] { + groupId}); + return ((ResourceGroupInfo)(results[0])); + } + + /// + public System.IAsyncResult BeginGetResourceGroup(int groupId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetResourceGroup", new object[] { + groupId}, callback, asyncState); + } + + /// + public ResourceGroupInfo EndGetResourceGroup(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ResourceGroupInfo)(results[0])); + } + + /// + public void GetResourceGroupAsync(int groupId) { + this.GetResourceGroupAsync(groupId, null); + } + + /// + public void GetResourceGroupAsync(int groupId, object userState) { + if ((this.GetResourceGroupOperationCompleted == null)) { + this.GetResourceGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetResourceGroupOperationCompleted); + } + this.InvokeAsync("GetResourceGroup", new object[] { + groupId}, this.GetResourceGroupOperationCompleted, userState); + } + + private void OnGetResourceGroupOperationCompleted(object arg) { + if ((this.GetResourceGroupCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetResourceGroupCompleted(this, new GetResourceGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetProvider", 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 ProviderInfo GetProvider(int providerId) { + object[] results = this.Invoke("GetProvider", new object[] { + providerId}); + return ((ProviderInfo)(results[0])); + } + + /// + public System.IAsyncResult BeginGetProvider(int providerId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetProvider", new object[] { + providerId}, callback, asyncState); + } + + /// + public ProviderInfo EndGetProvider(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ProviderInfo)(results[0])); + } + + /// + public void GetProviderAsync(int providerId) { + this.GetProviderAsync(providerId, null); + } + + /// + public void GetProviderAsync(int providerId, object userState) { + if ((this.GetProviderOperationCompleted == null)) { + this.GetProviderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetProviderOperationCompleted); + } + this.InvokeAsync("GetProvider", new object[] { + providerId}, this.GetProviderOperationCompleted, userState); + } + + private void OnGetProviderOperationCompleted(object arg) { + if ((this.GetProviderCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetProviderCompleted(this, new GetProviderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetProviders", 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 ProviderInfo[] GetProviders() { + object[] results = this.Invoke("GetProviders", new object[0]); + return ((ProviderInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetProviders(System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetProviders", new object[0], callback, asyncState); + } + + /// + public ProviderInfo[] EndGetProviders(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ProviderInfo[])(results[0])); + } + + /// + public void GetProvidersAsync() { + this.GetProvidersAsync(null); + } + + /// + public void GetProvidersAsync(object userState) { + if ((this.GetProvidersOperationCompleted == null)) { + this.GetProvidersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetProvidersOperationCompleted); + } + this.InvokeAsync("GetProviders", new object[0], this.GetProvidersOperationCompleted, userState); + } + + private void OnGetProvidersOperationCompleted(object arg) { + if ((this.GetProvidersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetProvidersCompleted(this, new GetProvidersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetProvidersByGroupId", 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 ProviderInfo[] GetProvidersByGroupId(int groupId) { + object[] results = this.Invoke("GetProvidersByGroupId", new object[] { + groupId}); + return ((ProviderInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetProvidersByGroupId(int groupId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetProvidersByGroupId", new object[] { + groupId}, callback, asyncState); + } + + /// + public ProviderInfo[] EndGetProvidersByGroupId(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ProviderInfo[])(results[0])); + } + + /// + public void GetProvidersByGroupIdAsync(int groupId) { + this.GetProvidersByGroupIdAsync(groupId, null); + } + + /// + public void GetProvidersByGroupIdAsync(int groupId, object userState) { + if ((this.GetProvidersByGroupIdOperationCompleted == null)) { + this.GetProvidersByGroupIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetProvidersByGroupIdOperationCompleted); + } + this.InvokeAsync("GetProvidersByGroupId", new object[] { + groupId}, this.GetProvidersByGroupIdOperationCompleted, userState); + } + + private void OnGetProvidersByGroupIdOperationCompleted(object arg) { + if ((this.GetProvidersByGroupIdCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetProvidersByGroupIdCompleted(this, new GetProvidersByGroupIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetPackageServiceProvider", 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 ProviderInfo GetPackageServiceProvider(int packageId, string groupName) { + object[] results = this.Invoke("GetPackageServiceProvider", new object[] { + packageId, + groupName}); + return ((ProviderInfo)(results[0])); + } + + /// + public System.IAsyncResult BeginGetPackageServiceProvider(int packageId, string groupName, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetPackageServiceProvider", new object[] { + packageId, + groupName}, callback, asyncState); + } + + /// + public ProviderInfo EndGetPackageServiceProvider(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ProviderInfo)(results[0])); + } + + /// + public void GetPackageServiceProviderAsync(int packageId, string groupName) { + this.GetPackageServiceProviderAsync(packageId, groupName, null); + } + + /// + public void GetPackageServiceProviderAsync(int packageId, string groupName, object userState) { + if ((this.GetPackageServiceProviderOperationCompleted == null)) { + this.GetPackageServiceProviderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPackageServiceProviderOperationCompleted); + } + this.InvokeAsync("GetPackageServiceProvider", new object[] { + packageId, + groupName}, this.GetPackageServiceProviderOperationCompleted, userState); + } + + private void OnGetPackageServiceProviderOperationCompleted(object arg) { + if ((this.GetPackageServiceProviderCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetPackageServiceProviderCompleted(this, new GetPackageServiceProviderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/IsInstalled", 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 BoolResult IsInstalled(int serverId, int providerId) { + object[] results = this.Invoke("IsInstalled", new object[] { + serverId, + providerId}); + return ((BoolResult)(results[0])); + } + + /// + public System.IAsyncResult BeginIsInstalled(int serverId, int providerId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("IsInstalled", new object[] { + serverId, + providerId}, callback, asyncState); + } + + /// + public BoolResult EndIsInstalled(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((BoolResult)(results[0])); + } + + /// + public void IsInstalledAsync(int serverId, int providerId) { + this.IsInstalledAsync(serverId, providerId, null); + } + + /// + public void IsInstalledAsync(int serverId, int providerId, object userState) { + if ((this.IsInstalledOperationCompleted == null)) { + this.IsInstalledOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsInstalledOperationCompleted); + } + this.InvokeAsync("IsInstalled", new object[] { + serverId, + providerId}, this.IsInstalledOperationCompleted, userState); + } + + private void OnIsInstalledOperationCompleted(object arg) { + if ((this.IsInstalledCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.IsInstalledCompleted(this, new IsInstalledCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetServerVersion", 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 GetServerVersion(int serverId) { + object[] results = this.Invoke("GetServerVersion", new object[] { + serverId}); + return ((string)(results[0])); + } + + /// + public System.IAsyncResult BeginGetServerVersion(int serverId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetServerVersion", new object[] { + serverId}, callback, asyncState); + } + + /// + public string EndGetServerVersion(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((string)(results[0])); + } + + /// + public void GetServerVersionAsync(int serverId) { + this.GetServerVersionAsync(serverId, null); + } + + /// + public void GetServerVersionAsync(int serverId, object userState) { + if ((this.GetServerVersionOperationCompleted == null)) { + this.GetServerVersionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerVersionOperationCompleted); + } + this.InvokeAsync("GetServerVersion", new object[] { + serverId}, this.GetServerVersionOperationCompleted, userState); + } + + private void OnGetServerVersionOperationCompleted(object arg) { + if ((this.GetServerVersionCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetServerVersionCompleted(this, new GetServerVersionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetIPAddresses", 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 IPAddressInfo[] GetIPAddresses(IPAddressPool pool, int serverId) { + object[] results = this.Invoke("GetIPAddresses", new object[] { + pool, + serverId}); + return ((IPAddressInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetIPAddresses(IPAddressPool pool, int serverId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetIPAddresses", new object[] { + pool, + serverId}, callback, asyncState); + } + + /// + public IPAddressInfo[] EndGetIPAddresses(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((IPAddressInfo[])(results[0])); + } + + /// + public void GetIPAddressesAsync(IPAddressPool pool, int serverId) { + this.GetIPAddressesAsync(pool, serverId, null); + } + + /// + public void GetIPAddressesAsync(IPAddressPool pool, int serverId, object userState) { + if ((this.GetIPAddressesOperationCompleted == null)) { + this.GetIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetIPAddressesOperationCompleted); + } + this.InvokeAsync("GetIPAddresses", new object[] { + pool, + serverId}, this.GetIPAddressesOperationCompleted, userState); + } + + private void OnGetIPAddressesOperationCompleted(object arg) { + if ((this.GetIPAddressesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetIPAddressesCompleted(this, new GetIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetIPAddressesPaged", 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 IPAddressesPaged GetIPAddressesPaged(IPAddressPool pool, int serverId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) { + object[] results = this.Invoke("GetIPAddressesPaged", new object[] { + pool, + serverId, + filterColumn, + filterValue, + sortColumn, + startRow, + maximumRows}); + return ((IPAddressesPaged)(results[0])); + } + + /// + public System.IAsyncResult BeginGetIPAddressesPaged(IPAddressPool pool, int serverId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetIPAddressesPaged", new object[] { + pool, + serverId, + filterColumn, + filterValue, + sortColumn, + startRow, + maximumRows}, callback, asyncState); + } + + /// + public IPAddressesPaged EndGetIPAddressesPaged(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((IPAddressesPaged)(results[0])); + } + + /// + public void GetIPAddressesPagedAsync(IPAddressPool pool, int serverId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) { + this.GetIPAddressesPagedAsync(pool, serverId, filterColumn, filterValue, sortColumn, startRow, maximumRows, null); + } + + /// + public void GetIPAddressesPagedAsync(IPAddressPool pool, int serverId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) { + if ((this.GetIPAddressesPagedOperationCompleted == null)) { + this.GetIPAddressesPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetIPAddressesPagedOperationCompleted); + } + this.InvokeAsync("GetIPAddressesPaged", new object[] { + pool, + serverId, + filterColumn, + filterValue, + sortColumn, + startRow, + maximumRows}, this.GetIPAddressesPagedOperationCompleted, userState); + } + + private void OnGetIPAddressesPagedOperationCompleted(object arg) { + if ((this.GetIPAddressesPagedCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetIPAddressesPagedCompleted(this, new GetIPAddressesPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetIPAddress", 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 IPAddressInfo GetIPAddress(int addressId) { + object[] results = this.Invoke("GetIPAddress", new object[] { + addressId}); + return ((IPAddressInfo)(results[0])); + } + + /// + public System.IAsyncResult BeginGetIPAddress(int addressId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetIPAddress", new object[] { + addressId}, callback, asyncState); + } + + /// + public IPAddressInfo EndGetIPAddress(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((IPAddressInfo)(results[0])); + } + + /// + public void GetIPAddressAsync(int addressId) { + this.GetIPAddressAsync(addressId, null); + } + + /// + public void GetIPAddressAsync(int addressId, object userState) { + if ((this.GetIPAddressOperationCompleted == null)) { + this.GetIPAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetIPAddressOperationCompleted); + } + this.InvokeAsync("GetIPAddress", new object[] { + addressId}, this.GetIPAddressOperationCompleted, userState); + } + + private void OnGetIPAddressOperationCompleted(object arg) { + if ((this.GetIPAddressCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetIPAddressCompleted(this, new GetIPAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddIPAddress", 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 IntResult AddIPAddress(IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments) { + object[] results = this.Invoke("AddIPAddress", new object[] { + pool, + serverId, + externalIP, + internalIP, + subnetMask, + defaultGateway, + comments}); + return ((IntResult)(results[0])); + } + + /// + public System.IAsyncResult BeginAddIPAddress(IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("AddIPAddress", new object[] { + pool, + serverId, + externalIP, + internalIP, + subnetMask, + defaultGateway, + comments}, callback, asyncState); + } + + /// + public IntResult EndAddIPAddress(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((IntResult)(results[0])); + } + + /// + public void AddIPAddressAsync(IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments) { + this.AddIPAddressAsync(pool, serverId, externalIP, internalIP, subnetMask, defaultGateway, comments, null); + } + + /// + public void AddIPAddressAsync(IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments, object userState) { + if ((this.AddIPAddressOperationCompleted == null)) { + this.AddIPAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddIPAddressOperationCompleted); + } + this.InvokeAsync("AddIPAddress", new object[] { + pool, + serverId, + externalIP, + internalIP, + subnetMask, + defaultGateway, + comments}, this.AddIPAddressOperationCompleted, userState); + } + + private void OnAddIPAddressOperationCompleted(object arg) { + if ((this.AddIPAddressCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddIPAddressCompleted(this, new AddIPAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddIPAddressesRange", 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 AddIPAddressesRange(IPAddressPool pool, int serverId, string externalIP, string endIP, string internalIP, string subnetMask, string defaultGateway, string comments) { + object[] results = this.Invoke("AddIPAddressesRange", new object[] { + pool, + serverId, + externalIP, + endIP, + internalIP, + subnetMask, + defaultGateway, + comments}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginAddIPAddressesRange(IPAddressPool pool, int serverId, string externalIP, string endIP, string internalIP, string subnetMask, string defaultGateway, string comments, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("AddIPAddressesRange", new object[] { + pool, + serverId, + externalIP, + endIP, + internalIP, + subnetMask, + defaultGateway, + comments}, callback, asyncState); + } + + /// + public ResultObject EndAddIPAddressesRange(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void AddIPAddressesRangeAsync(IPAddressPool pool, int serverId, string externalIP, string endIP, string internalIP, string subnetMask, string defaultGateway, string comments) { + this.AddIPAddressesRangeAsync(pool, serverId, externalIP, endIP, internalIP, subnetMask, defaultGateway, comments, null); + } + + /// + public void AddIPAddressesRangeAsync(IPAddressPool pool, int serverId, string externalIP, string endIP, string internalIP, string subnetMask, string defaultGateway, string comments, object userState) { + if ((this.AddIPAddressesRangeOperationCompleted == null)) { + this.AddIPAddressesRangeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddIPAddressesRangeOperationCompleted); + } + this.InvokeAsync("AddIPAddressesRange", new object[] { + pool, + serverId, + externalIP, + endIP, + internalIP, + subnetMask, + defaultGateway, + comments}, this.AddIPAddressesRangeOperationCompleted, userState); + } + + private void OnAddIPAddressesRangeOperationCompleted(object arg) { + if ((this.AddIPAddressesRangeCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddIPAddressesRangeCompleted(this, new AddIPAddressesRangeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateIPAddress", 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 UpdateIPAddress(int addressId, IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments) { + object[] results = this.Invoke("UpdateIPAddress", new object[] { + addressId, + pool, + serverId, + externalIP, + internalIP, + subnetMask, + defaultGateway, + comments}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginUpdateIPAddress(int addressId, IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("UpdateIPAddress", new object[] { + addressId, + pool, + serverId, + externalIP, + internalIP, + subnetMask, + defaultGateway, + comments}, callback, asyncState); + } + + /// + public ResultObject EndUpdateIPAddress(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void UpdateIPAddressAsync(int addressId, IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments) { + this.UpdateIPAddressAsync(addressId, pool, serverId, externalIP, internalIP, subnetMask, defaultGateway, comments, null); + } + + /// + public void UpdateIPAddressAsync(int addressId, IPAddressPool pool, int serverId, string externalIP, string internalIP, string subnetMask, string defaultGateway, string comments, object userState) { + if ((this.UpdateIPAddressOperationCompleted == null)) { + this.UpdateIPAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateIPAddressOperationCompleted); + } + this.InvokeAsync("UpdateIPAddress", new object[] { + addressId, + pool, + serverId, + externalIP, + internalIP, + subnetMask, + defaultGateway, + comments}, this.UpdateIPAddressOperationCompleted, userState); + } + + private void OnUpdateIPAddressOperationCompleted(object arg) { + if ((this.UpdateIPAddressCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateIPAddressCompleted(this, new UpdateIPAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateIPAddresses", 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 UpdateIPAddresses(int[] addresses, IPAddressPool pool, int serverId, string subnetMask, string defaultGateway, string comments) { + object[] results = this.Invoke("UpdateIPAddresses", new object[] { + addresses, + pool, + serverId, + subnetMask, + defaultGateway, + comments}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginUpdateIPAddresses(int[] addresses, IPAddressPool pool, int serverId, string subnetMask, string defaultGateway, string comments, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("UpdateIPAddresses", new object[] { + addresses, + pool, + serverId, + subnetMask, + defaultGateway, + comments}, callback, asyncState); + } + + /// + public ResultObject EndUpdateIPAddresses(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void UpdateIPAddressesAsync(int[] addresses, IPAddressPool pool, int serverId, string subnetMask, string defaultGateway, string comments) { + this.UpdateIPAddressesAsync(addresses, pool, serverId, subnetMask, defaultGateway, comments, null); + } + + /// + public void UpdateIPAddressesAsync(int[] addresses, IPAddressPool pool, int serverId, string subnetMask, string defaultGateway, string comments, object userState) { + if ((this.UpdateIPAddressesOperationCompleted == null)) { + this.UpdateIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateIPAddressesOperationCompleted); + } + this.InvokeAsync("UpdateIPAddresses", new object[] { + addresses, + pool, + serverId, + subnetMask, + defaultGateway, + comments}, this.UpdateIPAddressesOperationCompleted, userState); + } + + private void OnUpdateIPAddressesOperationCompleted(object arg) { + if ((this.UpdateIPAddressesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateIPAddressesCompleted(this, new UpdateIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteIPAddress", 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 DeleteIPAddress(int addressId) { + object[] results = this.Invoke("DeleteIPAddress", new object[] { + addressId}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteIPAddress(int addressId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("DeleteIPAddress", new object[] { + addressId}, callback, asyncState); + } + + /// + public ResultObject EndDeleteIPAddress(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void DeleteIPAddressAsync(int addressId) { + this.DeleteIPAddressAsync(addressId, null); + } + + /// + public void DeleteIPAddressAsync(int addressId, object userState) { + if ((this.DeleteIPAddressOperationCompleted == null)) { + this.DeleteIPAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteIPAddressOperationCompleted); + } + this.InvokeAsync("DeleteIPAddress", new object[] { + addressId}, this.DeleteIPAddressOperationCompleted, userState); + } + + private void OnDeleteIPAddressOperationCompleted(object arg) { + if ((this.DeleteIPAddressCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteIPAddressCompleted(this, new DeleteIPAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteIPAddresses", 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 DeleteIPAddresses(int[] addresses) { + object[] results = this.Invoke("DeleteIPAddresses", new object[] { + addresses}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteIPAddresses(int[] addresses, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("DeleteIPAddresses", new object[] { + addresses}, callback, asyncState); + } + + /// + public ResultObject EndDeleteIPAddresses(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void DeleteIPAddressesAsync(int[] addresses) { + this.DeleteIPAddressesAsync(addresses, null); + } + + /// + public void DeleteIPAddressesAsync(int[] addresses, object userState) { + if ((this.DeleteIPAddressesOperationCompleted == null)) { + this.DeleteIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteIPAddressesOperationCompleted); + } + this.InvokeAsync("DeleteIPAddresses", new object[] { + addresses}, this.DeleteIPAddressesOperationCompleted, userState); + } + + private void OnDeleteIPAddressesOperationCompleted(object arg) { + if ((this.DeleteIPAddressesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteIPAddressesCompleted(this, new DeleteIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetUnallottedIPAddresses", 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 IPAddressInfo[] GetUnallottedIPAddresses(int packageId, string groupName, IPAddressPool pool) { + object[] results = this.Invoke("GetUnallottedIPAddresses", new object[] { + packageId, + groupName, + pool}); + return ((IPAddressInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetUnallottedIPAddresses(int packageId, string groupName, IPAddressPool pool, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetUnallottedIPAddresses", new object[] { + packageId, + groupName, + pool}, callback, asyncState); + } + + /// + public IPAddressInfo[] EndGetUnallottedIPAddresses(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((IPAddressInfo[])(results[0])); + } + + /// + public void GetUnallottedIPAddressesAsync(int packageId, string groupName, IPAddressPool pool) { + this.GetUnallottedIPAddressesAsync(packageId, groupName, pool, null); + } + + /// + public void GetUnallottedIPAddressesAsync(int packageId, string groupName, IPAddressPool pool, object userState) { + if ((this.GetUnallottedIPAddressesOperationCompleted == null)) { + this.GetUnallottedIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUnallottedIPAddressesOperationCompleted); + } + this.InvokeAsync("GetUnallottedIPAddresses", new object[] { + packageId, + groupName, + pool}, this.GetUnallottedIPAddressesOperationCompleted, userState); + } + + private void OnGetUnallottedIPAddressesOperationCompleted(object arg) { + if ((this.GetUnallottedIPAddressesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetUnallottedIPAddressesCompleted(this, new GetUnallottedIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetPackageIPAddresses", 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 PackageIPAddressesPaged GetPackageIPAddresses(int packageId, int orgId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive) { + object[] results = this.Invoke("GetPackageIPAddresses", new object[] { + packageId, + orgId, + pool, + filterColumn, + filterValue, + sortColumn, + startRow, + maximumRows, + recursive}); + return ((PackageIPAddressesPaged)(results[0])); + } + + /// + public System.IAsyncResult BeginGetPackageIPAddresses(int packageId, int orgId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetPackageIPAddresses", new object[] { + packageId, + orgId, + pool, + filterColumn, + filterValue, + sortColumn, + startRow, + maximumRows, + recursive}, callback, asyncState); + } + + /// + public PackageIPAddressesPaged EndGetPackageIPAddresses(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((PackageIPAddressesPaged)(results[0])); + } + + /// + public void GetPackageIPAddressesAsync(int packageId, int orgId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive) { + this.GetPackageIPAddressesAsync(packageId, orgId, pool, filterColumn, filterValue, sortColumn, startRow, maximumRows, recursive, null); + } + + /// + public void GetPackageIPAddressesAsync(int packageId, int orgId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive, object userState) { + if ((this.GetPackageIPAddressesOperationCompleted == null)) { + this.GetPackageIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPackageIPAddressesOperationCompleted); + } + this.InvokeAsync("GetPackageIPAddresses", new object[] { + packageId, + orgId, + pool, + filterColumn, + filterValue, + sortColumn, + startRow, + maximumRows, + recursive}, this.GetPackageIPAddressesOperationCompleted, userState); + } + + private void OnGetPackageIPAddressesOperationCompleted(object arg) { + if ((this.GetPackageIPAddressesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetPackageIPAddressesCompleted(this, new GetPackageIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetPackageUnassignedIPAddresses", 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 PackageIPAddress[] GetPackageUnassignedIPAddresses(int packageId, int orgId, IPAddressPool pool) { + object[] results = this.Invoke("GetPackageUnassignedIPAddresses", new object[] { + packageId, + orgId, + pool}); + return ((PackageIPAddress[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetPackageUnassignedIPAddresses(int packageId, int orgId, IPAddressPool pool, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetPackageUnassignedIPAddresses", new object[] { + packageId, + orgId, + pool}, callback, asyncState); + } + + /// + public PackageIPAddress[] EndGetPackageUnassignedIPAddresses(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((PackageIPAddress[])(results[0])); + } + + /// + public void GetPackageUnassignedIPAddressesAsync(int packageId, int orgId, IPAddressPool pool) { + this.GetPackageUnassignedIPAddressesAsync(packageId, orgId, pool, null); + } + + /// + public void GetPackageUnassignedIPAddressesAsync(int packageId, int orgId, IPAddressPool pool, object userState) { + if ((this.GetPackageUnassignedIPAddressesOperationCompleted == null)) { + this.GetPackageUnassignedIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPackageUnassignedIPAddressesOperationCompleted); + } + this.InvokeAsync("GetPackageUnassignedIPAddresses", new object[] { + packageId, + orgId, + pool}, this.GetPackageUnassignedIPAddressesOperationCompleted, userState); + } + + private void OnGetPackageUnassignedIPAddressesOperationCompleted(object arg) { + if ((this.GetPackageUnassignedIPAddressesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetPackageUnassignedIPAddressesCompleted(this, new GetPackageUnassignedIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AllocatePackageIPAddresses", 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 AllocatePackageIPAddresses(int packageId, int orgId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId) { + object[] results = this.Invoke("AllocatePackageIPAddresses", new object[] { + packageId, + orgId, + groupName, + pool, + allocateRandom, + addressesNumber, + addressId}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginAllocatePackageIPAddresses(int packageId, int orgId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("AllocatePackageIPAddresses", new object[] { + packageId, + orgId, + groupName, + pool, + allocateRandom, + addressesNumber, + addressId}, callback, asyncState); + } + + /// + public ResultObject EndAllocatePackageIPAddresses(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void AllocatePackageIPAddressesAsync(int packageId, int orgId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId) { + this.AllocatePackageIPAddressesAsync(packageId, orgId, groupName, pool, allocateRandom, addressesNumber, addressId, null); + } + + /// + public void AllocatePackageIPAddressesAsync(int packageId, int orgId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId, object userState) { + if ((this.AllocatePackageIPAddressesOperationCompleted == null)) { + this.AllocatePackageIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAllocatePackageIPAddressesOperationCompleted); + } + this.InvokeAsync("AllocatePackageIPAddresses", new object[] { + packageId, + orgId, + groupName, + pool, + allocateRandom, + addressesNumber, + addressId}, this.AllocatePackageIPAddressesOperationCompleted, userState); + } + + private void OnAllocatePackageIPAddressesOperationCompleted(object arg) { + if ((this.AllocatePackageIPAddressesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AllocatePackageIPAddressesCompleted(this, new AllocatePackageIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AllocateMaximumPackageIPAddresses", 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 AllocateMaximumPackageIPAddresses(int packageId, string groupName, IPAddressPool pool) { + object[] results = this.Invoke("AllocateMaximumPackageIPAddresses", new object[] { + packageId, + groupName, + pool}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginAllocateMaximumPackageIPAddresses(int packageId, string groupName, IPAddressPool pool, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("AllocateMaximumPackageIPAddresses", new object[] { + packageId, + groupName, + pool}, callback, asyncState); + } + + /// + public ResultObject EndAllocateMaximumPackageIPAddresses(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void AllocateMaximumPackageIPAddressesAsync(int packageId, string groupName, IPAddressPool pool) { + this.AllocateMaximumPackageIPAddressesAsync(packageId, groupName, pool, null); + } + + /// + public void AllocateMaximumPackageIPAddressesAsync(int packageId, string groupName, IPAddressPool pool, object userState) { + if ((this.AllocateMaximumPackageIPAddressesOperationCompleted == null)) { + this.AllocateMaximumPackageIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAllocateMaximumPackageIPAddressesOperationCompleted); + } + this.InvokeAsync("AllocateMaximumPackageIPAddresses", new object[] { + packageId, + groupName, + pool}, this.AllocateMaximumPackageIPAddressesOperationCompleted, userState); + } + + private void OnAllocateMaximumPackageIPAddressesOperationCompleted(object arg) { + if ((this.AllocateMaximumPackageIPAddressesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AllocateMaximumPackageIPAddressesCompleted(this, new AllocateMaximumPackageIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeallocatePackageIPAddresses", 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 DeallocatePackageIPAddresses(int packageId, int[] addressId) { + object[] results = this.Invoke("DeallocatePackageIPAddresses", new object[] { + packageId, + addressId}); + return ((ResultObject)(results[0])); + } + + /// + public System.IAsyncResult BeginDeallocatePackageIPAddresses(int packageId, int[] addressId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("DeallocatePackageIPAddresses", new object[] { + packageId, + addressId}, callback, asyncState); + } + + /// + public ResultObject EndDeallocatePackageIPAddresses(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ResultObject)(results[0])); + } + + /// + public void DeallocatePackageIPAddressesAsync(int packageId, int[] addressId) { + this.DeallocatePackageIPAddressesAsync(packageId, addressId, null); + } + + /// + public void DeallocatePackageIPAddressesAsync(int packageId, int[] addressId, object userState) { + if ((this.DeallocatePackageIPAddressesOperationCompleted == null)) { + this.DeallocatePackageIPAddressesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeallocatePackageIPAddressesOperationCompleted); + } + this.InvokeAsync("DeallocatePackageIPAddresses", new object[] { + packageId, + addressId}, this.DeallocatePackageIPAddressesOperationCompleted, userState); + } + + private void OnDeallocatePackageIPAddressesOperationCompleted(object arg) { + if ((this.DeallocatePackageIPAddressesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeallocatePackageIPAddressesCompleted(this, new DeallocatePackageIPAddressesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetClusters", 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 ClusterInfo[] GetClusters() { + object[] results = this.Invoke("GetClusters", new object[0]); + return ((ClusterInfo[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetClusters(System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetClusters", new object[0], callback, asyncState); + } + + /// + public ClusterInfo[] EndGetClusters(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((ClusterInfo[])(results[0])); + } + + /// + public void GetClustersAsync() { + this.GetClustersAsync(null); + } + + /// + public void GetClustersAsync(object userState) { + if ((this.GetClustersOperationCompleted == null)) { + this.GetClustersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetClustersOperationCompleted); + } + this.InvokeAsync("GetClusters", new object[0], this.GetClustersOperationCompleted, userState); + } + + private void OnGetClustersOperationCompleted(object arg) { + if ((this.GetClustersCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetClustersCompleted(this, new GetClustersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddCluster", 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 AddCluster(ClusterInfo cluster) { + object[] results = this.Invoke("AddCluster", new object[] { + cluster}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginAddCluster(ClusterInfo cluster, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("AddCluster", new object[] { + cluster}, callback, asyncState); + } + + /// + public int EndAddCluster(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void AddClusterAsync(ClusterInfo cluster) { + this.AddClusterAsync(cluster, null); + } + + /// + public void AddClusterAsync(ClusterInfo cluster, object userState) { + if ((this.AddClusterOperationCompleted == null)) { + this.AddClusterOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddClusterOperationCompleted); + } + this.InvokeAsync("AddCluster", new object[] { + cluster}, this.AddClusterOperationCompleted, userState); + } + + private void OnAddClusterOperationCompleted(object arg) { + if ((this.AddClusterCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddClusterCompleted(this, new AddClusterCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/DeleteCluster", 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 DeleteCluster(int clusterId) { + object[] results = this.Invoke("DeleteCluster", new object[] { + clusterId}); + return ((int)(results[0])); + } + + /// + public System.IAsyncResult BeginDeleteCluster(int clusterId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("DeleteCluster", new object[] { + clusterId}, callback, asyncState); + } + + /// + public int EndDeleteCluster(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((int)(results[0])); + } + + /// + public void DeleteClusterAsync(int clusterId) { + this.DeleteClusterAsync(clusterId, null); + } + + /// + public void DeleteClusterAsync(int clusterId, object userState) { + if ((this.DeleteClusterOperationCompleted == null)) { + this.DeleteClusterOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteClusterOperationCompleted); + } + this.InvokeAsync("DeleteCluster", new object[] { + clusterId}, this.DeleteClusterOperationCompleted, userState); + } + + private void OnDeleteClusterOperationCompleted(object arg) { + if ((this.DeleteClusterCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.DeleteClusterCompleted(this, new DeleteClusterCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawDnsRecordsByService", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawDnsRecordsByService(int serviceId) { + object[] results = this.Invoke("GetRawDnsRecordsByService", new object[] { + serviceId}); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetRawDnsRecordsByService(int serviceId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetRawDnsRecordsByService", new object[] { + serviceId}, callback, asyncState); + } + + /// + public System.Data.DataSet EndGetRawDnsRecordsByService(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetRawDnsRecordsByServiceAsync(int serviceId) { + this.GetRawDnsRecordsByServiceAsync(serviceId, null); + } + + /// + public void GetRawDnsRecordsByServiceAsync(int serviceId, object userState) { + if ((this.GetRawDnsRecordsByServiceOperationCompleted == null)) { + this.GetRawDnsRecordsByServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawDnsRecordsByServiceOperationCompleted); + } + this.InvokeAsync("GetRawDnsRecordsByService", new object[] { + serviceId}, this.GetRawDnsRecordsByServiceOperationCompleted, userState); + } + + private void OnGetRawDnsRecordsByServiceOperationCompleted(object arg) { + if ((this.GetRawDnsRecordsByServiceCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetRawDnsRecordsByServiceCompleted(this, new GetRawDnsRecordsByServiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawDnsRecordsByServer", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawDnsRecordsByServer(int serverId) { + object[] results = this.Invoke("GetRawDnsRecordsByServer", new object[] { + serverId}); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetRawDnsRecordsByServer(int serverId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetRawDnsRecordsByServer", new object[] { + serverId}, callback, asyncState); + } + + /// + public System.Data.DataSet EndGetRawDnsRecordsByServer(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetRawDnsRecordsByServerAsync(int serverId) { + this.GetRawDnsRecordsByServerAsync(serverId, null); + } + + /// + public void GetRawDnsRecordsByServerAsync(int serverId, object userState) { + if ((this.GetRawDnsRecordsByServerOperationCompleted == null)) { + this.GetRawDnsRecordsByServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawDnsRecordsByServerOperationCompleted); + } + this.InvokeAsync("GetRawDnsRecordsByServer", new object[] { + serverId}, this.GetRawDnsRecordsByServerOperationCompleted, userState); + } + + private void OnGetRawDnsRecordsByServerOperationCompleted(object arg) { + if ((this.GetRawDnsRecordsByServerCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetRawDnsRecordsByServerCompleted(this, new GetRawDnsRecordsByServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawDnsRecordsByPackage", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawDnsRecordsByPackage(int packageId) { + object[] results = this.Invoke("GetRawDnsRecordsByPackage", new object[] { + packageId}); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetRawDnsRecordsByPackage(int packageId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetRawDnsRecordsByPackage", new object[] { + packageId}, callback, asyncState); + } + + /// + public System.Data.DataSet EndGetRawDnsRecordsByPackage(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetRawDnsRecordsByPackageAsync(int packageId) { + this.GetRawDnsRecordsByPackageAsync(packageId, null); + } + + /// + public void GetRawDnsRecordsByPackageAsync(int packageId, object userState) { + if ((this.GetRawDnsRecordsByPackageOperationCompleted == null)) { + this.GetRawDnsRecordsByPackageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawDnsRecordsByPackageOperationCompleted); + } + this.InvokeAsync("GetRawDnsRecordsByPackage", new object[] { + packageId}, this.GetRawDnsRecordsByPackageOperationCompleted, userState); + } + + private void OnGetRawDnsRecordsByPackageOperationCompleted(object arg) { + if ((this.GetRawDnsRecordsByPackageCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetRawDnsRecordsByPackageCompleted(this, new GetRawDnsRecordsByPackageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRawDnsRecordsByGroup", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet GetRawDnsRecordsByGroup(int groupId) { + object[] results = this.Invoke("GetRawDnsRecordsByGroup", new object[] { + groupId}); + return ((System.Data.DataSet)(results[0])); + } + + /// + public System.IAsyncResult BeginGetRawDnsRecordsByGroup(int groupId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetRawDnsRecordsByGroup", new object[] { + groupId}, callback, asyncState); + } + + /// + public System.Data.DataSet EndGetRawDnsRecordsByGroup(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((System.Data.DataSet)(results[0])); + } + + /// + public void GetRawDnsRecordsByGroupAsync(int groupId) { + this.GetRawDnsRecordsByGroupAsync(groupId, null); + } + + /// + public void GetRawDnsRecordsByGroupAsync(int groupId, object userState) { + if ((this.GetRawDnsRecordsByGroupOperationCompleted == null)) { + this.GetRawDnsRecordsByGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRawDnsRecordsByGroupOperationCompleted); + } + this.InvokeAsync("GetRawDnsRecordsByGroup", new object[] { + groupId}, this.GetRawDnsRecordsByGroupOperationCompleted, userState); + } + + private void OnGetRawDnsRecordsByGroupOperationCompleted(object arg) { + if ((this.GetRawDnsRecordsByGroupCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetRawDnsRecordsByGroupCompleted(this, new GetRawDnsRecordsByGroupCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetDnsRecordsByService", 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 GlobalDnsRecord[] GetDnsRecordsByService(int serviceId) { + object[] results = this.Invoke("GetDnsRecordsByService", new object[] { + serviceId}); + return ((GlobalDnsRecord[])(results[0])); + } + + /// + public System.IAsyncResult BeginGetDnsRecordsByService(int serviceId, System.AsyncCallback callback, object asyncState) { + return this.BeginInvoke("GetDnsRecordsByService", new object[] { + serviceId}, callback, asyncState); + } + + /// + public GlobalDnsRecord[] EndGetDnsRecordsByService(System.IAsyncResult asyncResult) { + object[] results = this.EndInvoke(asyncResult); + return ((GlobalDnsRecord[])(results[0])); + } + + /// + public void GetDnsRecordsByServiceAsync(int serviceId) { + this.GetDnsRecordsByServiceAsync(serviceId, null); + } + + /// + public void GetDnsRecordsByServiceAsync(int serviceId, object userState) { + if ((this.GetDnsRecordsByServiceOperationCompleted == null)) { + this.GetDnsRecordsByServiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDnsRecordsByServiceOperationCompleted); + } + this.InvokeAsync("GetDnsRecordsByService", new object[] { + serviceId}, this.GetDnsRecordsByServiceOperationCompleted, userState); + } + + private void OnGetDnsRecordsByServiceOperationCompleted(object arg) { + if ((this.GetDnsRecordsByServiceCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetDnsRecordsByServiceCompleted(this, new GetDnsRecordsByServiceCompletedEventArgs(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.42")] + public delegate void GetDnsRecordsByServerCompletedEventHandler(object sender, GetDnsRecordsByServerCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDnsRecordsByServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDnsRecordsByServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GlobalDnsRecord[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GlobalDnsRecord[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetDnsRecordsByPackageCompletedEventHandler(object sender, GetDnsRecordsByPackageCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDnsRecordsByPackageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDnsRecordsByPackageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GlobalDnsRecord[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GlobalDnsRecord[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetDnsRecordsByGroupCompletedEventHandler(object sender, GetDnsRecordsByGroupCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDnsRecordsByGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDnsRecordsByGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GlobalDnsRecord[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GlobalDnsRecord[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetDnsRecordCompletedEventHandler(object sender, GetDnsRecordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDnsRecordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public GlobalDnsRecord Result { + get { + this.RaiseExceptionIfNecessary(); + return ((GlobalDnsRecord)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void AddDnsRecordCompletedEventHandler(object sender, AddDnsRecordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddDnsRecordCompletedEventArgs(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 UpdateDnsRecordCompletedEventHandler(object sender, UpdateDnsRecordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateDnsRecordCompletedEventArgs(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 DeleteDnsRecordCompletedEventHandler(object sender, DeleteDnsRecordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DeleteDnsRecordCompletedEventArgs(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 GetDomainsCompletedEventHandler(object sender, GetDomainsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDomainsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public DomainInfo[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((DomainInfo[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetDomainsByDomainIdCompletedEventHandler(object sender, GetDomainsByDomainIdCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDomainsByDomainIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDomainsByDomainIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public DomainInfo[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((DomainInfo[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetMyDomainsCompletedEventHandler(object sender, GetMyDomainsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetMyDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetMyDomainsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public DomainInfo[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((DomainInfo[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetResellerDomainsCompletedEventHandler(object sender, GetResellerDomainsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetResellerDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetResellerDomainsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public DomainInfo[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((DomainInfo[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetDomainsPagedCompletedEventHandler(object sender, GetDomainsPagedCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDomainsPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDomainsPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public System.Data.DataSet Result { + get { + this.RaiseExceptionIfNecessary(); + return ((System.Data.DataSet)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetDomainCompletedEventHandler(object sender, GetDomainCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDomainCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public DomainInfo Result { + get { + this.RaiseExceptionIfNecessary(); + return ((DomainInfo)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void AddDomainCompletedEventHandler(object sender, AddDomainCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddDomainCompletedEventArgs(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 AddDomainWithProvisioningCompletedEventHandler(object sender, AddDomainWithProvisioningCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddDomainWithProvisioningCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddDomainWithProvisioningCompletedEventArgs(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 UpdateDomainCompletedEventHandler(object sender, UpdateDomainCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateDomainCompletedEventArgs(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 DeleteDomainCompletedEventHandler(object sender, DeleteDomainCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DeleteDomainCompletedEventArgs(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 DetachDomainCompletedEventHandler(object sender, DetachDomainCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DetachDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DetachDomainCompletedEventArgs(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 EnableDomainDnsCompletedEventHandler(object sender, EnableDomainDnsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class EnableDomainDnsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal EnableDomainDnsCompletedEventArgs(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 DisableDomainDnsCompletedEventHandler(object sender, DisableDomainDnsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DisableDomainDnsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DisableDomainDnsCompletedEventArgs(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 CreateDomainInstantAliasCompletedEventHandler(object sender, CreateDomainInstantAliasCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CreateDomainInstantAliasCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CreateDomainInstantAliasCompletedEventArgs(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 DeleteDomainInstantAliasCompletedEventHandler(object sender, DeleteDomainInstantAliasCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteDomainInstantAliasCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DeleteDomainInstantAliasCompletedEventArgs(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 GetDnsZoneRecordsCompletedEventHandler(object sender, GetDnsZoneRecordsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetDnsZoneRecordsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetDnsZoneRecordsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public DnsRecord[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((DnsRecord[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetRawDnsZoneRecordsCompletedEventHandler(object sender, GetRawDnsZoneRecordsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetRawDnsZoneRecordsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetRawDnsZoneRecordsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public System.Data.DataSet Result { + get { + this.RaiseExceptionIfNecessary(); + return ((System.Data.DataSet)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void AddDnsZoneRecordCompletedEventHandler(object sender, AddDnsZoneRecordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddDnsZoneRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddDnsZoneRecordCompletedEventArgs(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 UpdateDnsZoneRecordCompletedEventHandler(object sender, UpdateDnsZoneRecordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateDnsZoneRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateDnsZoneRecordCompletedEventArgs(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 DeleteDnsZoneRecordCompletedEventHandler(object sender, DeleteDnsZoneRecordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DeleteDnsZoneRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal DeleteDnsZoneRecordCompletedEventArgs(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 GetTerminalServicesSessionsCompletedEventHandler(object sender, GetTerminalServicesSessionsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetTerminalServicesSessionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetTerminalServicesSessionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public TerminalSession[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((TerminalSession[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void CloseTerminalServicesSessionCompletedEventHandler(object sender, CloseTerminalServicesSessionCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CloseTerminalServicesSessionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CloseTerminalServicesSessionCompletedEventArgs(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 GetWindowsProcessesCompletedEventHandler(object sender, GetWindowsProcessesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWindowsProcessesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetWindowsProcessesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WindowsProcess[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WindowsProcess[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void TerminateWindowsProcessCompletedEventHandler(object sender, TerminateWindowsProcessCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TerminateWindowsProcessCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal TerminateWindowsProcessCompletedEventArgs(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 CheckLoadUserProfileCompletedEventHandler(object sender, CheckLoadUserProfileCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CheckLoadUserProfileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CheckLoadUserProfileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public bool Result { + get { + this.RaiseExceptionIfNecessary(); + return ((bool)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void EnableLoadUserProfileCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void InitWPIFeedsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWPITabsCompletedEventHandler(object sender, GetWPITabsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWPITabsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetWPITabsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WPITab[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WPITab[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWPIKeywordsCompletedEventHandler(object sender, GetWPIKeywordsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWPIKeywordsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetWPIKeywordsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WPIKeyword[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WPIKeyword[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWPIProductsCompletedEventHandler(object sender, GetWPIProductsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWPIProductsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetWPIProductsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WPIProduct[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WPIProduct[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWPIProductsFilteredCompletedEventHandler(object sender, GetWPIProductsFilteredCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWPIProductsFilteredCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetWPIProductsFilteredCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WPIProduct[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WPIProduct[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWPIProductByIdCompletedEventHandler(object sender, GetWPIProductByIdCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWPIProductByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetWPIProductByIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WPIProduct Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WPIProduct)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWPIProductsWithDependenciesCompletedEventHandler(object sender, GetWPIProductsWithDependenciesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWPIProductsWithDependenciesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetWPIProductsWithDependenciesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WPIProduct[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WPIProduct[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void InstallWPIProductsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void CancelInstallWPIProductsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWPIStatusCompletedEventHandler(object sender, GetWPIStatusCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWPIStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetWPIStatusCompletedEventArgs(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 WpiGetLogFileDirectoryCompletedEventHandler(object sender, WpiGetLogFileDirectoryCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class WpiGetLogFileDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal WpiGetLogFileDirectoryCompletedEventArgs(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 WpiGetLogsInDirectoryCompletedEventHandler(object sender, WpiGetLogsInDirectoryCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class WpiGetLogsInDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal WpiGetLogsInDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SettingPair[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SettingPair[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetWindowsServicesCompletedEventHandler(object sender, GetWindowsServicesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetWindowsServicesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetWindowsServicesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public WindowsService[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((WindowsService[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void ChangeWindowsServiceStatusCompletedEventHandler(object sender, ChangeWindowsServiceStatusCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ChangeWindowsServiceStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ChangeWindowsServiceStatusCompletedEventArgs(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 GetLogNamesCompletedEventHandler(object sender, GetLogNamesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetLogNamesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetLogNamesCompletedEventArgs(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 GetLogEntriesCompletedEventHandler(object sender, GetLogEntriesCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetLogEntriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetLogEntriesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SystemLogEntry[] Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SystemLogEntry[])(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void GetLogEntriesPagedCompletedEventHandler(object sender, GetLogEntriesPagedCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetLogEntriesPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetLogEntriesPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public SystemLogEntriesPaged Result { + get { + this.RaiseExceptionIfNecessary(); + return ((SystemLogEntriesPaged)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + public delegate void ClearLogCompletedEventHandler(object sender, ClearLogCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ClearLogCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ClearLogCompletedEventArgs(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 RebootSystemCompletedEventHandler(object sender, RebootSystemCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RebootSystemCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal RebootSystemCompletedEventArgs(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 GetAllServersCompletedEventHandler(object sender, GetAllServersCompletedEventArgs e); @@ -7380,1268 +8623,4 @@ namespace WebsitePanel.EnterpriseServer { } } } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetDnsRecordsByServerCompletedEventHandler(object sender, GetDnsRecordsByServerCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetDnsRecordsByServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetDnsRecordsByServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GlobalDnsRecord[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GlobalDnsRecord[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetDnsRecordsByPackageCompletedEventHandler(object sender, GetDnsRecordsByPackageCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetDnsRecordsByPackageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetDnsRecordsByPackageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GlobalDnsRecord[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GlobalDnsRecord[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetDnsRecordsByGroupCompletedEventHandler(object sender, GetDnsRecordsByGroupCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetDnsRecordsByGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetDnsRecordsByGroupCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GlobalDnsRecord[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GlobalDnsRecord[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetDnsRecordCompletedEventHandler(object sender, GetDnsRecordCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetDnsRecordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public GlobalDnsRecord Result { - get { - this.RaiseExceptionIfNecessary(); - return ((GlobalDnsRecord)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void AddDnsRecordCompletedEventHandler(object sender, AddDnsRecordCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class AddDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal AddDnsRecordCompletedEventArgs(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 UpdateDnsRecordCompletedEventHandler(object sender, UpdateDnsRecordCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateDnsRecordCompletedEventArgs(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 DeleteDnsRecordCompletedEventHandler(object sender, DeleteDnsRecordCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteDnsRecordCompletedEventArgs(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 GetDomainsCompletedEventHandler(object sender, GetDomainsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetDomainsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public DomainInfo[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((DomainInfo[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetDomainsByDomainIdCompletedEventHandler(object sender, GetDomainsByDomainIdCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetDomainsByDomainIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetDomainsByDomainIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public DomainInfo[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((DomainInfo[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetMyDomainsCompletedEventHandler(object sender, GetMyDomainsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetMyDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetMyDomainsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public DomainInfo[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((DomainInfo[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetResellerDomainsCompletedEventHandler(object sender, GetResellerDomainsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetResellerDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetResellerDomainsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public DomainInfo[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((DomainInfo[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetDomainsPagedCompletedEventHandler(object sender, GetDomainsPagedCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetDomainsPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetDomainsPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public System.Data.DataSet Result { - get { - this.RaiseExceptionIfNecessary(); - return ((System.Data.DataSet)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetDomainCompletedEventHandler(object sender, GetDomainCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetDomainCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public DomainInfo Result { - get { - this.RaiseExceptionIfNecessary(); - return ((DomainInfo)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void AddDomainCompletedEventHandler(object sender, AddDomainCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class AddDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal AddDomainCompletedEventArgs(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 AddDomainWithProvisioningCompletedEventHandler(object sender, AddDomainWithProvisioningCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class AddDomainWithProvisioningCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal AddDomainWithProvisioningCompletedEventArgs(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 UpdateDomainCompletedEventHandler(object sender, UpdateDomainCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateDomainCompletedEventArgs(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 DeleteDomainCompletedEventHandler(object sender, DeleteDomainCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteDomainCompletedEventArgs(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 DetachDomainCompletedEventHandler(object sender, DetachDomainCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DetachDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DetachDomainCompletedEventArgs(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 EnableDomainDnsCompletedEventHandler(object sender, EnableDomainDnsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class EnableDomainDnsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal EnableDomainDnsCompletedEventArgs(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 DisableDomainDnsCompletedEventHandler(object sender, DisableDomainDnsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DisableDomainDnsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DisableDomainDnsCompletedEventArgs(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 CreateDomainInstantAliasCompletedEventHandler(object sender, CreateDomainInstantAliasCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CreateDomainInstantAliasCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal CreateDomainInstantAliasCompletedEventArgs(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 DeleteDomainInstantAliasCompletedEventHandler(object sender, DeleteDomainInstantAliasCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteDomainInstantAliasCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteDomainInstantAliasCompletedEventArgs(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 GetDnsZoneRecordsCompletedEventHandler(object sender, GetDnsZoneRecordsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetDnsZoneRecordsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetDnsZoneRecordsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public DnsRecord[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((DnsRecord[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetRawDnsZoneRecordsCompletedEventHandler(object sender, GetRawDnsZoneRecordsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetRawDnsZoneRecordsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetRawDnsZoneRecordsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public System.Data.DataSet Result { - get { - this.RaiseExceptionIfNecessary(); - return ((System.Data.DataSet)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void AddDnsZoneRecordCompletedEventHandler(object sender, AddDnsZoneRecordCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class AddDnsZoneRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal AddDnsZoneRecordCompletedEventArgs(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 UpdateDnsZoneRecordCompletedEventHandler(object sender, UpdateDnsZoneRecordCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class UpdateDnsZoneRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal UpdateDnsZoneRecordCompletedEventArgs(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 DeleteDnsZoneRecordCompletedEventHandler(object sender, DeleteDnsZoneRecordCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class DeleteDnsZoneRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal DeleteDnsZoneRecordCompletedEventArgs(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 GetTerminalServicesSessionsCompletedEventHandler(object sender, GetTerminalServicesSessionsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetTerminalServicesSessionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetTerminalServicesSessionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public TerminalSession[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((TerminalSession[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void CloseTerminalServicesSessionCompletedEventHandler(object sender, CloseTerminalServicesSessionCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CloseTerminalServicesSessionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal CloseTerminalServicesSessionCompletedEventArgs(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 GetWindowsProcessesCompletedEventHandler(object sender, GetWindowsProcessesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWindowsProcessesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWindowsProcessesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WindowsProcess[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WindowsProcess[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void TerminateWindowsProcessCompletedEventHandler(object sender, TerminateWindowsProcessCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class TerminateWindowsProcessCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal TerminateWindowsProcessCompletedEventArgs(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 CheckLoadUserProfileCompletedEventHandler(object sender, CheckLoadUserProfileCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class CheckLoadUserProfileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal CheckLoadUserProfileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void EnableLoadUserProfileCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void InitWPIFeedsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWPITabsCompletedEventHandler(object sender, GetWPITabsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWPITabsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWPITabsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WPITab[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WPITab[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWPIKeywordsCompletedEventHandler(object sender, GetWPIKeywordsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWPIKeywordsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWPIKeywordsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WPIKeyword[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WPIKeyword[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWPIProductsCompletedEventHandler(object sender, GetWPIProductsCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWPIProductsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWPIProductsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WPIProduct[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WPIProduct[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWPIProductsFilteredCompletedEventHandler(object sender, GetWPIProductsFilteredCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWPIProductsFilteredCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWPIProductsFilteredCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WPIProduct[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WPIProduct[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWPIProductByIdCompletedEventHandler(object sender, GetWPIProductByIdCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWPIProductByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWPIProductByIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WPIProduct Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WPIProduct)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWPIProductsWithDependenciesCompletedEventHandler(object sender, GetWPIProductsWithDependenciesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWPIProductsWithDependenciesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWPIProductsWithDependenciesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WPIProduct[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WPIProduct[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void InstallWPIProductsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void CancelInstallWPIProductsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWPIStatusCompletedEventHandler(object sender, GetWPIStatusCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWPIStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWPIStatusCompletedEventArgs(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 WpiGetLogFileDirectoryCompletedEventHandler(object sender, WpiGetLogFileDirectoryCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class WpiGetLogFileDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal WpiGetLogFileDirectoryCompletedEventArgs(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 WpiGetLogsInDirectoryCompletedEventHandler(object sender, WpiGetLogsInDirectoryCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class WpiGetLogsInDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal WpiGetLogsInDirectoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public SettingPair[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((SettingPair[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetWindowsServicesCompletedEventHandler(object sender, GetWindowsServicesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetWindowsServicesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetWindowsServicesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public WindowsService[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((WindowsService[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void ChangeWindowsServiceStatusCompletedEventHandler(object sender, ChangeWindowsServiceStatusCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ChangeWindowsServiceStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal ChangeWindowsServiceStatusCompletedEventArgs(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 GetLogNamesCompletedEventHandler(object sender, GetLogNamesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetLogNamesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetLogNamesCompletedEventArgs(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 GetLogEntriesCompletedEventHandler(object sender, GetLogEntriesCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetLogEntriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetLogEntriesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public SystemLogEntry[] Result { - get { - this.RaiseExceptionIfNecessary(); - return ((SystemLogEntry[])(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void GetLogEntriesPagedCompletedEventHandler(object sender, GetLogEntriesPagedCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class GetLogEntriesPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal GetLogEntriesPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public SystemLogEntriesPaged Result { - get { - this.RaiseExceptionIfNecessary(); - return ((SystemLogEntriesPaged)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - public delegate void ClearLogCompletedEventHandler(object sender, ClearLogCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ClearLogCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal ClearLogCompletedEventArgs(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 RebootSystemCompletedEventHandler(object sender, RebootSystemCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class RebootSystemCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal RebootSystemCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public int Result { - get { - this.RaiseExceptionIfNecessary(); - return ((int)(this.results[0])); - } - } - } } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Data/DataProvider.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Data/DataProvider.cs index 643e0827..588feb97 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Data/DataProvider.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Data/DataProvider.cs @@ -3205,23 +3205,25 @@ namespace WebsitePanel.EnterpriseServer } - public static void AllocatePackageIPAddresses(int packageId, string xml) + public static void AllocatePackageIPAddresses(int packageId, int orgId, string xml) { SqlParameter[] param = new[] { new SqlParameter("@PackageID", packageId), + new SqlParameter("@OrgID", orgId), new SqlParameter("@xml", xml) }; ExecuteLongNonQuery("AllocatePackageIPAddresses", param); } - public static IDataReader GetPackageIPAddresses(int packageId, int poolId, string filterColumn, string filterValue, + public static IDataReader GetPackageIPAddresses(int packageId, int orgId, int poolId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive) { IDataReader reader = SqlHelper.ExecuteReader(ConnectionString, CommandType.StoredProcedure, "GetPackageIPAddresses", new SqlParameter("@PackageID", packageId), + new SqlParameter("@OrgID", orgId), new SqlParameter("@PoolId", poolId), new SqlParameter("@FilterColumn", VerifyColumnName(filterColumn)), new SqlParameter("@FilterValue", VerifyColumnValue(filterValue)), @@ -3266,12 +3268,13 @@ namespace WebsitePanel.EnterpriseServer #endregion #region VPS - External Network Adapter - public static IDataReader GetPackageUnassignedIPAddresses(int actorId, int packageId, int poolId) + public static IDataReader GetPackageUnassignedIPAddresses(int actorId, int packageId, int orgId, int poolId) { return SqlHelper.ExecuteReader(ConnectionString, CommandType.StoredProcedure, "GetPackageUnassignedIPAddresses", new SqlParameter("@ActorID", actorId), new SqlParameter("@PackageID", packageId), + new SqlParameter("@OrgID", orgId), new SqlParameter("@PoolId", poolId)); } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Servers/ServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Servers/ServerController.cs index 50d3a2ae..9588bd3d 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Servers/ServerController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Servers/ServerController.cs @@ -1161,13 +1161,13 @@ namespace WebsitePanel.EnterpriseServer #endregion #region Package IP Addresses - public static PackageIPAddressesPaged GetPackageIPAddresses(int packageId, IPAddressPool pool, + public static PackageIPAddressesPaged GetPackageIPAddresses(int packageId, int orgId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive) { PackageIPAddressesPaged result = new PackageIPAddressesPaged(); // get reader - IDataReader reader = DataProvider.GetPackageIPAddresses(packageId, (int)pool, filterColumn, filterValue, sortColumn, startRow, maximumRows, recursive); + IDataReader reader = DataProvider.GetPackageIPAddresses(packageId, orgId, (int)pool, filterColumn, filterValue, sortColumn, startRow, maximumRows, recursive); // number of items = first data reader reader.Read(); @@ -1190,10 +1190,15 @@ namespace WebsitePanel.EnterpriseServer DataProvider.GetUnallottedIPAddresses(packageId, serviceId, (int)pool)); } - public static List GetPackageUnassignedIPAddresses(int packageId, IPAddressPool pool) + public static List GetPackageUnassignedIPAddresses(int packageId, int orgId, IPAddressPool pool) { return ObjectUtils.CreateListFromDataReader( - DataProvider.GetPackageUnassignedIPAddresses(SecurityContext.User.UserId, packageId, (int)pool)); + DataProvider.GetPackageUnassignedIPAddresses(SecurityContext.User.UserId, packageId, orgId, (int)pool)); + } + + public static List GetPackageUnassignedIPAddresses(int packageId, IPAddressPool pool) + { + return GetPackageUnassignedIPAddresses(packageId, 0, pool); } public static void AllocatePackageIPAddresses(int packageId, int[] addressId) @@ -1202,10 +1207,10 @@ namespace WebsitePanel.EnterpriseServer string xml = PrepareIPsXML(addressId); // save to database - DataProvider.AllocatePackageIPAddresses(packageId, xml); + DataProvider.AllocatePackageIPAddresses(packageId, 0, xml); } - public static ResultObject AllocatePackageIPAddresses(int packageId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId) + public static ResultObject AllocatePackageIPAddresses(int packageId, int orgId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId) { #region Check account and space statuses // create result object @@ -1282,7 +1287,7 @@ namespace WebsitePanel.EnterpriseServer // save to database try { - DataProvider.AllocatePackageIPAddresses(packageId, xml); + DataProvider.AllocatePackageIPAddresses(packageId, orgId, xml); } catch (Exception ex) { @@ -1329,7 +1334,7 @@ namespace WebsitePanel.EnterpriseServer } // allocate - return AllocatePackageIPAddresses(packageId, groupName, pool, + return AllocatePackageIPAddresses(packageId, 0, groupName, pool, true, number, new int[0]); } diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esServers.asmx.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esServers.asmx.cs index 13e9059f..bde7c636 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esServers.asmx.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esServers.asmx.cs @@ -386,24 +386,24 @@ namespace WebsitePanel.EnterpriseServer } [WebMethod] - public PackageIPAddressesPaged GetPackageIPAddresses(int packageId, IPAddressPool pool, + public PackageIPAddressesPaged GetPackageIPAddresses(int packageId, int orgId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, bool recursive) { - return ServerController.GetPackageIPAddresses(packageId, pool, + return ServerController.GetPackageIPAddresses(packageId, orgId, pool, filterColumn, filterValue, sortColumn, startRow, maximumRows, recursive); } [WebMethod] - public List GetPackageUnassignedIPAddresses(int packageId, IPAddressPool pool) + public List GetPackageUnassignedIPAddresses(int packageId, int orgId, IPAddressPool pool) { - return ServerController.GetPackageUnassignedIPAddresses(packageId, pool); + return ServerController.GetPackageUnassignedIPAddresses(packageId, orgId, pool); } [WebMethod] - public ResultObject AllocatePackageIPAddresses(int packageId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, + public ResultObject AllocatePackageIPAddresses(int packageId,int orgId, string groupName, IPAddressPool pool, bool allocateRandom, int addressesNumber, int[] addressId) { - return ServerController.AllocatePackageIPAddresses(packageId, groupName, pool, allocateRandom, + return ServerController.AllocatePackageIPAddresses(packageId, orgId, groupName, pool, allocateRandom, addressesNumber, addressId); } diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/VirtualMachinesForPCHelper.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/VirtualMachinesForPCHelper.cs index 4a112b07..4865bc51 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/VirtualMachinesForPCHelper.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/VirtualMachinesForPCHelper.cs @@ -108,7 +108,7 @@ namespace WebsitePanel.Portal public PackageIPAddress[] GetPackageIPAddresses(int packageId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int maximumRows, int startRowIndex) { - packageAddresses = ES.Services.Servers.GetPackageIPAddresses(packageId, pool, + packageAddresses = ES.Services.Servers.GetPackageIPAddresses(packageId, 0, pool, filterColumn, filterValue, sortColumn, startRowIndex, maximumRows, true); return packageAddresses.Items; } diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/VirtualMachinesHelper.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/VirtualMachinesHelper.cs index fd36cf23..61b45d66 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/VirtualMachinesHelper.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/VirtualMachinesHelper.cs @@ -130,7 +130,7 @@ namespace WebsitePanel.Portal public PackageIPAddress[] GetPackageIPAddresses(int packageId, IPAddressPool pool, string filterColumn, string filterValue, string sortColumn, int maximumRows, int startRowIndex) { - packageAddresses = ES.Services.Servers.GetPackageIPAddresses(packageId, pool, + packageAddresses = ES.Services.Servers.GetPackageIPAddresses(packageId, 0, pool, filterColumn, filterValue, sortColumn, startRowIndex, maximumRows, true); return packageAddresses.Items; } @@ -139,6 +139,19 @@ namespace WebsitePanel.Portal { return packageAddresses.Count; } + + public PackageIPAddress[] GetPackageIPAddresses(int packageId, int orgId, IPAddressPool pool, string filterColumn, string filterValue, + string sortColumn, int maximumRows, int startRowIndex) + { + packageAddresses = ES.Services.Servers.GetPackageIPAddresses(packageId, orgId, pool, + filterColumn, filterValue, sortColumn, startRowIndex, maximumRows, true); + return packageAddresses.Items; + } + + public int GetPackageIPAddressesCount(int packageId, int orgId, IPAddressPool pool, string filterColumn, string filterValue) + { + return packageAddresses.Count; + } #endregion #region Package Private IP Addresses diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncAllocatePhoneNumbers.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncAllocatePhoneNumbers.ascx index aaaae6ef..edb32c3f 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncAllocatePhoneNumbers.ascx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncAllocatePhoneNumbers.ascx @@ -32,7 +32,7 @@ + ListAddressesControl="lync_phonenumbers" /> diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncCreateUser.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncCreateUser.ascx.cs index d10176a3..0f7d6c9c 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncCreateUser.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncCreateUser.ascx.cs @@ -57,7 +57,7 @@ namespace WebsitePanel.Portal.Lync private void BindPhoneNumbers() { - PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, IPAddressPool.PhoneNumbers); + PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, PanelRequest.ItemID, IPAddressPool.PhoneNumbers); if (ips.Length > 0) { diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncEditUser.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncEditUser.ascx.cs index 92dd4949..35caed3c 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncEditUser.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncEditUser.ascx.cs @@ -52,7 +52,7 @@ namespace WebsitePanel.Portal.Lync private void BindPhoneNumbers() { - PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, IPAddressPool.PhoneNumbers); + PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, PanelRequest.ItemID, IPAddressPool.PhoneNumbers); if (ips.Length > 0) { diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncPhoneNumbers.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncPhoneNumbers.ascx index ec022232..994c39c6 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncPhoneNumbers.ascx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncPhoneNumbers.ascx @@ -27,7 +27,7 @@
- - + diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncPhoneNumbers.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncPhoneNumbers.ascx.designer.cs index 8c5c1d41..fdf8a4b8 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncPhoneNumbers.ascx.designer.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/LyncPhoneNumbers.ascx.designer.cs @@ -56,5 +56,50 @@ namespace WebsitePanel.Portal.Lync { /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. /// protected global::System.Web.UI.WebControls.Localize locTitle; + + /// + /// phoneNumbers элемент управления. + /// + /// + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. + /// + protected global::WebsitePanel.Portal.UserControls.PackagePhoneNumbers phoneNumbers; + + /// + /// secQuotas элемент управления. + /// + /// + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. + /// + protected global::WebsitePanel.Portal.CollapsiblePanel secQuotas; + + /// + /// QuotasPanel элемент управления. + /// + /// + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. + /// + protected global::System.Web.UI.WebControls.Panel QuotasPanel; + + /// + /// locIPQuota элемент управления. + /// + /// + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. + /// + protected global::System.Web.UI.WebControls.Localize locIPQuota; + + /// + /// phoneQuota элемент управления. + /// + /// + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. + /// + protected global::WebsitePanel.Portal.Quota phoneQuota; } } diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/UserControls/AllocatePackagePhoneNumbers.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/UserControls/AllocatePackagePhoneNumbers.ascx.cs index d08c8828..6240c896 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/UserControls/AllocatePackagePhoneNumbers.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Lync/UserControls/AllocatePackagePhoneNumbers.ascx.cs @@ -36,7 +36,7 @@ using WebsitePanel.Providers.Common; namespace WebsitePanel.Portal.UserControls { - public partial class AllocatePackagePhoneNumbers : WebsitePanelControlBase + public partial class AllocatePackagePhoneNumbers : WebsitePanelModuleBase { private IPAddressPool pool; public IPAddressPool Pool @@ -129,6 +129,7 @@ namespace WebsitePanel.Portal.UserControls } ResultObject res = ES.Services.Servers.AllocatePackageIPAddresses(PanelSecurity.PackageId, + PanelRequest.ItemID, ResourceGroup, Pool, radioExternalRandom.Checked, Utils.ParseInt(txtExternalAddressesNumber.Text), @@ -136,7 +137,8 @@ namespace WebsitePanel.Portal.UserControls if (res.IsSuccess) { // return back - Response.Redirect(HostModule.EditUrl("SpaceID", PanelSecurity.PackageId.ToString(), ListAddressesControl)); + Response.Redirect(HostModule.EditUrl("ItemID", PanelRequest.ItemID.ToString(), ListAddressesControl, + PortalUtils.SPACE_ID_PARAM + "=" + PanelSecurity.PackageId)); } else { diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/AllocatePackageIPAddresses.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/AllocatePackageIPAddresses.ascx.cs index f1507791..2c39fc07 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/AllocatePackageIPAddresses.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/AllocatePackageIPAddresses.ascx.cs @@ -129,6 +129,7 @@ namespace WebsitePanel.Portal.UserControls } ResultObject res = ES.Services.Servers.AllocatePackageIPAddresses(PanelSecurity.PackageId, + 0, ResourceGroup, Pool, radioExternalRandom.Checked, Utils.ParseInt(txtExternalAddressesNumber.Text), diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx index 6fb848de..698acac8 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx @@ -73,7 +73,8 @@ OnSelected="odsExternalAddressesPaged_Selected" onselecting="odsExternalAddressesPaged_Selecting"> - + + diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx.cs index e907fb61..0e3a6ccb 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx.cs @@ -118,7 +118,8 @@ namespace WebsitePanel.Portal.UserControls protected void btnAllocateAddress_Click(object sender, EventArgs e) { - Response.Redirect(HostModule.EditUrl("SpaceID", PanelSecurity.PackageId.ToString(), AllocateAddressesControl)); + Response.Redirect(HostModule.EditUrl("ItemID", PanelRequest.ItemID.ToString(), AllocateAddressesControl, + PortalUtils.SPACE_ID_PARAM + "=" + PanelSecurity.PackageId)); } protected void gvAddresses_RowDataBound(object sender, GridViewRowEventArgs e) diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx.designer.cs index 7239db9f..a4d1ed6f 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx.designer.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/PackagePhoneNumbers.ascx.designer.cs @@ -1,39 +1,10 @@ -// Copyright (c) 2011, 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.3074 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// //------------------------------------------------------------------------------ namespace WebsitePanel.Portal.UserControls { @@ -42,62 +13,56 @@ namespace WebsitePanel.Portal.UserControls { public partial class PackagePhoneNumbers { /// - /// messageBox control. + /// messageBox элемент управления. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. /// protected global::WebsitePanel.Portal.UserControls.SimpleMessageBox messageBox; /// - /// btnAllocateAddress control. + /// btnAllocateAddress элемент управления. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. /// protected global::System.Web.UI.WebControls.Button btnAllocateAddress; /// - /// searchBox control. + /// searchBox элемент управления. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. /// protected global::WebsitePanel.Portal.SearchBox searchBox; /// - /// gvAddresses control. + /// gvAddresses элемент управления. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. /// protected global::System.Web.UI.WebControls.GridView gvAddresses; /// - /// odsExternalAddressesPaged control. + /// odsExternalAddressesPaged элемент управления. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. /// protected global::System.Web.UI.WebControls.ObjectDataSource odsExternalAddressesPaged; /// - /// btnDeallocateAddresses control. + /// btnDeallocateAddresses элемент управления. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - + /// Автоматически создаваемое поле. + /// Для изменения переместите объявление поля из файла конструктора в файл кода программной части. /// protected global::System.Web.UI.WebControls.Button btnDeallocateAddresses; } diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPS/VdcCreateServer.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPS/VdcCreateServer.ascx.cs index a39b27d8..ea3ce3eb 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPS/VdcCreateServer.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPS/VdcCreateServer.ascx.cs @@ -117,7 +117,7 @@ namespace WebsitePanel.Portal.VPS if (PackagesHelper.IsQuotaEnabled(PanelSecurity.PackageId, Quotas.VPS_EXTERNAL_NETWORK_ENABLED)) { // bind list - PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, IPAddressPool.VpsExternalNetwork); + PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, 0, IPAddressPool.VpsExternalNetwork); foreach (PackageIPAddress ip in ips) { string txt = ip.ExternalIP; diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPS/VpsDetailsAddExternalAddress.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPS/VpsDetailsAddExternalAddress.ascx.cs index d2c5cd2a..75517596 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPS/VpsDetailsAddExternalAddress.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPS/VpsDetailsAddExternalAddress.ascx.cs @@ -51,7 +51,7 @@ namespace WebsitePanel.Portal.VPS private void BindExternalIPAddresses() { - PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, IPAddressPool.VpsExternalNetwork); + PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, 0, IPAddressPool.VpsExternalNetwork); foreach (PackageIPAddress ip in ips) { string txt = ip.ExternalIP; diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPSForPC/VpsDetailsAddExternalAddress.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPSForPC/VpsDetailsAddExternalAddress.ascx.cs index 746c8f65..a6431e0d 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPSForPC/VpsDetailsAddExternalAddress.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/VPSForPC/VpsDetailsAddExternalAddress.ascx.cs @@ -51,7 +51,7 @@ namespace WebsitePanel.Portal.VPSForPC private void BindExternalIPAddresses() { - PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, IPAddressPool.VpsExternalNetwork); + PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, 0, IPAddressPool.VpsExternalNetwork); foreach (PackageIPAddress ip in ips) { string txt = ip.ExternalIP; diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebSitesAddSite.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebSitesAddSite.ascx.cs index 27f2224c..c9a761a0 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebSitesAddSite.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebSitesAddSite.ascx.cs @@ -92,7 +92,7 @@ namespace WebsitePanel.Portal { ddlIpAddresses.Items.Add(new ListItem("