+If you have any questions regarding your hosting account, feel free to contact our support department at any time.
+
')
+END
+GO
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'DomainLookupLetter' AND [PropertyName]= N'Priority' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'DomainLookupLetter', N'Priority', N'Normal')
+END
+GO
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'DomainLookupLetter' AND [PropertyName]= N'Subject' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'DomainLookupLetter', N'Subject', N'MX and NS changes notification')
+END
+GO
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'DomainLookupLetter' AND [PropertyName]= N'TextBody' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'DomainLookupLetter', N'TextBody', N'=================================
+ MX and NS Changes Information
+=================================
+
+
+
+
+If you have any questions regarding your hosting account, feel free to contact our support department at any time.
+
+Best regards
+')
+END
+GO
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'DomainLookupLetter' AND [PropertyName]= N'NoChangesHtmlBody' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'DomainLookupLetter', N'NoChangesHtmlBody', N'
+
+
+
+
+
+
+
+
+Hello #user.FirstName#,
+
+
+
+
+No MX and NS changes have been found.
+
+
+
+If you have any questions regarding your hosting account, feel free to contact our support department at any time.
+
+
+
+Best regards
+
')
+END
+GO
+IF NOT EXISTS (SELECT * FROM [dbo].[UserSettings] WHERE [UserID] = 1 AND [SettingsName]= N'DomainLookupLetter' AND [PropertyName]= N'NoChangesTextBody' )
+BEGIN
+INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'DomainLookupLetter', N'NoChangesTextBody', N'=================================
+ MX and NS Changes Information
+=================================
+
+Hello #user.FirstName#,
+
+
+No MX and NS changes have been founded.
+
+If you have any questions regarding your hosting account, feel free to contact our support department at any time.
+
+Best regards
+')
+END
+GO
+
+
+-- Procedures for Domain lookup service
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'GetAllPackages')
+DROP PROCEDURE GetAllPackages
+GO
+CREATE PROCEDURE [dbo].[GetAllPackages]
+AS
+SELECT
+ [PackageID]
+ ,[ParentPackageID]
+ ,[UserID]
+ ,[PackageName]
+ ,[PackageComments]
+ ,[ServerID]
+ ,[StatusID]
+ ,[PlanID]
+ ,[PurchaseDate]
+ ,[OverrideQuotas]
+ ,[BandwidthUpdated]
+ FROM [dbo].[Packages]
+GO
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'GetScheduleTaskEmailTemplate')
+DROP PROCEDURE GetScheduleTaskEmailTemplate
+GO
+CREATE PROCEDURE [dbo].GetScheduleTaskEmailTemplate
+(
+ @TaskID [nvarchar](100)
+)
+AS
+SELECT
+ [TaskID],
+ [From] ,
+ [Subject] ,
+ [Template]
+ FROM [dbo].[ScheduleTasksEmailTemplates] where [TaskID] = @TaskID
+GO
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'GetDomainDnsRecords')
+DROP PROCEDURE GetDomainDnsRecords
+GO
+CREATE PROCEDURE [dbo].GetDomainDnsRecords
+(
+ @DomainId INT,
+ @RecordType INT
+)
+AS
+SELECT
+ ID,
+ DomainId,
+ DnsServer,
+ RecordType,
+ Value,
+ Date
+ FROM [dbo].[DomainDnsRecords]
+ WHERE [DomainId] = @DomainId AND [RecordType] = @RecordType
+GO
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'GetDomainAllDnsRecords')
+DROP PROCEDURE GetDomainAllDnsRecords
+GO
+CREATE PROCEDURE [dbo].GetDomainAllDnsRecords
+(
+ @DomainId INT
+)
+AS
+SELECT
+ ID,
+ DomainId,
+ DnsServer,
+ RecordType,
+ Value,
+ Date
+ FROM [dbo].[DomainDnsRecords]
+ WHERE [DomainId] = @DomainId
+GO
+
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'AddDomainDnsRecord')
+DROP PROCEDURE AddDomainDnsRecord
+GO
+CREATE PROCEDURE [dbo].[AddDomainDnsRecord]
+(
+ @DomainId INT,
+ @RecordType INT,
+ @DnsServer NVARCHAR(255),
+ @Value NVARCHAR(255),
+ @Date DATETIME
+)
+AS
+
+INSERT INTO DomainDnsRecords
+(
+ DomainId,
+ DnsServer,
+ RecordType,
+ Value,
+ Date
+)
+VALUES
+(
+ @DomainId,
+ @DnsServer,
+ @RecordType,
+ @Value,
+ @Date
+)
+GO
+
+
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'DeleteDomainDnsRecord')
+DROP PROCEDURE DeleteDomainDnsRecord
+GO
+CREATE PROCEDURE [dbo].[DeleteDomainDnsRecord]
+(
+ @Id INT
+)
+AS
+DELETE FROM DomainDnsRecords
+WHERE Id = @Id
+GO
+
+--Domain Expiration Stored Procedures
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'UpdateDomainCreationDate')
+DROP PROCEDURE UpdateDomainCreationDate
+GO
+CREATE PROCEDURE [dbo].UpdateDomainCreationDate
+(
+ @DomainId INT,
+ @Date DateTime
+)
+AS
+UPDATE [dbo].[Domains] SET [CreationDate] = @Date WHERE [DomainID] = @DomainId
+GO
+
+
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'UpdateDomainExpirationDate')
+DROP PROCEDURE UpdateDomainExpirationDate
+GO
+CREATE PROCEDURE [dbo].UpdateDomainExpirationDate
+(
+ @DomainId INT,
+ @Date DateTime
+)
+AS
+UPDATE [dbo].[Domains] SET [ExpirationDate] = @Date WHERE [DomainID] = @DomainId
+GO
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'UpdateDomainLastUpdateDate')
+DROP PROCEDURE UpdateDomainLastUpdateDate
+GO
+CREATE PROCEDURE [dbo].UpdateDomainLastUpdateDate
+(
+ @DomainId INT,
+ @Date DateTime
+)
+AS
+UPDATE [dbo].[Domains] SET [LastUpdateDate] = @Date WHERE [DomainID] = @DomainId
+GO
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'UpdateDomainDates')
+DROP PROCEDURE UpdateDomainDates
+GO
+CREATE PROCEDURE [dbo].UpdateDomainDates
+(
+ @DomainId INT,
+ @DomainCreationDate DateTime,
+ @DomainExpirationDate DateTime,
+ @DomainLastUpdateDate DateTime
+)
+AS
+UPDATE [dbo].[Domains] SET [CreationDate] = @DomainCreationDate, [ExpirationDate] = @DomainExpirationDate, [LastUpdateDate] = @DomainLastUpdateDate WHERE [DomainID] = @DomainId
+GO
+
+
+--Updating Domain procedures
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'GetDomains')
+DROP PROCEDURE GetDomains
+GO
+CREATE PROCEDURE [dbo].[GetDomains]
+(
+ @ActorID int,
+ @PackageID int,
+ @Recursive bit = 1
+)
+AS
+
+-- check rights
+IF dbo.CheckActorPackageRights(@ActorID, @PackageID) = 0
+RAISERROR('You are not allowed to access this package', 16, 1)
+
+SELECT
+ D.DomainID,
+ D.PackageID,
+ D.ZoneItemID,
+ D.DomainItemID,
+ D.DomainName,
+ D.HostingAllowed,
+ ISNULL(WS.ItemID, 0) AS WebSiteID,
+ WS.ItemName AS WebSiteName,
+ ISNULL(MD.ItemID, 0) AS MailDomainID,
+ MD.ItemName AS MailDomainName,
+ Z.ItemName AS ZoneName,
+ D.IsSubDomain,
+ D.IsInstantAlias,
+ D.CreationDate,
+ D.ExpirationDate,
+ D.LastUpdateDate,
+ D.IsDomainPointer
+FROM Domains AS D
+INNER JOIN PackagesTree(@PackageID, @Recursive) AS PT ON D.PackageID = PT.PackageID
+LEFT OUTER JOIN ServiceItems AS WS ON D.WebSiteID = WS.ItemID
+LEFT OUTER JOIN ServiceItems AS MD ON D.MailDomainID = MD.ItemID
+LEFT OUTER JOIN ServiceItems AS Z ON D.ZoneItemID = Z.ItemID
+RETURN
+
+GO
+
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'GetDomainsPaged')
+DROP PROCEDURE GetDomainsPaged
+GO
+CREATE PROCEDURE [dbo].[GetDomainsPaged]
+(
+ @ActorID int,
+ @PackageID int,
+ @ServerID int,
+ @Recursive bit,
+ @FilterColumn nvarchar(50) = '',
+ @FilterValue nvarchar(50) = '',
+ @SortColumn nvarchar(50),
+ @StartRow int,
+ @MaximumRows int
+)
+AS
+SET NOCOUNT ON
+
+-- check rights
+IF dbo.CheckActorPackageRights(@ActorID, @PackageID) = 0
+RAISERROR('You are not allowed to access this package', 16, 1)
+
+-- build query and run it to the temporary table
+DECLARE @sql nvarchar(2000)
+
+IF @SortColumn = '' OR @SortColumn IS NULL
+SET @SortColumn = 'DomainName'
+
+SET @sql = '
+DECLARE @Domains TABLE
+(
+ ItemPosition int IDENTITY(1,1),
+ DomainID int
+)
+INSERT INTO @Domains (DomainID)
+SELECT
+ D.DomainID
+FROM Domains AS D
+INNER JOIN Packages AS P ON D.PackageID = P.PackageID
+INNER JOIN UsersDetailed AS U ON P.UserID = U.UserID
+LEFT OUTER JOIN ServiceItems AS Z ON D.ZoneItemID = Z.ItemID
+LEFT OUTER JOIN Services AS S ON Z.ServiceID = S.ServiceID
+LEFT OUTER JOIN Servers AS SRV ON S.ServerID = SRV.ServerID
+WHERE (D.IsInstantAlias = 0 AND D.IsDomainPointer = 0) AND
+ ((@Recursive = 0 AND D.PackageID = @PackageID)
+ OR (@Recursive = 1 AND dbo.CheckPackageParent(@PackageID, D.PackageID) = 1))
+AND (@ServerID = 0 OR (@ServerID > 0 AND S.ServerID = @ServerID))
+'
+
+IF @FilterColumn <> '' AND @FilterValue <> ''
+SET @sql = @sql + ' AND ' + @FilterColumn + ' LIKE @FilterValue '
+
+IF @SortColumn <> '' AND @SortColumn IS NOT NULL
+SET @sql = @sql + ' ORDER BY ' + @SortColumn + ' '
+
+SET @sql = @sql + ' SELECT COUNT(DomainID) FROM @Domains;SELECT
+ D.DomainID,
+ D.PackageID,
+ D.ZoneItemID,
+ D.DomainItemID,
+ D.DomainName,
+ D.HostingAllowed,
+ ISNULL(WS.ItemID, 0) AS WebSiteID,
+ WS.ItemName AS WebSiteName,
+ ISNULL(MD.ItemID, 0) AS MailDomainID,
+ MD.ItemName AS MailDomainName,
+ D.IsSubDomain,
+ D.IsInstantAlias,
+ D.IsDomainPointer,
+ D.ExpirationDate,
+ D.LastUpdateDate,
+ P.PackageName,
+ ISNULL(SRV.ServerID, 0) AS ServerID,
+ ISNULL(SRV.ServerName, '''') AS ServerName,
+ ISNULL(SRV.Comments, '''') AS ServerComments,
+ ISNULL(SRV.VirtualServer, 0) AS VirtualServer,
+ P.UserID,
+ U.Username,
+ U.FirstName,
+ U.LastName,
+ U.FullName,
+ U.RoleID,
+ U.Email
+FROM @Domains AS SD
+INNER JOIN Domains AS D ON SD.DomainID = D.DomainID
+INNER JOIN Packages AS P ON D.PackageID = P.PackageID
+INNER JOIN UsersDetailed AS U ON P.UserID = U.UserID
+LEFT OUTER JOIN ServiceItems AS WS ON D.WebSiteID = WS.ItemID
+LEFT OUTER JOIN ServiceItems AS MD ON D.MailDomainID = MD.ItemID
+LEFT OUTER JOIN ServiceItems AS Z ON D.ZoneItemID = Z.ItemID
+LEFT OUTER JOIN Services AS S ON Z.ServiceID = S.ServiceID
+LEFT OUTER JOIN Servers AS SRV ON S.ServerID = SRV.ServerID
+WHERE SD.ItemPosition BETWEEN @StartRow + 1 AND @StartRow + @MaximumRows'
+
+exec sp_executesql @sql, N'@StartRow int, @MaximumRows int, @PackageID int, @FilterValue nvarchar(50), @ServerID int, @Recursive bit',
+@StartRow, @MaximumRows, @PackageID, @FilterValue, @ServerID, @Recursive
+
+
+RETURN
+GO
+
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'GetRDSServersPaged')
+DROP PROCEDURE GetRDSServersPaged
+GO
+CREATE PROCEDURE [dbo].[GetRDSServersPaged]
+(
+ @FilterColumn nvarchar(50) = '',
+ @FilterValue nvarchar(50) = '',
+ @ItemID int,
+ @IgnoreItemId bit,
+ @RdsCollectionId int,
+ @IgnoreRdsCollectionId bit,
+ @SortColumn nvarchar(50),
+ @StartRow int,
+ @MaximumRows int
+)
+AS
+-- build query and run it to the temporary table
+DECLARE @sql nvarchar(2000)
+
+SET @sql = '
+
+DECLARE @EndRow int
+SET @EndRow = @StartRow + @MaximumRows
+
+DECLARE @RDSServer TABLE
+(
+ ItemPosition int IDENTITY(0,1),
+ RDSServerId int
+)
+INSERT INTO @RDSServer (RDSServerId)
+SELECT
+ S.ID
+FROM RDSServers AS S
+WHERE
+ ((((@ItemID is Null AND S.ItemID is null) or @IgnoreItemId = 1)
+ or (@ItemID is not Null AND S.ItemID = @ItemID))
+ and
+ (((@RdsCollectionId is Null AND S.RDSCollectionId is null) or @IgnoreRdsCollectionId = 1)
+ or (@RdsCollectionId is not Null AND S.RDSCollectionId = @RdsCollectionId)))'
+
+IF @FilterColumn <> '' AND @FilterValue <> ''
+SET @sql = @sql + ' AND ' + @FilterColumn + ' LIKE @FilterValue '
+
+IF @SortColumn <> '' AND @SortColumn IS NOT NULL
+SET @sql = @sql + ' ORDER BY ' + @SortColumn + ' '
+
+SET @sql = @sql + ' SELECT COUNT(RDSServerId) FROM @RDSServer;
+SELECT
+ ST.ID,
+ ST.ItemID,
+ ST.Name,
+ ST.FqdName,
+ ST.Description,
+ ST.RdsCollectionId,
+ SI.ItemName,
+ ST.ConnectionEnabled
+FROM @RDSServer AS S
+INNER JOIN RDSServers AS ST ON S.RDSServerId = ST.ID
+LEFT OUTER JOIN ServiceItems AS SI ON SI.ItemId = ST.ItemId
+WHERE S.ItemPosition BETWEEN @StartRow AND @EndRow'
+
+exec sp_executesql @sql, N'@StartRow int, @MaximumRows int, @FilterValue nvarchar(50), @ItemID int, @RdsCollectionId int, @IgnoreItemId bit, @IgnoreRdsCollectionId bit',
+@StartRow, @MaximumRows, @FilterValue, @ItemID, @RdsCollectionId, @IgnoreItemId , @IgnoreRdsCollectionId
+
+
+RETURN
+
+GO
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'UpdateRDSServer')
+DROP PROCEDURE UpdateRDSServer
+GO
+CREATE PROCEDURE [dbo].[UpdateRDSServer]
+(
+ @Id INT,
+ @ItemID INT,
+ @Name NVARCHAR(255),
+ @FqdName NVARCHAR(255),
+ @Description NVARCHAR(255),
+ @RDSCollectionId INT,
+ @ConnectionEnabled BIT
+)
+AS
+
+UPDATE RDSServers
+SET
+ ItemID = @ItemID,
+ Name = @Name,
+ FqdName = @FqdName,
+ Description = @Description,
+ RDSCollectionId = @RDSCollectionId,
+ ConnectionEnabled = @ConnectionEnabled
+WHERE ID = @Id
+GO
+
+
+-- fix Windows 2012 Provider
+BEGIN
+UPDATE [dbo].[Providers] SET [EditorControl] = 'Windows2012' WHERE [ProviderName] = 'Windows2012'
+END
+GO
+
+-- fix check domain used by HostedOrganization
+
+ALTER PROCEDURE [dbo].[CheckDomainUsedByHostedOrganization]
+ @DomainName nvarchar(100),
+ @Result int OUTPUT
+AS
+ SET @Result = 0
+ IF EXISTS(SELECT 1 FROM ExchangeAccounts WHERE UserPrincipalName LIKE '%@'+ @DomainName AND AccountType!=2)
+ BEGIN
+ SET @Result = 1
+ END
+ ELSE
+ IF EXISTS(SELECT 1 FROM ExchangeAccountEmailAddresses WHERE EmailAddress LIKE '%@'+ @DomainName)
+ BEGIN
+ SET @Result = 1
+ END
+ ELSE
+ IF EXISTS(SELECT 1 FROM LyncUsers WHERE SipAddress LIKE '%@'+ @DomainName)
+ BEGIN
+ SET @Result = 1
+ END
+
+ RETURN @Result
+GO
+
+
+-- check domain used by hosted organization
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'GetOrganizationObjectsByDomain')
+DROP PROCEDURE GetOrganizationObjectsByDomain
+GO
+
+CREATE PROCEDURE [dbo].[GetOrganizationObjectsByDomain]
+(
+ @ItemID int,
+ @DomainName nvarchar(100)
+)
+AS
+SELECT
+ 'ExchangeAccounts' as ObjectName,
+ AccountID as ObjectID,
+ AccountType as ObjectType,
+ DisplayName as DisplayName,
+ 0 as OwnerID
+FROM
+ ExchangeAccounts
+WHERE
+ UserPrincipalName LIKE '%@'+ @DomainName AND AccountType!=2
+UNION
+SELECT
+ 'ExchangeAccountEmailAddresses' as ObjectName,
+ eam.AddressID as ObjectID,
+ ea.AccountType as ObjectType,
+ eam.EmailAddress as DisplayName,
+ eam.AccountID as OwnerID
+FROM
+ ExchangeAccountEmailAddresses as eam
+INNER JOIN
+ ExchangeAccounts ea
+ON
+ ea.AccountID = eam.AccountID
+WHERE
+ (ea.PrimaryEmailAddress != eam.EmailAddress)
+ AND (ea.UserPrincipalName != eam.EmailAddress)
+ AND (eam.EmailAddress LIKE '%@'+ @DomainName)
+UNION
+SELECT
+ 'LyncUsers' as ObjectName,
+ ea.AccountID as ObjectID,
+ ea.AccountType as ObjectType,
+ ea.DisplayName as DisplayName,
+ 0 as OwnerID
+FROM
+ ExchangeAccounts ea
+INNER JOIN
+ LyncUsers ou
+ON
+ ea.AccountID = ou.AccountID
+WHERE
+ ou.SipAddress LIKE '%@'+ @DomainName
+ORDER BY
+ DisplayName
+RETURN
+GO
+IF NOT EXISTS(SELECT * FROM sys.columns
+ WHERE [name] = N'RegistrarName' AND [object_id] = OBJECT_ID(N'Domains'))
+BEGIN
+ ALTER TABLE [dbo].[Domains] ADD RegistrarName nvarchar(max);
+END
+GO
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'UpdateWhoisDomainInfo')
+DROP PROCEDURE UpdateWhoisDomainInfo
+GO
+CREATE PROCEDURE [dbo].UpdateWhoisDomainInfo
+(
+ @DomainId INT,
+ @DomainCreationDate DateTime,
+ @DomainExpirationDate DateTime,
+ @DomainLastUpdateDate DateTime,
+ @DomainRegistrarName nvarchar(max)
+)
+AS
+UPDATE [dbo].[Domains] SET [CreationDate] = @DomainCreationDate, [ExpirationDate] = @DomainExpirationDate, [LastUpdateDate] = @DomainLastUpdateDate, [RegistrarName] = @DomainRegistrarName WHERE [DomainID] = @DomainId
+GO
+
+
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'GetDomainsPaged')
+DROP PROCEDURE GetDomainsPaged
+GO
+CREATE PROCEDURE [dbo].[GetDomainsPaged]
+(
+ @ActorID int,
+ @PackageID int,
+ @ServerID int,
+ @Recursive bit,
+ @FilterColumn nvarchar(50) = '',
+ @FilterValue nvarchar(50) = '',
+ @SortColumn nvarchar(50),
+ @StartRow int,
+ @MaximumRows int
+)
+AS
+SET NOCOUNT ON
+
+-- check rights
+IF dbo.CheckActorPackageRights(@ActorID, @PackageID) = 0
+RAISERROR('You are not allowed to access this package', 16, 1)
+
+-- build query and run it to the temporary table
+DECLARE @sql nvarchar(2500)
+
+IF @SortColumn = '' OR @SortColumn IS NULL
+SET @SortColumn = 'DomainName'
+
+SET @sql = '
+DECLARE @Domains TABLE
+(
+ ItemPosition int IDENTITY(1,1),
+ DomainID int
+)
+INSERT INTO @Domains (DomainID)
+SELECT
+ D.DomainID
+FROM Domains AS D
+INNER JOIN Packages AS P ON D.PackageID = P.PackageID
+INNER JOIN UsersDetailed AS U ON P.UserID = U.UserID
+LEFT OUTER JOIN ServiceItems AS Z ON D.ZoneItemID = Z.ItemID
+LEFT OUTER JOIN Services AS S ON Z.ServiceID = S.ServiceID
+LEFT OUTER JOIN Servers AS SRV ON S.ServerID = SRV.ServerID
+WHERE (D.IsInstantAlias = 0 AND D.IsDomainPointer = 0) AND
+ ((@Recursive = 0 AND D.PackageID = @PackageID)
+ OR (@Recursive = 1 AND dbo.CheckPackageParent(@PackageID, D.PackageID) = 1))
+AND (@ServerID = 0 OR (@ServerID > 0 AND S.ServerID = @ServerID))
+'
+
+IF @FilterColumn <> '' AND @FilterValue <> ''
+SET @sql = @sql + ' AND ' + @FilterColumn + ' LIKE @FilterValue '
+
+IF @SortColumn <> '' AND @SortColumn IS NOT NULL
+SET @sql = @sql + ' ORDER BY ' + @SortColumn + ' '
+
+SET @sql = @sql + ' SELECT COUNT(DomainID) FROM @Domains;SELECT
+ D.DomainID,
+ D.PackageID,
+ D.ZoneItemID,
+ D.DomainItemID,
+ D.DomainName,
+ D.HostingAllowed,
+ ISNULL(WS.ItemID, 0) AS WebSiteID,
+ WS.ItemName AS WebSiteName,
+ ISNULL(MD.ItemID, 0) AS MailDomainID,
+ MD.ItemName AS MailDomainName,
+ D.IsSubDomain,
+ D.IsInstantAlias,
+ D.IsDomainPointer,
+ D.ExpirationDate,
+ D.LastUpdateDate,
+ D.RegistrarName,
+ P.PackageName,
+ ISNULL(SRV.ServerID, 0) AS ServerID,
+ ISNULL(SRV.ServerName, '''') AS ServerName,
+ ISNULL(SRV.Comments, '''') AS ServerComments,
+ ISNULL(SRV.VirtualServer, 0) AS VirtualServer,
+ P.UserID,
+ U.Username,
+ U.FirstName,
+ U.LastName,
+ U.FullName,
+ U.RoleID,
+ U.Email
+FROM @Domains AS SD
+INNER JOIN Domains AS D ON SD.DomainID = D.DomainID
+INNER JOIN Packages AS P ON D.PackageID = P.PackageID
+INNER JOIN UsersDetailed AS U ON P.UserID = U.UserID
+LEFT OUTER JOIN ServiceItems AS WS ON D.WebSiteID = WS.ItemID
+LEFT OUTER JOIN ServiceItems AS MD ON D.MailDomainID = MD.ItemID
+LEFT OUTER JOIN ServiceItems AS Z ON D.ZoneItemID = Z.ItemID
+LEFT OUTER JOIN Services AS S ON Z.ServiceID = S.ServiceID
+LEFT OUTER JOIN Servers AS SRV ON S.ServerID = SRV.ServerID
+WHERE SD.ItemPosition BETWEEN @StartRow + 1 AND @StartRow + @MaximumRows'
+
+exec sp_executesql @sql, N'@StartRow int, @MaximumRows int, @PackageID int, @FilterValue nvarchar(50), @ServerID int, @Recursive bit',
+@StartRow, @MaximumRows, @PackageID, @FilterValue, @ServerID, @Recursive
+
+
+RETURN
+GO
+
+
+
+
+IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE type = 'P' AND name = 'GetDomains')
+DROP PROCEDURE GetDomains
+GO
+CREATE PROCEDURE [dbo].[GetDomains]
+(
+ @ActorID int,
+ @PackageID int,
+ @Recursive bit = 1
+)
+AS
+
+-- check rights
+IF dbo.CheckActorPackageRights(@ActorID, @PackageID) = 0
+RAISERROR('You are not allowed to access this package', 16, 1)
+
+SELECT
+ D.DomainID,
+ D.PackageID,
+ D.ZoneItemID,
+ D.DomainItemID,
+ D.DomainName,
+ D.HostingAllowed,
+ ISNULL(WS.ItemID, 0) AS WebSiteID,
+ WS.ItemName AS WebSiteName,
+ ISNULL(MD.ItemID, 0) AS MailDomainID,
+ MD.ItemName AS MailDomainName,
+ Z.ItemName AS ZoneName,
+ D.IsSubDomain,
+ D.IsInstantAlias,
+ D.CreationDate,
+ D.ExpirationDate,
+ D.LastUpdateDate,
+ D.IsDomainPointer,
+ D.RegistrarName
+FROM Domains AS D
+INNER JOIN PackagesTree(@PackageID, @Recursive) AS PT ON D.PackageID = PT.PackageID
+LEFT OUTER JOIN ServiceItems AS WS ON D.WebSiteID = WS.ItemID
+LEFT OUTER JOIN ServiceItems AS MD ON D.MailDomainID = MD.ItemID
+LEFT OUTER JOIN ServiceItems AS Z ON D.ZoneItemID = Z.ItemID
+RETURN
+
+GO
\ No newline at end of file
diff --git a/WebsitePanel/Lib/References/Whois.NET/IPAddressRange.dll b/WebsitePanel/Lib/References/Whois.NET/IPAddressRange.dll
new file mode 100644
index 00000000..9814a137
Binary files /dev/null and b/WebsitePanel/Lib/References/Whois.NET/IPAddressRange.dll differ
diff --git a/WebsitePanel/Lib/References/Whois.NET/WhoisClient.dll b/WebsitePanel/Lib/References/Whois.NET/WhoisClient.dll
new file mode 100644
index 00000000..5abd0505
Binary files /dev/null and b/WebsitePanel/Lib/References/Whois.NET/WhoisClient.dll differ
diff --git a/WebsitePanel/Sources/Tools/WebsitePanel.Import.CsvBulk/ExchangeImport.cs b/WebsitePanel/Sources/Tools/WebsitePanel.Import.CsvBulk/ExchangeImport.cs
index 4988105d..1a7a64ab 100644
--- a/WebsitePanel/Sources/Tools/WebsitePanel.Import.CsvBulk/ExchangeImport.cs
+++ b/WebsitePanel/Sources/Tools/WebsitePanel.Import.CsvBulk/ExchangeImport.cs
@@ -46,7 +46,10 @@ namespace WebsitePanel.Import.CsvBulk
{
Mailbox,
Contact,
- User
+ User,
+ Room,
+ Equipment,
+ SharedMailbox
}
///
@@ -487,9 +490,12 @@ namespace WebsitePanel.Import.CsvBulk
if (!StringEquals(typeName, "Mailbox") &&
!StringEquals(typeName, "Contact") &&
- !StringEquals(typeName, "User"))
+ !StringEquals(typeName, "User")&&
+ !StringEquals(typeName, "Room")&&
+ !StringEquals(typeName, "Equipment")&&
+ !StringEquals(typeName, "SharedMailbox"))
{
- Log.WriteError(string.Format("Error at line {0}: field 'Type' is invalid. Should be 'Mailbox' or 'Contact' or 'User'", index + 1));
+ Log.WriteError(string.Format("Error at line {0}: field 'Type' is invalid. Should be 'Mailbox' or 'Contact' or 'User' or 'Room' or 'Equipment' or 'SharedMailbox'", index + 1));
return false;
}
@@ -524,7 +530,7 @@ namespace WebsitePanel.Import.CsvBulk
if (type == AccountTypes.Mailbox)
{
//create mailbox using web service
- if (!CreateMailbox(index, orgId, displayName, emailAddress, password, firstName, middleName, lastName,
+ if (!CreateMailbox(ExchangeAccountType.Mailbox, index, orgId, displayName, emailAddress, password, firstName, middleName, lastName,
address, city, state, zip, country, jobTitle, company, department, office,
businessPhone, fax, homePhone, mobilePhone, pager, webPage, notes, planId))
{
@@ -532,6 +538,42 @@ namespace WebsitePanel.Import.CsvBulk
}
totalMailboxes++;
}
+ if (type == AccountTypes.Room)
+ {
+ //create mailbox using web service
+ if (!CreateMailbox(ExchangeAccountType.Room, index, orgId, displayName, emailAddress, password, firstName, middleName, lastName,
+ address, city, state, zip, country, jobTitle, company, department, office,
+ businessPhone, fax, homePhone, mobilePhone, pager, webPage, notes, planId))
+ {
+ return false;
+ }
+ totalMailboxes++;
+ }
+ if (type == AccountTypes.Equipment)
+ {
+ //create mailbox using web service
+ if (!CreateMailbox(ExchangeAccountType.Equipment, index, orgId, displayName, emailAddress, password, firstName, middleName, lastName,
+ address, city, state, zip, country, jobTitle, company, department, office,
+ businessPhone, fax, homePhone, mobilePhone, pager, webPage, notes, planId))
+ {
+ return false;
+ }
+ totalMailboxes++;
+ }
+ if (type == AccountTypes.SharedMailbox)
+ {
+ //create mailbox using web service
+ if (!CreateMailbox(ExchangeAccountType.SharedMailbox, index, orgId, displayName, emailAddress, password, firstName, middleName, lastName,
+ address, city, state, zip, country, jobTitle, company, department, office,
+ businessPhone, fax, homePhone, mobilePhone, pager, webPage, notes, planId))
+ {
+ return false;
+ }
+ totalMailboxes++;
+ }
+
+
+
else if (type == AccountTypes.Contact)
{
//create contact using web service
@@ -561,7 +603,7 @@ namespace WebsitePanel.Import.CsvBulk
///
/// Creates mailbox
///
- private bool CreateMailbox(int index, int orgId, string displayName, string emailAddress, string password, string firstName, string middleName, string lastName,
+ private bool CreateMailbox(ExchangeAccountType exchangeAccountType, int index, int orgId, string displayName, string emailAddress, string password, string firstName, string middleName, string lastName,
string address, string city, string state, string zip, string country, string jobTitle, string company, string department, string office,
string businessPhone, string fax, string homePhone, string mobilePhone, string pager, string webPage, string notes, int planId)
{
@@ -574,7 +616,7 @@ namespace WebsitePanel.Import.CsvBulk
//create mailbox
//ES.Services.ExchangeServer.
string accountName = string.Empty;
- int accountId = ES.Services.ExchangeServer.CreateMailbox(orgId, 0, ExchangeAccountType.Mailbox, accountName, displayName, name, domain, password, false, string.Empty, planId, -1, string.Empty, false);
+ int accountId = ES.Services.ExchangeServer.CreateMailbox(orgId, 0, exchangeAccountType, accountName, displayName, name, domain, password, false, string.Empty, planId, -1, string.Empty, false);
if (accountId < 0)
{
string errorMessage = GetErrorMessage(accountId);
diff --git a/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.Designer.cs b/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.Designer.cs
index af549f66..d462be62 100644
--- a/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.Designer.cs
+++ b/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.Designer.cs
@@ -28,296 +28,319 @@ namespace WebsitePanel.Import.Enterprise
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ApplicationForm));
- this.lblSpace = new System.Windows.Forms.Label();
- this.txtSpace = new System.Windows.Forms.TextBox();
- this.btnBrowseSpace = new System.Windows.Forms.Button();
- this.btnBrowseOU = new System.Windows.Forms.Button();
- this.txtOU = new System.Windows.Forms.TextBox();
- this.lblOU = new System.Windows.Forms.Label();
- this.grpOrganization = new System.Windows.Forms.GroupBox();
- this.btnSelectAll = new System.Windows.Forms.Button();
- this.btnDeselectAll = new System.Windows.Forms.Button();
- this.rbCreateAndImport = new System.Windows.Forms.RadioButton();
- this.rbImport = new System.Windows.Forms.RadioButton();
- this.lvUsers = new System.Windows.Forms.ListView();
- this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
- this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
- this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
- this.images = new System.Windows.Forms.ImageList(this.components);
- this.txtOrgName = new System.Windows.Forms.TextBox();
- this.lblOrgName = new System.Windows.Forms.Label();
- this.txtOrgId = new System.Windows.Forms.TextBox();
- this.lblOrgId = new System.Windows.Forms.Label();
- this.btnStart = new System.Windows.Forms.Button();
- this.progressBar = new System.Windows.Forms.ProgressBar();
- this.lblMessage = new System.Windows.Forms.Label();
- this.grpOrganization.SuspendLayout();
- this.SuspendLayout();
- //
- // lblSpace
- //
- this.lblSpace.Location = new System.Drawing.Point(15, 15);
- this.lblSpace.Name = "lblSpace";
- this.lblSpace.Size = new System.Drawing.Size(125, 23);
- this.lblSpace.TabIndex = 0;
- this.lblSpace.Text = "Target Hosting Space:";
- //
- // txtSpace
- //
- this.txtSpace.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtSpace.Location = new System.Drawing.Point(146, 12);
- this.txtSpace.Name = "txtSpace";
- this.txtSpace.ReadOnly = true;
- this.txtSpace.Size = new System.Drawing.Size(429, 20);
- this.txtSpace.TabIndex = 1;
- this.txtSpace.TextChanged += new System.EventHandler(this.OnDataChanged);
- //
- // btnBrowseSpace
- //
- this.btnBrowseSpace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnBrowseSpace.Location = new System.Drawing.Point(581, 10);
- this.btnBrowseSpace.Name = "btnBrowseSpace";
- this.btnBrowseSpace.Size = new System.Drawing.Size(24, 22);
- this.btnBrowseSpace.TabIndex = 2;
- this.btnBrowseSpace.Text = "...";
- this.btnBrowseSpace.UseVisualStyleBackColor = true;
- this.btnBrowseSpace.Click += new System.EventHandler(this.OnBrowseSpace);
- //
- // btnBrowseOU
- //
- this.btnBrowseOU.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnBrowseOU.Location = new System.Drawing.Point(581, 36);
- this.btnBrowseOU.Name = "btnBrowseOU";
- this.btnBrowseOU.Size = new System.Drawing.Size(24, 22);
- this.btnBrowseOU.TabIndex = 5;
- this.btnBrowseOU.Text = "...";
- this.btnBrowseOU.UseVisualStyleBackColor = true;
- this.btnBrowseOU.Click += new System.EventHandler(this.OnBrowseOU);
- //
- // txtOU
- //
- this.txtOU.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtOU.Location = new System.Drawing.Point(146, 38);
- this.txtOU.Name = "txtOU";
- this.txtOU.ReadOnly = true;
- this.txtOU.Size = new System.Drawing.Size(429, 20);
- this.txtOU.TabIndex = 4;
- this.txtOU.TextChanged += new System.EventHandler(this.OnDataChanged);
- //
- // lblOU
- //
- this.lblOU.Location = new System.Drawing.Point(15, 41);
- this.lblOU.Name = "lblOU";
- this.lblOU.Size = new System.Drawing.Size(125, 23);
- this.lblOU.TabIndex = 3;
- this.lblOU.Text = "Organizational Unit:";
- //
- // grpOrganization
- //
- this.grpOrganization.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.grpOrganization.Controls.Add(this.btnSelectAll);
- this.grpOrganization.Controls.Add(this.btnDeselectAll);
- this.grpOrganization.Controls.Add(this.rbCreateAndImport);
- this.grpOrganization.Controls.Add(this.rbImport);
- this.grpOrganization.Controls.Add(this.lvUsers);
- this.grpOrganization.Controls.Add(this.txtOrgName);
- this.grpOrganization.Controls.Add(this.lblOrgName);
- this.grpOrganization.Controls.Add(this.txtOrgId);
- this.grpOrganization.Controls.Add(this.lblOrgId);
- this.grpOrganization.Location = new System.Drawing.Point(15, 67);
- this.grpOrganization.Name = "grpOrganization";
- this.grpOrganization.Size = new System.Drawing.Size(590, 328);
- this.grpOrganization.TabIndex = 6;
- this.grpOrganization.TabStop = false;
- //
- // btnSelectAll
- //
- this.btnSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnSelectAll.Location = new System.Drawing.Point(417, 282);
- this.btnSelectAll.Name = "btnSelectAll";
- this.btnSelectAll.Size = new System.Drawing.Size(75, 23);
- this.btnSelectAll.TabIndex = 7;
- this.btnSelectAll.Text = "Select All";
- this.btnSelectAll.UseVisualStyleBackColor = true;
- this.btnSelectAll.Click += new System.EventHandler(this.OnSelectAllClick);
- //
- // btnDeselectAll
- //
- this.btnDeselectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnDeselectAll.Location = new System.Drawing.Point(498, 282);
- this.btnDeselectAll.Name = "btnDeselectAll";
- this.btnDeselectAll.Size = new System.Drawing.Size(75, 23);
- this.btnDeselectAll.TabIndex = 8;
- this.btnDeselectAll.Text = "Unselect All";
- this.btnDeselectAll.UseVisualStyleBackColor = true;
- this.btnDeselectAll.Click += new System.EventHandler(this.OnDeselectAllClick);
- //
- // rbCreateAndImport
- //
- this.rbCreateAndImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.rbCreateAndImport.AutoSize = true;
- this.rbCreateAndImport.Checked = true;
- this.rbCreateAndImport.Enabled = false;
- this.rbCreateAndImport.Location = new System.Drawing.Point(19, 282);
- this.rbCreateAndImport.Name = "rbCreateAndImport";
- this.rbCreateAndImport.Size = new System.Drawing.Size(261, 17);
- this.rbCreateAndImport.TabIndex = 5;
- this.rbCreateAndImport.TabStop = true;
- this.rbCreateAndImport.Text = "Create new organization and import selected items";
- this.rbCreateAndImport.UseVisualStyleBackColor = true;
- this.rbCreateAndImport.CheckedChanged += new System.EventHandler(this.OnCheckedChanged);
- //
- // rbImport
- //
- this.rbImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.rbImport.AutoSize = true;
- this.rbImport.Enabled = false;
- this.rbImport.Location = new System.Drawing.Point(19, 305);
- this.rbImport.Name = "rbImport";
- this.rbImport.Size = new System.Drawing.Size(237, 17);
- this.rbImport.TabIndex = 6;
- this.rbImport.Text = "Import selected items for existing organization";
- this.rbImport.UseVisualStyleBackColor = true;
- //
- // lvUsers
- //
- this.lvUsers.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.lvUsers.CheckBoxes = true;
- this.lvUsers.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ApplicationForm));
+ this.lblSpace = new System.Windows.Forms.Label();
+ this.txtSpace = new System.Windows.Forms.TextBox();
+ this.btnBrowseSpace = new System.Windows.Forms.Button();
+ this.btnBrowseOU = new System.Windows.Forms.Button();
+ this.txtOU = new System.Windows.Forms.TextBox();
+ this.lblOU = new System.Windows.Forms.Label();
+ this.grpOrganization = new System.Windows.Forms.GroupBox();
+ this.cbMailboxPlan = new System.Windows.Forms.ComboBox();
+ this.lblMailnoxPlan = new System.Windows.Forms.Label();
+ this.btnSelectAll = new System.Windows.Forms.Button();
+ this.btnDeselectAll = new System.Windows.Forms.Button();
+ this.rbCreateAndImport = new System.Windows.Forms.RadioButton();
+ this.rbImport = new System.Windows.Forms.RadioButton();
+ this.lvUsers = new System.Windows.Forms.ListView();
+ this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
+ this.images = new System.Windows.Forms.ImageList(this.components);
+ this.txtOrgName = new System.Windows.Forms.TextBox();
+ this.lblOrgName = new System.Windows.Forms.Label();
+ this.txtOrgId = new System.Windows.Forms.TextBox();
+ this.lblOrgId = new System.Windows.Forms.Label();
+ this.btnStart = new System.Windows.Forms.Button();
+ this.progressBar = new System.Windows.Forms.ProgressBar();
+ this.lblMessage = new System.Windows.Forms.Label();
+ this.grpOrganization.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // lblSpace
+ //
+ this.lblSpace.Location = new System.Drawing.Point(15, 15);
+ this.lblSpace.Name = "lblSpace";
+ this.lblSpace.Size = new System.Drawing.Size(125, 23);
+ this.lblSpace.TabIndex = 0;
+ this.lblSpace.Text = "Target Hosting Space:";
+ //
+ // txtSpace
+ //
+ this.txtSpace.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtSpace.Location = new System.Drawing.Point(146, 12);
+ this.txtSpace.Name = "txtSpace";
+ this.txtSpace.ReadOnly = true;
+ this.txtSpace.Size = new System.Drawing.Size(426, 20);
+ this.txtSpace.TabIndex = 1;
+ this.txtSpace.TextChanged += new System.EventHandler(this.OnDataChanged);
+ //
+ // btnBrowseSpace
+ //
+ this.btnBrowseSpace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnBrowseSpace.Location = new System.Drawing.Point(578, 10);
+ this.btnBrowseSpace.Name = "btnBrowseSpace";
+ this.btnBrowseSpace.Size = new System.Drawing.Size(24, 22);
+ this.btnBrowseSpace.TabIndex = 2;
+ this.btnBrowseSpace.Text = "...";
+ this.btnBrowseSpace.UseVisualStyleBackColor = true;
+ this.btnBrowseSpace.Click += new System.EventHandler(this.OnBrowseSpace);
+ //
+ // btnBrowseOU
+ //
+ this.btnBrowseOU.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnBrowseOU.Location = new System.Drawing.Point(578, 36);
+ this.btnBrowseOU.Name = "btnBrowseOU";
+ this.btnBrowseOU.Size = new System.Drawing.Size(24, 22);
+ this.btnBrowseOU.TabIndex = 5;
+ this.btnBrowseOU.Text = "...";
+ this.btnBrowseOU.UseVisualStyleBackColor = true;
+ this.btnBrowseOU.Click += new System.EventHandler(this.OnBrowseOU);
+ //
+ // txtOU
+ //
+ this.txtOU.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtOU.Location = new System.Drawing.Point(146, 38);
+ this.txtOU.Name = "txtOU";
+ this.txtOU.ReadOnly = true;
+ this.txtOU.Size = new System.Drawing.Size(426, 20);
+ this.txtOU.TabIndex = 4;
+ this.txtOU.TextChanged += new System.EventHandler(this.OnDataChanged);
+ //
+ // lblOU
+ //
+ this.lblOU.Location = new System.Drawing.Point(15, 41);
+ this.lblOU.Name = "lblOU";
+ this.lblOU.Size = new System.Drawing.Size(125, 23);
+ this.lblOU.TabIndex = 3;
+ this.lblOU.Text = "Organizational Unit:";
+ //
+ // grpOrganization
+ //
+ this.grpOrganization.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.grpOrganization.Controls.Add(this.cbMailboxPlan);
+ this.grpOrganization.Controls.Add(this.lblMailnoxPlan);
+ this.grpOrganization.Controls.Add(this.btnSelectAll);
+ this.grpOrganization.Controls.Add(this.btnDeselectAll);
+ this.grpOrganization.Controls.Add(this.rbCreateAndImport);
+ this.grpOrganization.Controls.Add(this.rbImport);
+ this.grpOrganization.Controls.Add(this.lvUsers);
+ this.grpOrganization.Controls.Add(this.txtOrgName);
+ this.grpOrganization.Controls.Add(this.lblOrgName);
+ this.grpOrganization.Controls.Add(this.txtOrgId);
+ this.grpOrganization.Controls.Add(this.lblOrgId);
+ this.grpOrganization.Location = new System.Drawing.Point(15, 67);
+ this.grpOrganization.Name = "grpOrganization";
+ this.grpOrganization.Size = new System.Drawing.Size(587, 328);
+ this.grpOrganization.TabIndex = 6;
+ this.grpOrganization.TabStop = false;
+ //
+ // cbMailboxPlan
+ //
+ this.cbMailboxPlan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.cbMailboxPlan.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.cbMailboxPlan.FormattingEnabled = true;
+ this.cbMailboxPlan.Location = new System.Drawing.Point(155, 74);
+ this.cbMailboxPlan.Name = "cbMailboxPlan";
+ this.cbMailboxPlan.Size = new System.Drawing.Size(415, 21);
+ this.cbMailboxPlan.TabIndex = 10;
+ //
+ // lblMailnoxPlan
+ //
+ this.lblMailnoxPlan.Location = new System.Drawing.Point(19, 74);
+ this.lblMailnoxPlan.Name = "lblMailnoxPlan";
+ this.lblMailnoxPlan.Size = new System.Drawing.Size(130, 23);
+ this.lblMailnoxPlan.TabIndex = 9;
+ this.lblMailnoxPlan.Text = "Default mailbox plan :";
+ //
+ // btnSelectAll
+ //
+ this.btnSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnSelectAll.Location = new System.Drawing.Point(414, 282);
+ this.btnSelectAll.Name = "btnSelectAll";
+ this.btnSelectAll.Size = new System.Drawing.Size(75, 23);
+ this.btnSelectAll.TabIndex = 7;
+ this.btnSelectAll.Text = "Select All";
+ this.btnSelectAll.UseVisualStyleBackColor = true;
+ this.btnSelectAll.Click += new System.EventHandler(this.OnSelectAllClick);
+ //
+ // btnDeselectAll
+ //
+ this.btnDeselectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnDeselectAll.Location = new System.Drawing.Point(495, 282);
+ this.btnDeselectAll.Name = "btnDeselectAll";
+ this.btnDeselectAll.Size = new System.Drawing.Size(75, 23);
+ this.btnDeselectAll.TabIndex = 8;
+ this.btnDeselectAll.Text = "Unselect All";
+ this.btnDeselectAll.UseVisualStyleBackColor = true;
+ this.btnDeselectAll.Click += new System.EventHandler(this.OnDeselectAllClick);
+ //
+ // rbCreateAndImport
+ //
+ this.rbCreateAndImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.rbCreateAndImport.AutoSize = true;
+ this.rbCreateAndImport.Checked = true;
+ this.rbCreateAndImport.Enabled = false;
+ this.rbCreateAndImport.Location = new System.Drawing.Point(19, 282);
+ this.rbCreateAndImport.Name = "rbCreateAndImport";
+ this.rbCreateAndImport.Size = new System.Drawing.Size(261, 17);
+ this.rbCreateAndImport.TabIndex = 5;
+ this.rbCreateAndImport.TabStop = true;
+ this.rbCreateAndImport.Text = "Create new organization and import selected items";
+ this.rbCreateAndImport.UseVisualStyleBackColor = true;
+ this.rbCreateAndImport.CheckedChanged += new System.EventHandler(this.OnCheckedChanged);
+ //
+ // rbImport
+ //
+ this.rbImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.rbImport.AutoSize = true;
+ this.rbImport.Enabled = false;
+ this.rbImport.Location = new System.Drawing.Point(19, 305);
+ this.rbImport.Name = "rbImport";
+ this.rbImport.Size = new System.Drawing.Size(237, 17);
+ this.rbImport.TabIndex = 6;
+ this.rbImport.Text = "Import selected items for existing organization";
+ this.rbImport.UseVisualStyleBackColor = true;
+ //
+ // lvUsers
+ //
+ this.lvUsers.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.lvUsers.CheckBoxes = true;
+ this.lvUsers.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2,
this.columnHeader3});
- this.lvUsers.FullRowSelect = true;
- this.lvUsers.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
- this.lvUsers.Location = new System.Drawing.Point(19, 74);
- this.lvUsers.MultiSelect = false;
- this.lvUsers.Name = "lvUsers";
- this.lvUsers.Size = new System.Drawing.Size(554, 202);
- this.lvUsers.SmallImageList = this.images;
- this.lvUsers.TabIndex = 4;
- this.lvUsers.UseCompatibleStateImageBehavior = false;
- this.lvUsers.View = System.Windows.Forms.View.Details;
- //
- // columnHeader1
- //
- this.columnHeader1.Text = "Name";
- this.columnHeader1.Width = 229;
- //
- // columnHeader2
- //
- this.columnHeader2.Text = "Email";
- this.columnHeader2.Width = 163;
- //
- // columnHeader3
- //
- this.columnHeader3.Text = "Type";
- this.columnHeader3.Width = 152;
- //
- // images
- //
- this.images.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("images.ImageStream")));
- this.images.TransparentColor = System.Drawing.Color.Transparent;
- this.images.Images.SetKeyName(0, "UserSmallIcon.ico");
- this.images.Images.SetKeyName(1, "contact.ico");
- this.images.Images.SetKeyName(2, "DL.ico");
- //
- // txtOrgName
- //
- this.txtOrgName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtOrgName.Location = new System.Drawing.Point(155, 45);
- this.txtOrgName.Name = "txtOrgName";
- this.txtOrgName.Size = new System.Drawing.Size(418, 20);
- this.txtOrgName.TabIndex = 3;
- //
- // lblOrgName
- //
- this.lblOrgName.Location = new System.Drawing.Point(19, 48);
- this.lblOrgName.Name = "lblOrgName";
- this.lblOrgName.Size = new System.Drawing.Size(130, 23);
- this.lblOrgName.TabIndex = 2;
- this.lblOrgName.Text = "Organization Name:";
- //
- // txtOrgId
- //
- this.txtOrgId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtOrgId.Location = new System.Drawing.Point(155, 19);
- this.txtOrgId.Name = "txtOrgId";
- this.txtOrgId.ReadOnly = true;
- this.txtOrgId.Size = new System.Drawing.Size(418, 20);
- this.txtOrgId.TabIndex = 1;
- //
- // lblOrgId
- //
- this.lblOrgId.Location = new System.Drawing.Point(19, 22);
- this.lblOrgId.Name = "lblOrgId";
- this.lblOrgId.Size = new System.Drawing.Size(130, 23);
- this.lblOrgId.TabIndex = 0;
- this.lblOrgId.Text = "Organization Id:";
- //
- // btnStart
- //
- this.btnStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnStart.Location = new System.Drawing.Point(527, 461);
- this.btnStart.Name = "btnStart";
- this.btnStart.Size = new System.Drawing.Size(75, 23);
- this.btnStart.TabIndex = 9;
- this.btnStart.Text = "Start";
- this.btnStart.UseVisualStyleBackColor = true;
- this.btnStart.Click += new System.EventHandler(this.OnImportClick);
- //
- // progressBar
- //
- this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.progressBar.Location = new System.Drawing.Point(15, 427);
- this.progressBar.Name = "progressBar";
- this.progressBar.Size = new System.Drawing.Size(587, 23);
- this.progressBar.TabIndex = 8;
- //
- // lblMessage
- //
- this.lblMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.lblMessage.Location = new System.Drawing.Point(12, 401);
- this.lblMessage.Name = "lblMessage";
- this.lblMessage.Size = new System.Drawing.Size(593, 23);
- this.lblMessage.TabIndex = 7;
- //
- // ApplicationForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(617, 496);
- this.Controls.Add(this.lblMessage);
- this.Controls.Add(this.progressBar);
- this.Controls.Add(this.btnStart);
- this.Controls.Add(this.grpOrganization);
- this.Controls.Add(this.btnBrowseOU);
- this.Controls.Add(this.txtOU);
- this.Controls.Add(this.lblOU);
- this.Controls.Add(this.btnBrowseSpace);
- this.Controls.Add(this.txtSpace);
- this.Controls.Add(this.lblSpace);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.MinimumSize = new System.Drawing.Size(630, 500);
- this.Name = "ApplicationForm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "WebsitePanel Enterprise Import Tool";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnFormClosing);
- this.grpOrganization.ResumeLayout(false);
- this.grpOrganization.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.lvUsers.FullRowSelect = true;
+ this.lvUsers.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
+ this.lvUsers.Location = new System.Drawing.Point(19, 108);
+ this.lvUsers.MultiSelect = false;
+ this.lvUsers.Name = "lvUsers";
+ this.lvUsers.Size = new System.Drawing.Size(551, 167);
+ this.lvUsers.SmallImageList = this.images;
+ this.lvUsers.TabIndex = 4;
+ this.lvUsers.UseCompatibleStateImageBehavior = false;
+ this.lvUsers.View = System.Windows.Forms.View.Details;
+ //
+ // columnHeader1
+ //
+ this.columnHeader1.Text = "Name";
+ this.columnHeader1.Width = 238;
+ //
+ // columnHeader2
+ //
+ this.columnHeader2.Text = "Email";
+ this.columnHeader2.Width = 166;
+ //
+ // columnHeader3
+ //
+ this.columnHeader3.Text = "Type";
+ this.columnHeader3.Width = 124;
+ //
+ // images
+ //
+ this.images.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("images.ImageStream")));
+ this.images.TransparentColor = System.Drawing.Color.Transparent;
+ this.images.Images.SetKeyName(0, "UserSmallIcon.ico");
+ this.images.Images.SetKeyName(1, "contact.ico");
+ this.images.Images.SetKeyName(2, "DL.ico");
+ //
+ // txtOrgName
+ //
+ this.txtOrgName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtOrgName.Location = new System.Drawing.Point(155, 45);
+ this.txtOrgName.Name = "txtOrgName";
+ this.txtOrgName.Size = new System.Drawing.Size(415, 20);
+ this.txtOrgName.TabIndex = 3;
+ //
+ // lblOrgName
+ //
+ this.lblOrgName.Location = new System.Drawing.Point(19, 48);
+ this.lblOrgName.Name = "lblOrgName";
+ this.lblOrgName.Size = new System.Drawing.Size(130, 23);
+ this.lblOrgName.TabIndex = 2;
+ this.lblOrgName.Text = "Organization Name:";
+ //
+ // txtOrgId
+ //
+ this.txtOrgId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtOrgId.Location = new System.Drawing.Point(155, 19);
+ this.txtOrgId.Name = "txtOrgId";
+ this.txtOrgId.ReadOnly = true;
+ this.txtOrgId.Size = new System.Drawing.Size(415, 20);
+ this.txtOrgId.TabIndex = 1;
+ //
+ // lblOrgId
+ //
+ this.lblOrgId.Location = new System.Drawing.Point(19, 22);
+ this.lblOrgId.Name = "lblOrgId";
+ this.lblOrgId.Size = new System.Drawing.Size(130, 23);
+ this.lblOrgId.TabIndex = 0;
+ this.lblOrgId.Text = "Organization Id:";
+ //
+ // btnStart
+ //
+ this.btnStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnStart.Location = new System.Drawing.Point(524, 461);
+ this.btnStart.Name = "btnStart";
+ this.btnStart.Size = new System.Drawing.Size(75, 23);
+ this.btnStart.TabIndex = 9;
+ this.btnStart.Text = "Start";
+ this.btnStart.UseVisualStyleBackColor = true;
+ this.btnStart.Click += new System.EventHandler(this.OnImportClick);
+ //
+ // progressBar
+ //
+ this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.progressBar.Location = new System.Drawing.Point(15, 427);
+ this.progressBar.Name = "progressBar";
+ this.progressBar.Size = new System.Drawing.Size(584, 23);
+ this.progressBar.TabIndex = 8;
+ //
+ // lblMessage
+ //
+ this.lblMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.lblMessage.Location = new System.Drawing.Point(12, 401);
+ this.lblMessage.Name = "lblMessage";
+ this.lblMessage.Size = new System.Drawing.Size(590, 23);
+ this.lblMessage.TabIndex = 7;
+ //
+ // ApplicationForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(614, 496);
+ this.Controls.Add(this.lblMessage);
+ this.Controls.Add(this.progressBar);
+ this.Controls.Add(this.btnStart);
+ this.Controls.Add(this.grpOrganization);
+ this.Controls.Add(this.btnBrowseOU);
+ this.Controls.Add(this.txtOU);
+ this.Controls.Add(this.lblOU);
+ this.Controls.Add(this.btnBrowseSpace);
+ this.Controls.Add(this.txtSpace);
+ this.Controls.Add(this.lblSpace);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.MinimumSize = new System.Drawing.Size(630, 500);
+ this.Name = "ApplicationForm";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "WebsitePanel Enterprise Import Tool";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnFormClosing);
+ this.grpOrganization.ResumeLayout(false);
+ this.grpOrganization.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
@@ -346,6 +369,8 @@ namespace WebsitePanel.Import.Enterprise
private System.Windows.Forms.RadioButton rbImport;
internal System.Windows.Forms.Button btnSelectAll;
internal System.Windows.Forms.Button btnDeselectAll;
+ private System.Windows.Forms.ComboBox cbMailboxPlan;
+ private System.Windows.Forms.Label lblMailnoxPlan;
}
}
diff --git a/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.cs b/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.cs
index fb403a0a..6201cc35 100644
--- a/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.cs
+++ b/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.cs
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, Outercurve Foundation.
+// Copyright (c) 2014, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
@@ -129,6 +129,30 @@ namespace WebsitePanel.Import.Enterprise
}
}
+ private void BindMailboxPlans(string orgId)
+ {
+ cbMailboxPlan.Items.Clear();
+ cbMailboxPlan.Items.Add("
");
+ cbMailboxPlan.SelectedIndex = 0;
+
+ Organization org = OrganizationController.GetOrganizationById(orgId);
+
+ if (org == null)
+ {
+ List orgs = ExchangeServerController.GetExchangeOrganizations(1, false);
+ if (orgs.Count > 0)
+ org = orgs[0];
+ }
+
+ if (org != null)
+ {
+ int itemId = org.Id;
+ List plans = ExchangeServerController.GetExchangeMailboxPlans(itemId, false);
+ cbMailboxPlan.Items.AddRange(plans.ToArray());
+ }
+
+ }
+
private void LoadOrganizationData(DirectoryEntry parent)
{
string orgId = (string)parent.Properties["name"].Value;
@@ -147,6 +171,9 @@ namespace WebsitePanel.Import.Enterprise
rbImport.Checked = false;
txtOrgName.Text = orgId;
}
+
+ BindMailboxPlans(orgId);
+
LoadOrganizationAccounts(parent);
}
@@ -164,34 +191,60 @@ namespace WebsitePanel.Import.Enterprise
type = null;
email = null;
name = (string)child.Properties["name"].Value;
+
//account type
typeProp = child.Properties["msExchRecipientDisplayType"];
+
+ int typeDetails = 0;
+ PropertyValueCollection typeDetailsProp = child.Properties["msExchRecipientTypeDetails"];
+ if (typeDetailsProp != null)
+ {
+ if (typeDetailsProp.Value != null)
+ {
+ try
+ {
+ object adsLargeInteger = typeDetailsProp.Value;
+ typeDetails = (Int32)adsLargeInteger.GetType().InvokeMember("LowPart", System.Reflection.BindingFlags.GetProperty, null, adsLargeInteger, null);
+ }
+ catch { } // just skip
+ }
+ }
+
switch (child.SchemaClassName)
{
case "user":
email = (string)child.Properties["userPrincipalName"].Value;
- if (typeProp == null || typeProp.Value == null)
- {
- type = "User";
- }
- else
- {
- int mailboxType = (int)typeProp.Value;
- switch (mailboxType)
- {
- case 1073741824:
- type = "User Mailbox";
- break;
- case 7:
- type = "Room Mailbox";
- break;
- case 8:
- type = "Equipment Mailbox";
- break;
- }
- }
+ if (typeDetails == 4)
+ {
+ type = "Shared Mailbox";
+ }
+ else
+ {
+
+ if (typeProp == null || typeProp.Value == null)
+ {
+ type = "User";
+ }
+ else
+ {
+ int mailboxType = (int)typeProp.Value;
+
+ switch (mailboxType)
+ {
+ case 1073741824:
+ type = "User Mailbox";
+ break;
+ case 7:
+ type = "Room Mailbox";
+ break;
+ case 8:
+ type = "Equipment Mailbox";
+ break;
+ }
+ }
+ }
if (!string.IsNullOrEmpty(type))
{
@@ -300,6 +353,16 @@ namespace WebsitePanel.Import.Enterprise
Global.OrganizationName = txtOrgName.Text;
Global.ImportAccountsOnly = rbImport.Checked;
Global.HasErrors = false;
+
+ Global.defaultMailboxPlanId = 0;
+ if (cbMailboxPlan.SelectedItem!=null)
+ {
+ ExchangeMailboxPlan plan = cbMailboxPlan.SelectedItem as ExchangeMailboxPlan;
+ if (plan != null)
+ Global.defaultMailboxPlanId = plan.MailboxPlanId;
+
+ }
+
importer.Initialize(this.username, this);
importer.Start();
diff --git a/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.resx b/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.resx
index 687492b2..c90fffd6 100644
--- a/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.resx
+++ b/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/ApplicationForm.resx
@@ -112,79 +112,79 @@
2.0
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
17, 17
- AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
+ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
- ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABM
- DQAAAk1TRnQBSQFMAgEBAwEAAQwBAAEMAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
+ ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABI
+ DQAAAk1TRnQBSQFMAgEBAwEAAVwBAAFcAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
AwABEAMAAQEBAAEgBgABEGIAAa0BsgG1Af8BrQGuAa0B/wGtAa4BrQH/AaUBpgGlAf8BnAGeAaUB/wGc
AZoBnAH/AZQBlgGUAf8BjAGOAZQB/wGMAYoBjAH/IAABrQGyAbUB/wGtAa4BrQH/Aa0BrgGtAf8BpQGm
- AaUB/wGcAZ4BpQH/AZwBmgGcAf8BlAGWAZQB/wGMAY4BlAH/AYwBigGMAf8BjAFtAWcB/1AAAxgBIQNN
- AZEDWAHBA2EB5gFqAWMBVwH8A2EB5gNYAcEDTAGQAygBPSAAAa0BsgG1Hf8BlAGWAZQB/yAAAa0BsgG1
- Hf8BlAGWAZQB/wG1AZIBZwH/AYQBaQFfAf9IAAMDAQQDXAHNAagBkwFHAf0B5gHLAbQB/wHeAbcBkAH/
- AeMBuwGUAf8B4AG6AZQB/wHOAasBiAH/AbgBmQFcAf8DWgHFIAABrQGyAbUF/wHvAesB5wH/Ac4BywHO
+ AaUB/wGcAZ4BpQH/AZwBmgGcAf8BlAGWAZQB/wGMAY4BlAH/AYwBigGMAf8BjAFjAV0B/1AAAxgBIQNN
+ AZEDWAHBA2EB5gFgAVkBRQH8A2EB5gNYAcEDTAGQAygBPSAAAa0BsgG1Hf8BlAGWAZQB/yAAAa0BsgG1
+ Hf8BlAGWAZQB/wG1AZIBXQH/AYQBXwFVAf9IAAMDAQQDXAHNAagBkwFAAf0B5gHLAbQB/wHeAbcBkAH/
+ AeMBuwGUAf8B4AG6AZQB/wHOAasBiAH/AbgBmQFSAf8DWgHFIAABrQGyAbUF/wHvAesB5wH/Ac4BywHO
Af8BvQG6Ab0B/wG1AbIBtQn/AZQBkgGUAf8gAAGtAbIBtQX/Ae8B6wHnAf8BzgHLAc4B/wG9AboBvQH/
- AbUBsgG1Cf8BlAGSAZQB/wHGAZ4BbwH/AYwBbQFfAf9IAAMEAQUDWQG+AcYBpQGFAf8B5gHQAb0B/wHi
- Ab0BnAH/AeYBvwGXAf8B6AHDAZ8B/wHbAboBmAH/AcABnwFfAf8DXAHMEAABvQHDAbUB/wE8ATsBPAH/
- ATwBOwE8Af8BPAE7ATwB/wGtAbIBtRX/ATwBOwH3Af8BIwEmAdYB/wGUAZIBlAH/ATwBOwE8Af8BPAE7
- ATwB/wE8ATsBPAH/CAABVwGOAW8B/wFGAYoBZwH/AU4BigFnAf8BrQGyAbUV/wE+AT0B9wH/ASUBKAHW
+ AbUBsgG1Cf8BlAGSAZQB/wHGAZ4BZQH/AYwBYwFVAf9IAAMEAQUDWQG+AcYBpQGFAf8B5gHQAb0B/wHi
+ Ab0BnAH/AeYBvwGXAf8B6AHDAZ8B/wHbAboBmAH/AcABnwFVAf8DXAHMEAABvQHDAbUB/wEyATEBMgH/
+ ATIBMQEyAf8BMgExATIB/wGtAbIBtRX/ATIBMQH3Af8BGQEcAdYB/wGUAZIBlAH/ATIBMQEyAf8BMgEx
+ ATIB/wEyATEBMgH/CAABTQGOAWUB/wE8AYoBXQH/AUQBigFdAf8BrQGyAbUV/wE0ATMB9wH/ARsBHgHW
Af8BlAGSAZQB/wHeAbIBhAH/AZwBkgGEAf9LAAEBA1MBqgHZAbEBkAH/AeYB1AHBAf8B8wHSAbMB/wHq
AcEBmAH/Ae0BzAGqAf8B4AHCAaQB/wHDAaMBggH/A14B3RAAAb0BwwG1C/8B9wH/Aa0BugG1Ff8BpQGi
- AfcB/wGMAY4B3gH/AZQBkgGUAf8B7wHjAdYC/wH3Ae8B/wGcAZ4BlAH/BAABVwG6AYwB/wFfAcsBnAH/
- AU4BugGMAf8BhAHHAaUB/wGtAboBtRX/AaUBogH3Af8BjAGOAd4B/wGUAZIBlAH/Ac4BpgFvAf9MAAMB
- AQIDAQECA2UB5QHQAcMBsgH/AcgBwwG7Af8B1wG3AZcB/wHrAcQBnQH/AeEBvgGbAf8BzgGmAV8B/wNN
+ AfcB/wGMAY4B3gH/AZQBkgGUAf8B7wHjAdYC/wH3Ae8B/wGcAZ4BlAH/BAABTQG6AYwB/wFVAcsBnAH/
+ AUQBugGMAf8BhAHHAaUB/wGtAboBtRX/AaUBogH3Af8BjAGOAd4B/wGUAZIBlAH/Ac4BpgFlAf9MAAMB
+ AQIDAQECA2UB5QHQAcMBsgH/AcgBwwG7Af8B1wG3AZcB/wHrAcQBnQH/AeEBvgGbAf8BzgGmAVUB/wNN
AZEQAAG9AcMBtQX/AfcB7wHnAf8B9wHvAecB/wGtAboBtQH/Aa0BsgG1Af8BrQGyAa0B/wGlAa4BrQH/
AaUBpgGlAf8BnAGiAZwB/wGcAZ4BlAH/AZwBlgGUAf8BlAGWAZQB/wH3Ae8B5wH/AfcB7wHnAf8BnAGe
- AZQB/wQAAW8BwwGlAf8BZwG6AZQB/wFGAa4BhAH/AcYB4wHOAf8BrQG6AbUB/wGtAbIBtQH/Aa0BsgGt
+ AZQB/wQAAWUBwwGlAf8BXQG6AZQB/wE8Aa4BhAH/AcYB4wHOAf8BrQG6AbUB/wGtAbIBtQH/Aa0BsgGt
Af8BpQGuAa0B/wGlAaYBpQH/AZwBogGcAf8BnAGeAZwB/wGcAZYBlAH/AZQBkgGUAf9XAAEBAx8BLQNc
- AckBAAErAVwB/wEvAUkBgwH/AcYBpgGHAf8DYQHuA04BmAMHAQoQAAG9AcMBtQX/Ae8B3wHWAf8B1gG+
+ AckBAAEhAVIB/wElAT8BgwH/AcYBpgGHAf8DYQHuA04BmAMHAQoQAAG9AcMBtQX/Ae8B3wHWAf8B1gG+
Aa0B/wHGAbIBpQH/AcYBsgGlAf8BzgG6AaUB/wHnAd8B1gH/AfcB7wHnAf8B9wHvAecB/wH3Ae8B5wH/
- AfcB7wHnAf8B9wHvAecB/wH3Ae8B5wH/AfcB7wHnAf8BnAGeAZQB/wQAAYQBwwGlAf8BbwHPAaUB/wFX
- AboBjAH/Ab0B1wHOAf8BpQHDAbUB/wFOAaYBbwH/ASUBhgFGAf8BVwGGAYQB/wE2AVEBhAH/AQABMAFn
- Af8BDAE9AW8B/wG9AaoBlAH/VwABAQMAAQEDEAEWA1ABmgEQATUBXAH/AQcBMQFcAf8DVQG1Az8BbAQA
+ AfcB7wHnAf8B9wHvAecB/wH3Ae8B5wH/AfcB7wHnAf8BnAGeAZQB/wQAAYQBwwGlAf8BZQHPAaUB/wFN
+ AboBjAH/Ab0B1wHOAf8BpQHDAbUB/wFEAaYBZQH/ARsBhgE8Af8BTQGGAYQB/wEsAUcBhAH/AQABJgFd
+ Af8BAgEzAWUB/wG9AaoBlAH/VwABAQMAAQEDEAEWA1ABmgEGASsBUgH/AQABJwFSAf8DVQG1Az8BbAQA
AwIBAxAAAb0BwwG1Bf8BxgGuAZwR/wHWAb4BrQH/AfcB7wHnAf8B9wHvAecB/wH3Ae8B5wH/AfcB7wHn
- Af8B9wHvAecB/wH3Ae8B5wH/AfcB7wHnAf8BnAGeAZQB/wgAAYwB2wGlAf8BVwGqAZQB/wFXAYIBvQH/
- AT4BXQFvAf8BVwGWAV8B/wGMAbYBpQH/ATYBYQGcAf8BLQFZAZQB/wE2AV0BjAH/AR0BRQFvAf9YAAMD
- AQQDAgEDAyEBMAFYAl8B4wEsAVMBmwH/AScBTAGTAf8BFQE7AYEB/wMkATYYAAG9AcMBtQL/AvcB/wHG
+ Af8B9wHvAecB/wH3Ae8B5wH/AfcB7wHnAf8BnAGeAZQB/wgAAYwB2wGlAf8BTQGqAZQB/wFNAYIBvQH/
+ ATQBUwFlAf8BTQGWAVUB/wGMAbYBpQH/ASwBVwGcAf8BIwFPAZQB/wEsAVMBjAH/ARMBOwFlAf9YAAMD
+ AQQDAgEDAyEBMAFYAl8B4wEiAUkBmwH/AR0BQgGTAf8BCwExAYEB/wMkATYYAAG9AcMBtQL/AvcB/wHG
Aa4BnBH/Ad4BwwG9Af8B9wHvAecB/wHGAbIBpQH/AcYBsgGlAf8BxgGyAaUB/wHGAbIBpQH/AcYBsgGl
- Af8B9wHvAecB/wGcAZ4BlAH/DAABNgFpAW8B/wFXAYIBvQH/AT4BXQFvAf8D9wH/A/cB/wFvAZ4BxgH/
- AVcBigG1Af8BRgFxAaUB/wE2AV0BjAH/WAADBAEGBAADRwGCA2IB9gFKAZABtgH/ATsBgQGnAf8BIQFJ
+ Af8B9wHvAecB/wGcAZ4BlAH/DAABLAFfAWUB/wFNAYIBvQH/ATQBUwFlAf8D9wH/A/cB/wFlAZ4BxgH/
+ AU0BigG1Af8BPAFnAaUB/wEsAVMBjAH/WAADBAEGBAADRwGCA2IB9gFAAZABtgH/ATEBgQGnAf8BFwE/
AZAB/wNSAaEDBQEHFAABvQHDAbUC/wL3Af8BzgG6AaUR/wHeAcMBvQH/AfcB7wHnAf8B1gHDAbUB/wHW
- AccBvQH/AdYBxwG9Af8B1gHHAb0B/wHWAcMBtQH/AfcB7wHnAf8BnAGeAZQB/wgAAWcBhgGUAf8BPgFt
- AZwB/wGMAbIB3gH/AYQBqgHWAf8BVwFlAYQB/wGMAZYBpQH/AZQBugHeAf8BhAGuAdYB/wFXAZIBvQH/
- AS0BWQGMAf8BXwFlAWcB/1QAAwQBBgMAAQEDPwFsAVwBbwF2AfgBggGoAc4B/wFKAZEBuAH/ASwBTgGS
- Af8BEQEhATEB/wMkATUUAAG9AcMBtQP/AfcB/wHOAcMBtRH/AdYBxwG9Af8B9wHvAecB/wHWAcMBtQH/
- AdYBwwG1Af8B1gHDAbUB/wHWAccBvQH/AdYBwwG1Av8B9wHvAf8BnAGeAZQB/wgAAU4BjgGlAf8BlAG2
- Ad4B/wG1AdsC/wGlAc8C/wFXAXEBnAH/AaUBtgHGAf8BvQHbAv8BnAHHAe8B/wFfAZ4BzgH/AS0BOQFG
- Af8BLQEsASUB/1QAAwEBAgMAAQEBwwHQAdoB/wFqAXoBhAH5AZsBvwHlAf8BUwGdAccB/wErAT8BVAH/
- ARMBDwEMAf8DMgFQFAABvQHDAbUF/wHvAd8B1gH/AcYBsgGlAf8BxgGyAaUB/wHGAbIBpQH/AcYBrgGc
- Af8B7wHfAdYB/wH3Ae8B5wH/AcYBsgGlAf8BxgGyAaUB/wHGAbIBpQH/AcYBsgGlAf8BxgGyAaUC/wH3
- Ae8B/wGcAZYBlAH/CAABXwGeAb0B/wGtAc8B5wH/Ad4B+wL/AaUBywH3Af8BXwGeAc4B/wHeAecB7wH/
- Aa0BvgHWAf8BhAGeAb0B/wFXAYIBnAH/AS0BLAEtAf8BRgFBAT4B/1cAAQEIAAJZAVwB9QFfAZIBpgH/
- AUkBXAGOAf8BLwEyATYB/wEZARgBFwH/AyQBNRQAAb0BwwG1Bf8B9wHvAecC/wHvAecB/wH3Ae8B5wL/
- AfcB7wH/AfcB7wHnAf8B9wHvAecH/wH3Av8C9wH/A/cB/wH3AfMB7wH/AfcB7wHnA/8B9wH/AZwBngGU
- Af8IAAFvAaoBvQH/AWcBrgHGAf8BnAHDAc4B/wGUAbYB3gH/AUYBaQGcAf8EAAHGAb4BvQH/AYQBcQFv
- Af8BVwFVAU4B/wFXAVEBTgH/XwABAQQAA0wBkgNiAekBQwE/ATwB/ANZAfIDUQGcAwQBBRQAAb0BwwG1
- Hf8BnAGeAZQB/wG9Ab4BtQH/Ab0BvgG1Af8BvQHDAbUB/wG9Ab4BtQH/Ab0BvgG1Af8BvQG+AbUB/wG9
- Ab4BtQH/CAABrQHDAcYB/wGEAccB1gH/AVcBngG1Af8BTgGWAbUB/wEtAV0BbwH/bAADCgENBAADCgEN
- BAADFQEdAygBPAMeASscAAG9AcMBtQH/Ab0BwwG1Af8BvQHDAbUB/wG9AcMBtQH/Ab0BwwG1Af8BvQHD
- AbUB/wG9AcMBtQH/Ab0BwwG1Af8BvQHDAbUB/ygAAc4C7wH/AaUB4wH3Af8BhAHLAdYB/wFvAbIBvQH/
- /wBlAAFCAU0BPgcAAT4DAAEoAwABQAMAARADAAEBAQABAQUAAYAXAAP/AQAC/wHwAQcB+AEBAgAB4AEP
- AfABBwH4AwABwAEPAfABBwH4AwABwAEPAgABwAMAAcABDwIAAYABAQIAAcABDwIAAYABAwIAAeABDwIA
- AYABBwIAAcABLwIAAcABDwIAAcABPwIAAeABDwIAAdABHwIAAcABBwIAAcABHwIAAcABBwIAAcABHwIA
- AcABBwIAAdgBHwIAAcEBDwIAAegBHwIAAcEB/wIAAdQBfwEAAX8B4QH/AgAG/wIACw==
+ AccBvQH/AdYBxwG9Af8B1gHHAb0B/wHWAcMBtQH/AfcB7wHnAf8BnAGeAZQB/wgAAV0BhgGUAf8BNAFj
+ AZwB/wGMAbIB3gH/AYQBqgHWAf8BTQFbAYQB/wGMAZYBpQH/AZQBugHeAf8BhAGuAdYB/wFNAZIBvQH/
+ ASMBTwGMAf8BVQFbAV0B/1QAAwQBBgMAAQEDPwFsAVwBXQFrAfgBggGoAc4B/wFAAZEBuAH/ASIBRAGS
+ Af8BBwEXAScB/wMkATUUAAG9AcMBtQP/AfcB/wHOAcMBtRH/AdYBxwG9Af8B9wHvAecB/wHWAcMBtQH/
+ AdYBwwG1Af8B1gHDAbUB/wHWAccBvQH/AdYBwwG1Av8B9wHvAf8BnAGeAZQB/wgAAUQBjgGlAf8BlAG2
+ Ad4B/wG1AdsC/wGlAc8C/wFNAWcBnAH/AaUBtgHGAf8BvQHbAv8BnAHHAe8B/wFVAZ4BzgH/ASMBLwE8
+ Af8BIwEiARsB/1QAAwEBAgMAAQEBwwHQAdoB/wJqAXEB+QGbAb8B5QH/AUkBnQHHAf8BIQE1AUoB/wEJ
+ AQUBAgH/AzIBUBQAAb0BwwG1Bf8B7wHfAdYB/wHGAbIBpQH/AcYBsgGlAf8BxgGyAaUB/wHGAa4BnAH/
+ Ae8B3wHWAf8B9wHvAecB/wHGAbIBpQH/AcYBsgGlAf8BxgGyAaUB/wHGAbIBpQH/AcYBsgGlAv8B9wHv
+ Af8BnAGWAZQB/wgAAVUBngG9Af8BrQHPAecB/wHeAfsC/wGlAcsB9wH/AVUBngHOAf8B3gHnAe8B/wGt
+ Ab4B1gH/AYQBngG9Af8BTQGCAZwB/wEjASIBIwH/ATwBNwE0Af9XAAEBCAADWQH1AVUBkgGmAf8BPwFS
+ AY4B/wElASgBLAH/AQ8BDgENAf8DJAE1FAABvQHDAbUF/wH3Ae8B5wL/Ae8B5wH/AfcB7wHnAv8B9wHv
+ Af8B9wHvAecB/wH3Ae8B5wf/AfcC/wL3Af8D9wH/AfcB8wHvAf8B9wHvAecD/wH3Af8BnAGeAZQB/wgA
+ AWUBqgG9Af8BXQGuAcYB/wGcAcMBzgH/AZQBtgHeAf8BPAFfAZwB/wQAAcYBvgG9Af8BhAFnAWUB/wFN
+ AUsBRAH/AU0BRwFEAf9fAAEBBAADTAGSA2IB6QE3ATUBMgH8A1kB8gNRAZwDBAEFFAABvQHDAbUd/wGc
+ AZ4BlAH/Ab0BvgG1Af8BvQG+AbUB/wG9AcMBtQH/Ab0BvgG1Af8BvQG+AbUB/wG9Ab4BtQH/Ab0BvgG1
+ Af8IAAGtAcMBxgH/AYQBxwHWAf8BTQGeAbUB/wFEAZYBtQH/ASMBUwFlAf9sAAMKAQ0EAAMKAQ0EAAMV
+ AR0DKAE8Ax4BKxwAAb0BwwG1Af8BvQHDAbUB/wG9AcMBtQH/Ab0BwwG1Af8BvQHDAbUB/wG9AcMBtQH/
+ Ab0BwwG1Af8BvQHDAbUB/wG9AcMBtQH/KAABzgLvAf8BpQHjAfcB/wGEAcsB1gH/AWUBsgG9Af//AGUA
+ AUIBTQE+BwABPgMAASgDAAFAAwABEAMAAQEBAAEBBQABgBcAA/8BAAL/AfABBwH4AQECAAHgAQ8B8AEH
+ AfgDAAHAAQ8B8AEHAfgDAAHAAQ8CAAHAAwABwAEPAgABgAEBAgABwAEPAgABgAEDAgAB4AEPAgABgAEH
+ AgABwAEvAgABwAEPAgABwAE/AgAB4AEPAgAB0AEfAgABwAEHAgABwAEfAgABwAEHAgABwAEfAgABwAEH
+ AgAB2AEfAgABwQEPAgAB6AEfAgABwQH/AgAB1AF/AQABfwHhAf8CAAb/AgAL
-
+
AAABAAoAAAAAAAEACADKTwAApgAAADAwAAABAAgAqA4AAHBQAAAgIAAAAQAIAKgIAAAYXwAAGBgAAAEA
diff --git a/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/Global.cs b/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/Global.cs
index c2c1a389..539d7e3d 100644
--- a/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/Global.cs
+++ b/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/Global.cs
@@ -81,6 +81,7 @@ namespace WebsitePanel.Import.Enterprise
public static string ErrorMessage;
public static bool ImportAccountsOnly;
public static bool HasErrors;
+ public static int defaultMailboxPlanId;
}
}
diff --git a/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/OrganizationImporter.cs b/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/OrganizationImporter.cs
index e8f7f563..3068f97d 100644
--- a/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/OrganizationImporter.cs
+++ b/WebsitePanel/Sources/Tools/WebsitePanel.Import.Enterprise/OrganizationImporter.cs
@@ -51,7 +51,6 @@ namespace WebsitePanel.Import.Enterprise
private ProgressBar progressBar;
private ApplicationForm appForm;
private Button btnImport;
-
private Thread thread;
@@ -780,27 +779,53 @@ namespace WebsitePanel.Import.Enterprise
return userId;
}
int mailboxType = (int)type.Value;
- ExchangeAccountType accountType = ExchangeAccountType.Undefined;
- switch (mailboxType)
- {
- case 1073741824:
- Log.WriteInfo("Account type : mailbox");
- accountType = ExchangeAccountType.Mailbox;
- break;
- case 7:
- Log.WriteInfo("Account type : room");
- accountType = ExchangeAccountType.Room;
- break;
- case 8:
- Log.WriteInfo("Account type : equipment");
- accountType = ExchangeAccountType.Equipment;
- break;
- default:
- Log.WriteInfo("Account type : unknown");
- return userId;
- }
- UpdateExchangeAccount(userId, accountName, accountType, displayName, email, false, string.Empty, samName, string.Empty);
+ int mailboxTypeDetails = 0;
+ PropertyValueCollection typeDetails = entry.Properties["msExchRecipientTypeDetails"];
+ if (typeDetails!=null)
+ {
+ if (typeDetails.Value != null)
+ {
+ try
+ {
+ object adsLargeInteger = typeDetails.Value;
+ mailboxTypeDetails = (Int32)adsLargeInteger.GetType().InvokeMember("LowPart", System.Reflection.BindingFlags.GetProperty, null, adsLargeInteger, null);
+ }
+ catch { } // just skip
+
+ }
+ }
+
+ ExchangeAccountType accountType = ExchangeAccountType.Undefined;
+
+ if (mailboxTypeDetails == 4)
+ {
+ Log.WriteInfo("Account type : shared mailbox");
+ accountType = ExchangeAccountType.SharedMailbox;
+ }
+ else
+ {
+ switch (mailboxType)
+ {
+ case 1073741824:
+ Log.WriteInfo("Account type : mailbox");
+ accountType = ExchangeAccountType.Mailbox;
+ break;
+ case 7:
+ Log.WriteInfo("Account type : room");
+ accountType = ExchangeAccountType.Room;
+ break;
+ case 8:
+ Log.WriteInfo("Account type : equipment");
+ accountType = ExchangeAccountType.Equipment;
+ break;
+ default:
+ Log.WriteInfo("Account type : unknown");
+ return userId;
+ }
+ }
+
+ UpdateExchangeAccount(userId, accountName, accountType, displayName, email, false, string.Empty, samName, string.Empty, Global.defaultMailboxPlanId);
string defaultEmail = (string)entry.Properties["extensionAttribute3"].Value;
@@ -813,18 +838,16 @@ namespace WebsitePanel.Import.Enterprise
if (emailAddress.ToLower().StartsWith("smtp:"))
emailAddress = emailAddress.Substring(5);
-
- if (!emailAddress.Equals(defaultEmail, StringComparison.InvariantCultureIgnoreCase))
+ if (EmailAddressExists(emailAddress))
{
- if (EmailAddressExists(emailAddress))
- {
- Log.WriteInfo(string.Format("Email address {0} already exists. Skipped", emailAddress));
- continue;
- }
- // register email address
- Log.WriteInfo(string.Format("Importing email {0}", emailAddress));
- AddAccountEmailAddress(userId, emailAddress);
+ if ((!emailAddress.Equals(defaultEmail, StringComparison.InvariantCultureIgnoreCase)) && (!emailAddress.Equals(email, StringComparison.InvariantCultureIgnoreCase)))
+ Log.WriteInfo(string.Format("Email address {0} already exists. Skipped", emailAddress));
+
+ continue;
}
+ // register email address
+ Log.WriteInfo(string.Format("Importing email {0}", emailAddress));
+ AddAccountEmailAddress(userId, emailAddress);
}
}
Log.WriteEnd("User imported");
@@ -963,7 +986,7 @@ namespace WebsitePanel.Import.Enterprise
private static void UpdateExchangeAccount(int accountId, string accountName, ExchangeAccountType accountType,
string displayName, string primaryEmailAddress, bool mailEnabledPublicFolder,
- string mailboxManagerActions, string samAccountName, string accountPassword)
+ string mailboxManagerActions, string samAccountName, string accountPassword, int mailboxPlanId)
{
DataProvider.UpdateExchangeAccount(accountId,
accountName,
@@ -973,7 +996,7 @@ namespace WebsitePanel.Import.Enterprise
mailEnabledPublicFolder,
mailboxManagerActions,
samAccountName,
- CryptoUtils.Encrypt(accountPassword), 0, -1, string.Empty, false);
+ CryptoUtils.Encrypt(accountPassword), mailboxPlanId , -1, string.Empty, false);
}
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Packages/Quotas.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Packages/Quotas.cs
index 1d2702c2..2c3ec20d 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Packages/Quotas.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Packages/Quotas.cs
@@ -123,6 +123,9 @@ order by rg.groupOrder
public const string EXCHANGE2013_ARCHIVINGSTORAGE = "Exchange2013.ArchivingStorage"; // Archiving
public const string EXCHANGE2013_ARCHIVINGMAILBOXES = "Exchange2013.ArchivingMailboxes";
+ public const string EXCHANGE2013_SHAREDMAILBOXES = "Exchange2013.SharedMailboxes"; // Shared and resource mailboxes
+ public const string EXCHANGE2013_RESOURCEMAILBOXES = "Exchange2013.ResourceMailboxes";
+
public const string MSSQL2000_DATABASES = "MsSQL2000.Databases"; // Databases
public const string MSSQL2000_USERS = "MsSQL2000.Users"; // Users
public const string MSSQL2000_MAXDATABASESIZE = "MsSQL2000.MaxDatabaseSize"; // Max Database Size
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Servers/DomainInfo.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Servers/DomainInfo.cs
index a05cfdc7..f0f240e7 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Servers/DomainInfo.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Servers/DomainInfo.cs
@@ -147,5 +147,10 @@ namespace WebsitePanel.EnterpriseServer
get { return this.instantAliasName; }
set { this.instantAliasName = value; }
}
+
+ public DateTime? CreationDate { get; set; }
+ public DateTime? ExpirationDate { get; set; }
+ public DateTime? LastUpdateDate { get; set; }
+ public string RegistrarName { get; set; }
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Users/UserSettings.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Users/UserSettings.cs
index b573fbd6..da8ad05c 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Users/UserSettings.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Base/Users/UserSettings.cs
@@ -45,6 +45,8 @@ namespace WebsitePanel.EnterpriseServer
public const string HOSTED_SOLUTION_REPORT = "HostedSoluitonReportSummaryLetter";
public const string ORGANIZATION_USER_SUMMARY_LETTER = "OrganizationUserSummaryLetter";
public const string VPS_SUMMARY_LETTER = "VpsSummaryLetter";
+ public const string DOMAIN_EXPIRATION_LETTER = "DomainExpirationLetter";
+ public const string DOMAIN_LOOKUP_LETTER = "DomainLookupLetter";
public const string WEB_POLICY = "WebPolicy";
public const string FTP_POLICY = "FtpPolicy";
public const string MAIL_POLICY = "MailPolicy";
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/OrganizationProxy.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/OrganizationProxy.cs
index 49ac8082..576ff692 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/OrganizationProxy.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/OrganizationProxy.cs
@@ -1,7 +1,41 @@
+// Copyright (c) 2014, Outercurve Foundation.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// - Redistributions of source code must retain the above copyright notice, this
+// list of conditions and the following disclaimer.
+//
+// - Redistributions in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// - Neither the name of the Outercurve Foundation nor the names of its
+// contributors may be used to endorse or promote products derived from this
+// software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+using WebsitePanel.Providers;
+using WebsitePanel.Providers.Common;
+using WebsitePanel.Providers.HostedSolution;
+using WebsitePanel.Providers.ResultObjects;
+using WebsitePanel.EnterpriseServer.Base.HostedSolution;
+
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:2.0.50727.6413
+// Runtime Version:2.0.50727.5466
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -11,13 +45,6 @@
//
// This source code was auto-generated by wsdl, Version=2.0.50727.42.
//
-
-using WebsitePanel.EnterpriseServer.Base.HostedSolution;
-using WebsitePanel.Providers;
-using WebsitePanel.Providers.Common;
-using WebsitePanel.Providers.HostedSolution;
-using WebsitePanel.Providers.ResultObjects;
-
namespace WebsitePanel.EnterpriseServer.HostedSolution {
using System.Xml.Serialization;
using System.Web.Services;
@@ -44,8 +71,6 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution {
private System.Threading.SendOrPostCallback GetOrganizationsOperationCompleted;
- private System.Threading.SendOrPostCallback GetOrganizationByIdOperationCompleted;
-
private System.Threading.SendOrPostCallback GetOrganizationUserSummuryLetterOperationCompleted;
private System.Threading.SendOrPostCallback SendOrganizationUserSummuryLetterOperationCompleted;
@@ -72,6 +97,10 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution {
private System.Threading.SendOrPostCallback SetOrganizationDefaultDomainOperationCompleted;
+ private System.Threading.SendOrPostCallback GetOrganizationObjectsByDomainOperationCompleted;
+
+ private System.Threading.SendOrPostCallback CheckDomainUsedByHostedOrganizationOperationCompleted;
+
private System.Threading.SendOrPostCallback CreateUserOperationCompleted;
private System.Threading.SendOrPostCallback ImportUserOperationCompleted;
@@ -145,9 +174,6 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution {
///
public event GetOrganizationsCompletedEventHandler GetOrganizationsCompleted;
- ///
- public event GetOrganizationByIdCompletedEventHandler GetOrganizationByIdCompleted;
-
///
public event GetOrganizationUserSummuryLetterCompletedEventHandler GetOrganizationUserSummuryLetterCompleted;
@@ -187,6 +213,12 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution {
///
public event SetOrganizationDefaultDomainCompletedEventHandler SetOrganizationDefaultDomainCompleted;
+ ///
+ public event GetOrganizationObjectsByDomainCompletedEventHandler GetOrganizationObjectsByDomainCompleted;
+
+ ///
+ public event CheckDomainUsedByHostedOrganizationCompletedEventHandler CheckDomainUsedByHostedOrganizationCompleted;
+
///
public event CreateUserCompletedEventHandler CreateUserCompleted;
@@ -465,47 +497,6 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution {
}
}
- ///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetOrganizationById", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public Organization GetOrganizationById(string organizationId) {
- object[] results = this.Invoke("GetOrganizationById", new object[] {
- organizationId});
- return ((Organization)(results[0]));
- }
-
- ///
- public System.IAsyncResult BeginGetOrganizationById(string organizationId, System.AsyncCallback callback, object asyncState) {
- return this.BeginInvoke("GetOrganizationById", new object[] {
- organizationId}, callback, asyncState);
- }
-
- ///
- public Organization EndGetOrganizationById(System.IAsyncResult asyncResult) {
- object[] results = this.EndInvoke(asyncResult);
- return ((Organization)(results[0]));
- }
-
- ///
- public void GetOrganizationByIdAsync(string organizationId) {
- this.GetOrganizationByIdAsync(organizationId, null);
- }
-
- ///
- public void GetOrganizationByIdAsync(string organizationId, object userState) {
- if ((this.GetOrganizationByIdOperationCompleted == null)) {
- this.GetOrganizationByIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationByIdOperationCompleted);
- }
- this.InvokeAsync("GetOrganizationById", new object[] {
- organizationId}, this.GetOrganizationByIdOperationCompleted, userState);
- }
-
- private void OnGetOrganizationByIdOperationCompleted(object arg) {
- if ((this.GetOrganizationByIdCompleted != null)) {
- System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
- this.GetOrganizationByIdCompleted(this, new GetOrganizationByIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
- }
- }
-
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetOrganizationUserSummuryLetter", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetOrganizationUserSummuryLetter(int itemId, int accountId, bool pmm, bool emailMode, bool signup) {
@@ -1082,6 +1073,94 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution {
}
}
+ ///
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetOrganizationObjectsByDomain", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public System.Data.DataSet GetOrganizationObjectsByDomain(int itemId, string domainName) {
+ object[] results = this.Invoke("GetOrganizationObjectsByDomain", new object[] {
+ itemId,
+ domainName});
+ return ((System.Data.DataSet)(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginGetOrganizationObjectsByDomain(int itemId, string domainName, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("GetOrganizationObjectsByDomain", new object[] {
+ itemId,
+ domainName}, callback, asyncState);
+ }
+
+ ///
+ public System.Data.DataSet EndGetOrganizationObjectsByDomain(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((System.Data.DataSet)(results[0]));
+ }
+
+ ///
+ public void GetOrganizationObjectsByDomainAsync(int itemId, string domainName) {
+ this.GetOrganizationObjectsByDomainAsync(itemId, domainName, null);
+ }
+
+ ///
+ public void GetOrganizationObjectsByDomainAsync(int itemId, string domainName, object userState) {
+ if ((this.GetOrganizationObjectsByDomainOperationCompleted == null)) {
+ this.GetOrganizationObjectsByDomainOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationObjectsByDomainOperationCompleted);
+ }
+ this.InvokeAsync("GetOrganizationObjectsByDomain", new object[] {
+ itemId,
+ domainName}, this.GetOrganizationObjectsByDomainOperationCompleted, userState);
+ }
+
+ private void OnGetOrganizationObjectsByDomainOperationCompleted(object arg) {
+ if ((this.GetOrganizationObjectsByDomainCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.GetOrganizationObjectsByDomainCompleted(this, new GetOrganizationObjectsByDomainCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CheckDomainUsedByHostedOrganization", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool CheckDomainUsedByHostedOrganization(int itemId, int domainId) {
+ object[] results = this.Invoke("CheckDomainUsedByHostedOrganization", new object[] {
+ itemId,
+ domainId});
+ return ((bool)(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginCheckDomainUsedByHostedOrganization(int itemId, int domainId, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("CheckDomainUsedByHostedOrganization", new object[] {
+ itemId,
+ domainId}, callback, asyncState);
+ }
+
+ ///
+ public bool EndCheckDomainUsedByHostedOrganization(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((bool)(results[0]));
+ }
+
+ ///
+ public void CheckDomainUsedByHostedOrganizationAsync(int itemId, int domainId) {
+ this.CheckDomainUsedByHostedOrganizationAsync(itemId, domainId, null);
+ }
+
+ ///
+ public void CheckDomainUsedByHostedOrganizationAsync(int itemId, int domainId, object userState) {
+ if ((this.CheckDomainUsedByHostedOrganizationOperationCompleted == null)) {
+ this.CheckDomainUsedByHostedOrganizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckDomainUsedByHostedOrganizationOperationCompleted);
+ }
+ this.InvokeAsync("CheckDomainUsedByHostedOrganization", new object[] {
+ itemId,
+ domainId}, this.CheckDomainUsedByHostedOrganizationOperationCompleted, userState);
+ }
+
+ private void OnCheckDomainUsedByHostedOrganizationOperationCompleted(object arg) {
+ if ((this.CheckDomainUsedByHostedOrganizationCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.CheckDomainUsedByHostedOrganizationCompleted(this, new CheckDomainUsedByHostedOrganizationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int CreateUser(int itemId, string displayName, string name, string domain, string password, string subscriberNumber, bool sendNotification, string to) {
@@ -2713,32 +2792,6 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution {
}
}
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
- public delegate void GetOrganizationByIdCompletedEventHandler(object sender, GetOrganizationByIdCompletedEventArgs e);
-
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetOrganizationByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-
- private object[] results;
-
- internal GetOrganizationByIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
-
- ///
- public Organization Result {
- get {
- this.RaiseExceptionIfNecessary();
- return ((Organization)(this.results[0]));
- }
- }
- }
-
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void GetOrganizationUserSummuryLetterCompletedEventHandler(object sender, GetOrganizationUserSummuryLetterCompletedEventArgs e);
@@ -3055,6 +3108,58 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution {
}
}
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ public delegate void GetOrganizationObjectsByDomainCompletedEventHandler(object sender, GetOrganizationObjectsByDomainCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class GetOrganizationObjectsByDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal GetOrganizationObjectsByDomainCompletedEventArgs(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 CheckDomainUsedByHostedOrganizationCompletedEventHandler(object sender, CheckDomainUsedByHostedOrganizationCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class CheckDomainUsedByHostedOrganizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal CheckDomainUsedByHostedOrganizationCompletedEventArgs(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 CreateUserCompletedEventHandler(object sender, CreateUserCompletedEventArgs e);
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/RemoteDesktopServicesProxy.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/RemoteDesktopServicesProxy.cs
index d2deb586..8b6f1e32 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/RemoteDesktopServicesProxy.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/RemoteDesktopServicesProxy.cs
@@ -1,35 +1,7 @@
-// Copyright (c) 2014, 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.6400
+// Runtime Version:2.0.50727.7905
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -39,2428 +11,2414 @@
//
// This source code was auto-generated by wsdl, Version=2.0.50727.3038.
//
-
-using WebsitePanel.Providers.Common;
-using WebsitePanel.Providers.HostedSolution;
-using WebsitePanel.Providers.RemoteDesktopServices;
-
namespace WebsitePanel.EnterpriseServer {
- using System;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Web.Services;
- using System.Web.Services.Protocols;
using System.Xml.Serialization;
-
+ using System.Web.Services;
+ using System.ComponentModel;
+ using System.Web.Services.Protocols;
+ using System;
+ using System.Diagnostics;
+ using WebsitePanel.Providers.RemoteDesktopServices;
+ using WebsitePanel.Providers.Common;
+ using WebsitePanel.Providers.HostedSolution;
+
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Web.Services.WebServiceBindingAttribute(Name = "esRemoteDesktopServicesSoap", Namespace = "http://smbsaas/websitepanel/enterpriseserver")]
- public partial class esRemoteDesktopServices : Microsoft.Web.Services3.WebServicesClientProtocol
- {
-
+ [System.Web.Services.WebServiceBindingAttribute(Name="esRemoteDesktopServicesSoap", Namespace="http://smbsaas/websitepanel/enterpriseserver")]
+ public partial class esRemoteDesktopServices : Microsoft.Web.Services3.WebServicesClientProtocol {
+
private System.Threading.SendOrPostCallback GetRdsCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetOrganizationRdsCollectionsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddRdsCollectionOperationCompleted;
-
+
+ private System.Threading.SendOrPostCallback EditRdsCollectionOperationCompleted;
+
private System.Threading.SendOrPostCallback GetRdsCollectionsPagedOperationCompleted;
-
+
private System.Threading.SendOrPostCallback RemoveRdsCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetRdsServersPagedOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetFreeRdsServersPagedOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetOrganizationRdsServersPagedOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetOrganizationFreeRdsServersPagedOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetRdsServerOperationCompleted;
-
+
+ private System.Threading.SendOrPostCallback SetRDServerNewConnectionAllowedOperationCompleted;
+
private System.Threading.SendOrPostCallback GetCollectionRdsServersOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetOrganizationRdsServersOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddRdsServerOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddRdsServerToCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddRdsServerToOrganizationOperationCompleted;
-
+
private System.Threading.SendOrPostCallback RemoveRdsServerOperationCompleted;
-
+
private System.Threading.SendOrPostCallback RemoveRdsServerFromCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback RemoveRdsServerFromOrganizationOperationCompleted;
-
+
private System.Threading.SendOrPostCallback UpdateRdsServerOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetRdsCollectionUsersOperationCompleted;
-
+
private System.Threading.SendOrPostCallback SetUsersToRdsCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetCollectionRemoteApplicationsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetAvailableRemoteApplicationsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddRemoteApplicationToCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback RemoveRemoteApplicationFromCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback SetRemoteApplicationsToRdsCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetOrganizationRdsUsersCountOperationCompleted;
-
+
+ private System.Threading.SendOrPostCallback GetApplicationUsersOperationCompleted;
+
+ private System.Threading.SendOrPostCallback SetApplicationUsersOperationCompleted;
+
///
- public esRemoteDesktopServices()
- {
+ public esRemoteDesktopServices() {
this.Url = "http://localhost:9002/esRemoteDesktopServices.asmx";
}
-
+
///
public event GetRdsCollectionCompletedEventHandler GetRdsCollectionCompleted;
-
+
///
public event GetOrganizationRdsCollectionsCompletedEventHandler GetOrganizationRdsCollectionsCompleted;
-
+
///
public event AddRdsCollectionCompletedEventHandler AddRdsCollectionCompleted;
-
+
+ ///
+ public event EditRdsCollectionCompletedEventHandler EditRdsCollectionCompleted;
+
///
public event GetRdsCollectionsPagedCompletedEventHandler GetRdsCollectionsPagedCompleted;
-
+
///
public event RemoveRdsCollectionCompletedEventHandler RemoveRdsCollectionCompleted;
-
+
///
public event GetRdsServersPagedCompletedEventHandler GetRdsServersPagedCompleted;
-
+
///
public event GetFreeRdsServersPagedCompletedEventHandler GetFreeRdsServersPagedCompleted;
-
+
///
public event GetOrganizationRdsServersPagedCompletedEventHandler GetOrganizationRdsServersPagedCompleted;
-
+
///
public event GetOrganizationFreeRdsServersPagedCompletedEventHandler GetOrganizationFreeRdsServersPagedCompleted;
-
+
///
public event GetRdsServerCompletedEventHandler GetRdsServerCompleted;
-
+
+ ///
+ public event SetRDServerNewConnectionAllowedCompletedEventHandler SetRDServerNewConnectionAllowedCompleted;
+
///
public event GetCollectionRdsServersCompletedEventHandler GetCollectionRdsServersCompleted;
-
+
///
public event GetOrganizationRdsServersCompletedEventHandler GetOrganizationRdsServersCompleted;
-
+
///
public event AddRdsServerCompletedEventHandler AddRdsServerCompleted;
-
+
///
public event AddRdsServerToCollectionCompletedEventHandler AddRdsServerToCollectionCompleted;
-
+
///
public event AddRdsServerToOrganizationCompletedEventHandler AddRdsServerToOrganizationCompleted;
-
+
///
public event RemoveRdsServerCompletedEventHandler RemoveRdsServerCompleted;
-
+
///
public event RemoveRdsServerFromCollectionCompletedEventHandler RemoveRdsServerFromCollectionCompleted;
-
+
///
public event RemoveRdsServerFromOrganizationCompletedEventHandler RemoveRdsServerFromOrganizationCompleted;
-
+
///
public event UpdateRdsServerCompletedEventHandler UpdateRdsServerCompleted;
-
+
///
public event GetRdsCollectionUsersCompletedEventHandler GetRdsCollectionUsersCompleted;
-
+
///
public event SetUsersToRdsCollectionCompletedEventHandler SetUsersToRdsCollectionCompleted;
-
+
///
public event GetCollectionRemoteApplicationsCompletedEventHandler GetCollectionRemoteApplicationsCompleted;
-
+
///
public event GetAvailableRemoteApplicationsCompletedEventHandler GetAvailableRemoteApplicationsCompleted;
-
+
///
public event AddRemoteApplicationToCollectionCompletedEventHandler AddRemoteApplicationToCollectionCompleted;
-
+
///
public event RemoveRemoteApplicationFromCollectionCompletedEventHandler RemoveRemoteApplicationFromCollectionCompleted;
-
+
///
public event SetRemoteApplicationsToRdsCollectionCompletedEventHandler SetRemoteApplicationsToRdsCollectionCompleted;
-
+
///
public event GetOrganizationRdsUsersCountCompletedEventHandler GetOrganizationRdsUsersCountCompleted;
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRdsCollection", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsCollection GetRdsCollection(int collectionId)
- {
+ public event GetApplicationUsersCompletedEventHandler GetApplicationUsersCompleted;
+
+ ///
+ public event SetApplicationUsersCompletedEventHandler SetApplicationUsersCompleted;
+
+ ///
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRdsCollection", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsCollection GetRdsCollection(int collectionId) {
object[] results = this.Invoke("GetRdsCollection", new object[] {
- collectionId});
+ collectionId});
return ((RdsCollection)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetRdsCollection(int collectionId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetRdsCollection(int collectionId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetRdsCollection", new object[] {
- collectionId}, callback, asyncState);
+ collectionId}, callback, asyncState);
}
-
+
///
- public RdsCollection EndGetRdsCollection(System.IAsyncResult asyncResult)
- {
+ public RdsCollection EndGetRdsCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsCollection)(results[0]));
}
-
+
///
- public void GetRdsCollectionAsync(int collectionId)
- {
+ public void GetRdsCollectionAsync(int collectionId) {
this.GetRdsCollectionAsync(collectionId, null);
}
-
+
///
- public void GetRdsCollectionAsync(int collectionId, object userState)
- {
- if ((this.GetRdsCollectionOperationCompleted == null))
- {
+ public void GetRdsCollectionAsync(int collectionId, object userState) {
+ if ((this.GetRdsCollectionOperationCompleted == null)) {
this.GetRdsCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRdsCollectionOperationCompleted);
}
this.InvokeAsync("GetRdsCollection", new object[] {
- collectionId}, this.GetRdsCollectionOperationCompleted, userState);
+ collectionId}, this.GetRdsCollectionOperationCompleted, userState);
}
-
- private void OnGetRdsCollectionOperationCompleted(object arg)
- {
- if ((this.GetRdsCollectionCompleted != null))
- {
+
+ private void OnGetRdsCollectionOperationCompleted(object arg) {
+ if ((this.GetRdsCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetRdsCollectionCompleted(this, new GetRdsCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetOrganizationRdsCollections", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsCollection[] GetOrganizationRdsCollections(int itemId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetOrganizationRdsCollections", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsCollection[] GetOrganizationRdsCollections(int itemId) {
object[] results = this.Invoke("GetOrganizationRdsCollections", new object[] {
- itemId});
+ itemId});
return ((RdsCollection[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetOrganizationRdsCollections(int itemId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetOrganizationRdsCollections(int itemId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetOrganizationRdsCollections", new object[] {
- itemId}, callback, asyncState);
+ itemId}, callback, asyncState);
}
-
+
///
- public RdsCollection[] EndGetOrganizationRdsCollections(System.IAsyncResult asyncResult)
- {
+ public RdsCollection[] EndGetOrganizationRdsCollections(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsCollection[])(results[0]));
}
-
+
///
- public void GetOrganizationRdsCollectionsAsync(int itemId)
- {
+ public void GetOrganizationRdsCollectionsAsync(int itemId) {
this.GetOrganizationRdsCollectionsAsync(itemId, null);
}
-
+
///
- public void GetOrganizationRdsCollectionsAsync(int itemId, object userState)
- {
- if ((this.GetOrganizationRdsCollectionsOperationCompleted == null))
- {
+ public void GetOrganizationRdsCollectionsAsync(int itemId, object userState) {
+ if ((this.GetOrganizationRdsCollectionsOperationCompleted == null)) {
this.GetOrganizationRdsCollectionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationRdsCollectionsOperationCompleted);
}
this.InvokeAsync("GetOrganizationRdsCollections", new object[] {
- itemId}, this.GetOrganizationRdsCollectionsOperationCompleted, userState);
+ itemId}, this.GetOrganizationRdsCollectionsOperationCompleted, userState);
}
-
- private void OnGetOrganizationRdsCollectionsOperationCompleted(object arg)
- {
- if ((this.GetOrganizationRdsCollectionsCompleted != null))
- {
+
+ private void OnGetOrganizationRdsCollectionsOperationCompleted(object arg) {
+ if ((this.GetOrganizationRdsCollectionsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetOrganizationRdsCollectionsCompleted(this, new GetOrganizationRdsCollectionsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddRdsCollection", RequestNamespace = "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 AddRdsCollection(int itemId, RdsCollection collection)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddRdsCollection", RequestNamespace="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 AddRdsCollection(int itemId, RdsCollection collection) {
object[] results = this.Invoke("AddRdsCollection", new object[] {
- itemId,
- collection});
+ itemId,
+ collection});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginAddRdsCollection(int itemId, RdsCollection collection, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddRdsCollection(int itemId, RdsCollection collection, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddRdsCollection", new object[] {
- itemId,
- collection}, callback, asyncState);
+ itemId,
+ collection}, callback, asyncState);
}
-
+
///
- public ResultObject EndAddRdsCollection(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndAddRdsCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void AddRdsCollectionAsync(int itemId, RdsCollection collection)
- {
+ public void AddRdsCollectionAsync(int itemId, RdsCollection collection) {
this.AddRdsCollectionAsync(itemId, collection, null);
}
-
+
///
- public void AddRdsCollectionAsync(int itemId, RdsCollection collection, object userState)
- {
- if ((this.AddRdsCollectionOperationCompleted == null))
- {
+ public void AddRdsCollectionAsync(int itemId, RdsCollection collection, object userState) {
+ if ((this.AddRdsCollectionOperationCompleted == null)) {
this.AddRdsCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRdsCollectionOperationCompleted);
}
this.InvokeAsync("AddRdsCollection", new object[] {
- itemId,
- collection}, this.AddRdsCollectionOperationCompleted, userState);
+ itemId,
+ collection}, this.AddRdsCollectionOperationCompleted, userState);
}
-
- private void OnAddRdsCollectionOperationCompleted(object arg)
- {
- if ((this.AddRdsCollectionCompleted != null))
- {
+
+ private void OnAddRdsCollectionOperationCompleted(object arg) {
+ if ((this.AddRdsCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddRdsCollectionCompleted(this, new AddRdsCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRdsCollectionsPaged", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsCollectionPaged GetRdsCollectionsPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/EditRdsCollection", RequestNamespace="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 EditRdsCollection(int itemId, RdsCollection collection) {
+ object[] results = this.Invoke("EditRdsCollection", new object[] {
+ itemId,
+ collection});
+ return ((ResultObject)(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginEditRdsCollection(int itemId, RdsCollection collection, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("EditRdsCollection", new object[] {
+ itemId,
+ collection}, callback, asyncState);
+ }
+
+ ///
+ public ResultObject EndEditRdsCollection(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((ResultObject)(results[0]));
+ }
+
+ ///
+ public void EditRdsCollectionAsync(int itemId, RdsCollection collection) {
+ this.EditRdsCollectionAsync(itemId, collection, null);
+ }
+
+ ///
+ public void EditRdsCollectionAsync(int itemId, RdsCollection collection, object userState) {
+ if ((this.EditRdsCollectionOperationCompleted == null)) {
+ this.EditRdsCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEditRdsCollectionOperationCompleted);
+ }
+ this.InvokeAsync("EditRdsCollection", new object[] {
+ itemId,
+ collection}, this.EditRdsCollectionOperationCompleted, userState);
+ }
+
+ private void OnEditRdsCollectionOperationCompleted(object arg) {
+ if ((this.EditRdsCollectionCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.EditRdsCollectionCompleted(this, new EditRdsCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRdsCollectionsPaged", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsCollectionPaged GetRdsCollectionsPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) {
object[] results = this.Invoke("GetRdsCollectionsPaged", new object[] {
- itemId,
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows});
+ itemId,
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows});
return ((RdsCollectionPaged)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetRdsCollectionsPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetRdsCollectionsPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetRdsCollectionsPaged", new object[] {
- itemId,
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows}, callback, asyncState);
+ itemId,
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows}, callback, asyncState);
}
-
+
///
- public RdsCollectionPaged EndGetRdsCollectionsPaged(System.IAsyncResult asyncResult)
- {
+ public RdsCollectionPaged EndGetRdsCollectionsPaged(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsCollectionPaged)(results[0]));
}
-
+
///
- public void GetRdsCollectionsPagedAsync(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
- {
+ public void GetRdsCollectionsPagedAsync(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) {
this.GetRdsCollectionsPagedAsync(itemId, filterColumn, filterValue, sortColumn, startRow, maximumRows, null);
}
-
+
///
- public void GetRdsCollectionsPagedAsync(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState)
- {
- if ((this.GetRdsCollectionsPagedOperationCompleted == null))
- {
+ public void GetRdsCollectionsPagedAsync(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) {
+ if ((this.GetRdsCollectionsPagedOperationCompleted == null)) {
this.GetRdsCollectionsPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRdsCollectionsPagedOperationCompleted);
}
this.InvokeAsync("GetRdsCollectionsPaged", new object[] {
- itemId,
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows}, this.GetRdsCollectionsPagedOperationCompleted, userState);
+ itemId,
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows}, this.GetRdsCollectionsPagedOperationCompleted, userState);
}
-
- private void OnGetRdsCollectionsPagedOperationCompleted(object arg)
- {
- if ((this.GetRdsCollectionsPagedCompleted != null))
- {
+
+ private void OnGetRdsCollectionsPagedOperationCompleted(object arg) {
+ if ((this.GetRdsCollectionsPagedCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetRdsCollectionsPagedCompleted(this, new GetRdsCollectionsPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RemoveRdsCollection", RequestNamespace = "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 RemoveRdsCollection(int itemId, RdsCollection collection)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RemoveRdsCollection", RequestNamespace="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 RemoveRdsCollection(int itemId, RdsCollection collection) {
object[] results = this.Invoke("RemoveRdsCollection", new object[] {
- itemId,
- collection});
+ itemId,
+ collection});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginRemoveRdsCollection(int itemId, RdsCollection collection, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginRemoveRdsCollection(int itemId, RdsCollection collection, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveRdsCollection", new object[] {
- itemId,
- collection}, callback, asyncState);
+ itemId,
+ collection}, callback, asyncState);
}
-
+
///
- public ResultObject EndRemoveRdsCollection(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndRemoveRdsCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void RemoveRdsCollectionAsync(int itemId, RdsCollection collection)
- {
+ public void RemoveRdsCollectionAsync(int itemId, RdsCollection collection) {
this.RemoveRdsCollectionAsync(itemId, collection, null);
}
-
+
///
- public void RemoveRdsCollectionAsync(int itemId, RdsCollection collection, object userState)
- {
- if ((this.RemoveRdsCollectionOperationCompleted == null))
- {
+ public void RemoveRdsCollectionAsync(int itemId, RdsCollection collection, object userState) {
+ if ((this.RemoveRdsCollectionOperationCompleted == null)) {
this.RemoveRdsCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveRdsCollectionOperationCompleted);
}
this.InvokeAsync("RemoveRdsCollection", new object[] {
- itemId,
- collection}, this.RemoveRdsCollectionOperationCompleted, userState);
+ itemId,
+ collection}, this.RemoveRdsCollectionOperationCompleted, userState);
}
-
- private void OnRemoveRdsCollectionOperationCompleted(object arg)
- {
- if ((this.RemoveRdsCollectionCompleted != null))
- {
+
+ private void OnRemoveRdsCollectionOperationCompleted(object arg) {
+ if ((this.RemoveRdsCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RemoveRdsCollectionCompleted(this, new RemoveRdsCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRdsServersPaged", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsServersPaged GetRdsServersPaged(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRdsServersPaged", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsServersPaged GetRdsServersPaged(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) {
object[] results = this.Invoke("GetRdsServersPaged", new object[] {
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows});
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows});
return ((RdsServersPaged)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetRdsServersPaged(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetRdsServersPaged(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetRdsServersPaged", new object[] {
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows}, callback, asyncState);
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows}, callback, asyncState);
}
-
+
///
- public RdsServersPaged EndGetRdsServersPaged(System.IAsyncResult asyncResult)
- {
+ public RdsServersPaged EndGetRdsServersPaged(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsServersPaged)(results[0]));
}
-
+
///
- public void GetRdsServersPagedAsync(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
- {
+ public void GetRdsServersPagedAsync(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) {
this.GetRdsServersPagedAsync(filterColumn, filterValue, sortColumn, startRow, maximumRows, null);
}
-
+
///
- public void GetRdsServersPagedAsync(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState)
- {
- if ((this.GetRdsServersPagedOperationCompleted == null))
- {
+ public void GetRdsServersPagedAsync(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) {
+ if ((this.GetRdsServersPagedOperationCompleted == null)) {
this.GetRdsServersPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRdsServersPagedOperationCompleted);
}
this.InvokeAsync("GetRdsServersPaged", new object[] {
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows}, this.GetRdsServersPagedOperationCompleted, userState);
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows}, this.GetRdsServersPagedOperationCompleted, userState);
}
-
- private void OnGetRdsServersPagedOperationCompleted(object arg)
- {
- if ((this.GetRdsServersPagedCompleted != null))
- {
+
+ private void OnGetRdsServersPagedOperationCompleted(object arg) {
+ if ((this.GetRdsServersPagedCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetRdsServersPagedCompleted(this, new GetRdsServersPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetFreeRdsServersPaged", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsServersPaged GetFreeRdsServersPaged(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetFreeRdsServersPaged", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsServersPaged GetFreeRdsServersPaged(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) {
object[] results = this.Invoke("GetFreeRdsServersPaged", new object[] {
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows});
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows});
return ((RdsServersPaged)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetFreeRdsServersPaged(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetFreeRdsServersPaged(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFreeRdsServersPaged", new object[] {
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows}, callback, asyncState);
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows}, callback, asyncState);
}
-
+
///
- public RdsServersPaged EndGetFreeRdsServersPaged(System.IAsyncResult asyncResult)
- {
+ public RdsServersPaged EndGetFreeRdsServersPaged(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsServersPaged)(results[0]));
}
-
+
///
- public void GetFreeRdsServersPagedAsync(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
- {
+ public void GetFreeRdsServersPagedAsync(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) {
this.GetFreeRdsServersPagedAsync(filterColumn, filterValue, sortColumn, startRow, maximumRows, null);
}
-
+
///
- public void GetFreeRdsServersPagedAsync(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState)
- {
- if ((this.GetFreeRdsServersPagedOperationCompleted == null))
- {
+ public void GetFreeRdsServersPagedAsync(string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) {
+ if ((this.GetFreeRdsServersPagedOperationCompleted == null)) {
this.GetFreeRdsServersPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFreeRdsServersPagedOperationCompleted);
}
this.InvokeAsync("GetFreeRdsServersPaged", new object[] {
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows}, this.GetFreeRdsServersPagedOperationCompleted, userState);
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows}, this.GetFreeRdsServersPagedOperationCompleted, userState);
}
-
- private void OnGetFreeRdsServersPagedOperationCompleted(object arg)
- {
- if ((this.GetFreeRdsServersPagedCompleted != null))
- {
+
+ private void OnGetFreeRdsServersPagedOperationCompleted(object arg) {
+ if ((this.GetFreeRdsServersPagedCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFreeRdsServersPagedCompleted(this, new GetFreeRdsServersPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetOrganizationRdsServersPaged", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsServersPaged GetOrganizationRdsServersPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetOrganizationRdsServersPaged", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsServersPaged GetOrganizationRdsServersPaged(int itemId, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable collectionId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) {
object[] results = this.Invoke("GetOrganizationRdsServersPaged", new object[] {
- itemId,
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows});
+ itemId,
+ collectionId,
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows});
return ((RdsServersPaged)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetOrganizationRdsServersPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetOrganizationRdsServersPaged(int itemId, System.Nullable collectionId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetOrganizationRdsServersPaged", new object[] {
- itemId,
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows}, callback, asyncState);
+ itemId,
+ collectionId,
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows}, callback, asyncState);
}
-
+
///
- public RdsServersPaged EndGetOrganizationRdsServersPaged(System.IAsyncResult asyncResult)
- {
+ public RdsServersPaged EndGetOrganizationRdsServersPaged(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsServersPaged)(results[0]));
}
-
+
///
- public void GetOrganizationRdsServersPagedAsync(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
- {
- this.GetOrganizationRdsServersPagedAsync(itemId, filterColumn, filterValue, sortColumn, startRow, maximumRows, null);
+ public void GetOrganizationRdsServersPagedAsync(int itemId, System.Nullable collectionId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) {
+ this.GetOrganizationRdsServersPagedAsync(itemId, collectionId, filterColumn, filterValue, sortColumn, startRow, maximumRows, null);
}
-
+
///
- public void GetOrganizationRdsServersPagedAsync(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState)
- {
- if ((this.GetOrganizationRdsServersPagedOperationCompleted == null))
- {
+ public void GetOrganizationRdsServersPagedAsync(int itemId, System.Nullable collectionId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) {
+ if ((this.GetOrganizationRdsServersPagedOperationCompleted == null)) {
this.GetOrganizationRdsServersPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationRdsServersPagedOperationCompleted);
}
this.InvokeAsync("GetOrganizationRdsServersPaged", new object[] {
- itemId,
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows}, this.GetOrganizationRdsServersPagedOperationCompleted, userState);
+ itemId,
+ collectionId,
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows}, this.GetOrganizationRdsServersPagedOperationCompleted, userState);
}
-
- private void OnGetOrganizationRdsServersPagedOperationCompleted(object arg)
- {
- if ((this.GetOrganizationRdsServersPagedCompleted != null))
- {
+
+ private void OnGetOrganizationRdsServersPagedOperationCompleted(object arg) {
+ if ((this.GetOrganizationRdsServersPagedCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetOrganizationRdsServersPagedCompleted(this, new GetOrganizationRdsServersPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetOrganizationFreeRdsServersPaged", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsServersPaged GetOrganizationFreeRdsServersPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetOrganizationFreeRdsServersPaged", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsServersPaged GetOrganizationFreeRdsServersPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) {
object[] results = this.Invoke("GetOrganizationFreeRdsServersPaged", new object[] {
- itemId,
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows});
+ itemId,
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows});
return ((RdsServersPaged)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetOrganizationFreeRdsServersPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetOrganizationFreeRdsServersPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetOrganizationFreeRdsServersPaged", new object[] {
- itemId,
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows}, callback, asyncState);
+ itemId,
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows}, callback, asyncState);
}
-
+
///
- public RdsServersPaged EndGetOrganizationFreeRdsServersPaged(System.IAsyncResult asyncResult)
- {
+ public RdsServersPaged EndGetOrganizationFreeRdsServersPaged(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsServersPaged)(results[0]));
}
-
+
///
- public void GetOrganizationFreeRdsServersPagedAsync(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
- {
+ public void GetOrganizationFreeRdsServersPagedAsync(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows) {
this.GetOrganizationFreeRdsServersPagedAsync(itemId, filterColumn, filterValue, sortColumn, startRow, maximumRows, null);
}
-
+
///
- public void GetOrganizationFreeRdsServersPagedAsync(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState)
- {
- if ((this.GetOrganizationFreeRdsServersPagedOperationCompleted == null))
- {
+ public void GetOrganizationFreeRdsServersPagedAsync(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows, object userState) {
+ if ((this.GetOrganizationFreeRdsServersPagedOperationCompleted == null)) {
this.GetOrganizationFreeRdsServersPagedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationFreeRdsServersPagedOperationCompleted);
}
this.InvokeAsync("GetOrganizationFreeRdsServersPaged", new object[] {
- itemId,
- filterColumn,
- filterValue,
- sortColumn,
- startRow,
- maximumRows}, this.GetOrganizationFreeRdsServersPagedOperationCompleted, userState);
+ itemId,
+ filterColumn,
+ filterValue,
+ sortColumn,
+ startRow,
+ maximumRows}, this.GetOrganizationFreeRdsServersPagedOperationCompleted, userState);
}
-
- private void OnGetOrganizationFreeRdsServersPagedOperationCompleted(object arg)
- {
- if ((this.GetOrganizationFreeRdsServersPagedCompleted != null))
- {
+
+ private void OnGetOrganizationFreeRdsServersPagedOperationCompleted(object arg) {
+ if ((this.GetOrganizationFreeRdsServersPagedCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetOrganizationFreeRdsServersPagedCompleted(this, new GetOrganizationFreeRdsServersPagedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRdsServer", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsServer GetRdsServer(int rdsSeverId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRdsServer", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsServer GetRdsServer(int rdsSeverId) {
object[] results = this.Invoke("GetRdsServer", new object[] {
- rdsSeverId});
+ rdsSeverId});
return ((RdsServer)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetRdsServer(int rdsSeverId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetRdsServer(int rdsSeverId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetRdsServer", new object[] {
- rdsSeverId}, callback, asyncState);
+ rdsSeverId}, callback, asyncState);
}
-
+
///
- public RdsServer EndGetRdsServer(System.IAsyncResult asyncResult)
- {
+ public RdsServer EndGetRdsServer(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsServer)(results[0]));
}
-
+
///
- public void GetRdsServerAsync(int rdsSeverId)
- {
+ public void GetRdsServerAsync(int rdsSeverId) {
this.GetRdsServerAsync(rdsSeverId, null);
}
-
+
///
- public void GetRdsServerAsync(int rdsSeverId, object userState)
- {
- if ((this.GetRdsServerOperationCompleted == null))
- {
+ public void GetRdsServerAsync(int rdsSeverId, object userState) {
+ if ((this.GetRdsServerOperationCompleted == null)) {
this.GetRdsServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRdsServerOperationCompleted);
}
this.InvokeAsync("GetRdsServer", new object[] {
- rdsSeverId}, this.GetRdsServerOperationCompleted, userState);
+ rdsSeverId}, this.GetRdsServerOperationCompleted, userState);
}
-
- private void OnGetRdsServerOperationCompleted(object arg)
- {
- if ((this.GetRdsServerCompleted != null))
- {
+
+ private void OnGetRdsServerOperationCompleted(object arg) {
+ if ((this.GetRdsServerCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetRdsServerCompleted(this, new GetRdsServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetCollectionRdsServers", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsServer[] GetCollectionRdsServers(int collectionId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetRDServerNewConnectionAllowed", RequestNamespace="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 SetRDServerNewConnectionAllowed(int itemId, bool newConnectionAllowed, int rdsSeverId) {
+ object[] results = this.Invoke("SetRDServerNewConnectionAllowed", new object[] {
+ itemId,
+ newConnectionAllowed,
+ rdsSeverId});
+ return ((ResultObject)(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginSetRDServerNewConnectionAllowed(int itemId, bool newConnectionAllowed, int rdsSeverId, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("SetRDServerNewConnectionAllowed", new object[] {
+ itemId,
+ newConnectionAllowed,
+ rdsSeverId}, callback, asyncState);
+ }
+
+ ///
+ public ResultObject EndSetRDServerNewConnectionAllowed(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((ResultObject)(results[0]));
+ }
+
+ ///
+ public void SetRDServerNewConnectionAllowedAsync(int itemId, bool newConnectionAllowed, int rdsSeverId) {
+ this.SetRDServerNewConnectionAllowedAsync(itemId, newConnectionAllowed, rdsSeverId, null);
+ }
+
+ ///
+ public void SetRDServerNewConnectionAllowedAsync(int itemId, bool newConnectionAllowed, int rdsSeverId, object userState) {
+ if ((this.SetRDServerNewConnectionAllowedOperationCompleted == null)) {
+ this.SetRDServerNewConnectionAllowedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetRDServerNewConnectionAllowedOperationCompleted);
+ }
+ this.InvokeAsync("SetRDServerNewConnectionAllowed", new object[] {
+ itemId,
+ newConnectionAllowed,
+ rdsSeverId}, this.SetRDServerNewConnectionAllowedOperationCompleted, userState);
+ }
+
+ private void OnSetRDServerNewConnectionAllowedOperationCompleted(object arg) {
+ if ((this.SetRDServerNewConnectionAllowedCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.SetRDServerNewConnectionAllowedCompleted(this, new SetRDServerNewConnectionAllowedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetCollectionRdsServers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsServer[] GetCollectionRdsServers(int collectionId) {
object[] results = this.Invoke("GetCollectionRdsServers", new object[] {
- collectionId});
+ collectionId});
return ((RdsServer[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetCollectionRdsServers(int collectionId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetCollectionRdsServers(int collectionId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCollectionRdsServers", new object[] {
- collectionId}, callback, asyncState);
+ collectionId}, callback, asyncState);
}
-
+
///
- public RdsServer[] EndGetCollectionRdsServers(System.IAsyncResult asyncResult)
- {
+ public RdsServer[] EndGetCollectionRdsServers(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsServer[])(results[0]));
}
-
+
///
- public void GetCollectionRdsServersAsync(int collectionId)
- {
+ public void GetCollectionRdsServersAsync(int collectionId) {
this.GetCollectionRdsServersAsync(collectionId, null);
}
-
+
///
- public void GetCollectionRdsServersAsync(int collectionId, object userState)
- {
- if ((this.GetCollectionRdsServersOperationCompleted == null))
- {
+ public void GetCollectionRdsServersAsync(int collectionId, object userState) {
+ if ((this.GetCollectionRdsServersOperationCompleted == null)) {
this.GetCollectionRdsServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCollectionRdsServersOperationCompleted);
}
this.InvokeAsync("GetCollectionRdsServers", new object[] {
- collectionId}, this.GetCollectionRdsServersOperationCompleted, userState);
+ collectionId}, this.GetCollectionRdsServersOperationCompleted, userState);
}
-
- private void OnGetCollectionRdsServersOperationCompleted(object arg)
- {
- if ((this.GetCollectionRdsServersCompleted != null))
- {
+
+ private void OnGetCollectionRdsServersOperationCompleted(object arg) {
+ if ((this.GetCollectionRdsServersCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetCollectionRdsServersCompleted(this, new GetCollectionRdsServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetOrganizationRdsServers", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsServer[] GetOrganizationRdsServers(int itemId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetOrganizationRdsServers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsServer[] GetOrganizationRdsServers(int itemId) {
object[] results = this.Invoke("GetOrganizationRdsServers", new object[] {
- itemId});
+ itemId});
return ((RdsServer[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetOrganizationRdsServers(int itemId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetOrganizationRdsServers(int itemId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetOrganizationRdsServers", new object[] {
- itemId}, callback, asyncState);
+ itemId}, callback, asyncState);
}
-
+
///
- public RdsServer[] EndGetOrganizationRdsServers(System.IAsyncResult asyncResult)
- {
+ public RdsServer[] EndGetOrganizationRdsServers(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsServer[])(results[0]));
}
-
+
///
- public void GetOrganizationRdsServersAsync(int itemId)
- {
+ public void GetOrganizationRdsServersAsync(int itemId) {
this.GetOrganizationRdsServersAsync(itemId, null);
}
-
+
///
- public void GetOrganizationRdsServersAsync(int itemId, object userState)
- {
- if ((this.GetOrganizationRdsServersOperationCompleted == null))
- {
+ public void GetOrganizationRdsServersAsync(int itemId, object userState) {
+ if ((this.GetOrganizationRdsServersOperationCompleted == null)) {
this.GetOrganizationRdsServersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationRdsServersOperationCompleted);
}
this.InvokeAsync("GetOrganizationRdsServers", new object[] {
- itemId}, this.GetOrganizationRdsServersOperationCompleted, userState);
+ itemId}, this.GetOrganizationRdsServersOperationCompleted, userState);
}
-
- private void OnGetOrganizationRdsServersOperationCompleted(object arg)
- {
- if ((this.GetOrganizationRdsServersCompleted != null))
- {
+
+ private void OnGetOrganizationRdsServersOperationCompleted(object arg) {
+ if ((this.GetOrganizationRdsServersCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetOrganizationRdsServersCompleted(this, new GetOrganizationRdsServersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddRdsServer", RequestNamespace = "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 AddRdsServer(RdsServer rdsServer)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddRdsServer", RequestNamespace="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 AddRdsServer(RdsServer rdsServer) {
object[] results = this.Invoke("AddRdsServer", new object[] {
- rdsServer});
+ rdsServer});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginAddRdsServer(RdsServer rdsServer, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddRdsServer(RdsServer rdsServer, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddRdsServer", new object[] {
- rdsServer}, callback, asyncState);
+ rdsServer}, callback, asyncState);
}
-
+
///
- public ResultObject EndAddRdsServer(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndAddRdsServer(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void AddRdsServerAsync(RdsServer rdsServer)
- {
+ public void AddRdsServerAsync(RdsServer rdsServer) {
this.AddRdsServerAsync(rdsServer, null);
}
-
+
///
- public void AddRdsServerAsync(RdsServer rdsServer, object userState)
- {
- if ((this.AddRdsServerOperationCompleted == null))
- {
+ public void AddRdsServerAsync(RdsServer rdsServer, object userState) {
+ if ((this.AddRdsServerOperationCompleted == null)) {
this.AddRdsServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRdsServerOperationCompleted);
}
this.InvokeAsync("AddRdsServer", new object[] {
- rdsServer}, this.AddRdsServerOperationCompleted, userState);
+ rdsServer}, this.AddRdsServerOperationCompleted, userState);
}
-
- private void OnAddRdsServerOperationCompleted(object arg)
- {
- if ((this.AddRdsServerCompleted != null))
- {
+
+ private void OnAddRdsServerOperationCompleted(object arg) {
+ if ((this.AddRdsServerCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddRdsServerCompleted(this, new AddRdsServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddRdsServerToCollection", RequestNamespace = "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 AddRdsServerToCollection(int itemId, RdsServer rdsServer, RdsCollection rdsCollection)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddRdsServerToCollection", RequestNamespace="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 AddRdsServerToCollection(int itemId, RdsServer rdsServer, RdsCollection rdsCollection) {
object[] results = this.Invoke("AddRdsServerToCollection", new object[] {
- itemId,
- rdsServer,
- rdsCollection});
+ itemId,
+ rdsServer,
+ rdsCollection});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginAddRdsServerToCollection(int itemId, RdsServer rdsServer, RdsCollection rdsCollection, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddRdsServerToCollection(int itemId, RdsServer rdsServer, RdsCollection rdsCollection, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddRdsServerToCollection", new object[] {
- itemId,
- rdsServer,
- rdsCollection}, callback, asyncState);
+ itemId,
+ rdsServer,
+ rdsCollection}, callback, asyncState);
}
-
+
///
- public ResultObject EndAddRdsServerToCollection(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndAddRdsServerToCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void AddRdsServerToCollectionAsync(int itemId, RdsServer rdsServer, RdsCollection rdsCollection)
- {
+ public void AddRdsServerToCollectionAsync(int itemId, RdsServer rdsServer, RdsCollection rdsCollection) {
this.AddRdsServerToCollectionAsync(itemId, rdsServer, rdsCollection, null);
}
-
+
///
- public void AddRdsServerToCollectionAsync(int itemId, RdsServer rdsServer, RdsCollection rdsCollection, object userState)
- {
- if ((this.AddRdsServerToCollectionOperationCompleted == null))
- {
+ public void AddRdsServerToCollectionAsync(int itemId, RdsServer rdsServer, RdsCollection rdsCollection, object userState) {
+ if ((this.AddRdsServerToCollectionOperationCompleted == null)) {
this.AddRdsServerToCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRdsServerToCollectionOperationCompleted);
}
this.InvokeAsync("AddRdsServerToCollection", new object[] {
- itemId,
- rdsServer,
- rdsCollection}, this.AddRdsServerToCollectionOperationCompleted, userState);
+ itemId,
+ rdsServer,
+ rdsCollection}, this.AddRdsServerToCollectionOperationCompleted, userState);
}
-
- private void OnAddRdsServerToCollectionOperationCompleted(object arg)
- {
- if ((this.AddRdsServerToCollectionCompleted != null))
- {
+
+ private void OnAddRdsServerToCollectionOperationCompleted(object arg) {
+ if ((this.AddRdsServerToCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddRdsServerToCollectionCompleted(this, new AddRdsServerToCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddRdsServerToOrganization", RequestNamespace = "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 AddRdsServerToOrganization(int itemId, int serverId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddRdsServerToOrganization", RequestNamespace="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 AddRdsServerToOrganization(int itemId, int serverId) {
object[] results = this.Invoke("AddRdsServerToOrganization", new object[] {
- itemId,
- serverId});
+ itemId,
+ serverId});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginAddRdsServerToOrganization(int itemId, int serverId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddRdsServerToOrganization(int itemId, int serverId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddRdsServerToOrganization", new object[] {
- itemId,
- serverId}, callback, asyncState);
+ itemId,
+ serverId}, callback, asyncState);
}
-
+
///
- public ResultObject EndAddRdsServerToOrganization(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndAddRdsServerToOrganization(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void AddRdsServerToOrganizationAsync(int itemId, int serverId)
- {
+ public void AddRdsServerToOrganizationAsync(int itemId, int serverId) {
this.AddRdsServerToOrganizationAsync(itemId, serverId, null);
}
-
+
///
- public void AddRdsServerToOrganizationAsync(int itemId, int serverId, object userState)
- {
- if ((this.AddRdsServerToOrganizationOperationCompleted == null))
- {
+ public void AddRdsServerToOrganizationAsync(int itemId, int serverId, object userState) {
+ if ((this.AddRdsServerToOrganizationOperationCompleted == null)) {
this.AddRdsServerToOrganizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRdsServerToOrganizationOperationCompleted);
}
this.InvokeAsync("AddRdsServerToOrganization", new object[] {
- itemId,
- serverId}, this.AddRdsServerToOrganizationOperationCompleted, userState);
+ itemId,
+ serverId}, this.AddRdsServerToOrganizationOperationCompleted, userState);
}
-
- private void OnAddRdsServerToOrganizationOperationCompleted(object arg)
- {
- if ((this.AddRdsServerToOrganizationCompleted != null))
- {
+
+ private void OnAddRdsServerToOrganizationOperationCompleted(object arg) {
+ if ((this.AddRdsServerToOrganizationCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddRdsServerToOrganizationCompleted(this, new AddRdsServerToOrganizationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RemoveRdsServer", RequestNamespace = "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 RemoveRdsServer(int rdsServerId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RemoveRdsServer", RequestNamespace="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 RemoveRdsServer(int rdsServerId) {
object[] results = this.Invoke("RemoveRdsServer", new object[] {
- rdsServerId});
+ rdsServerId});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginRemoveRdsServer(int rdsServerId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginRemoveRdsServer(int rdsServerId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveRdsServer", new object[] {
- rdsServerId}, callback, asyncState);
+ rdsServerId}, callback, asyncState);
}
-
+
///
- public ResultObject EndRemoveRdsServer(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndRemoveRdsServer(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void RemoveRdsServerAsync(int rdsServerId)
- {
+ public void RemoveRdsServerAsync(int rdsServerId) {
this.RemoveRdsServerAsync(rdsServerId, null);
}
-
+
///
- public void RemoveRdsServerAsync(int rdsServerId, object userState)
- {
- if ((this.RemoveRdsServerOperationCompleted == null))
- {
+ public void RemoveRdsServerAsync(int rdsServerId, object userState) {
+ if ((this.RemoveRdsServerOperationCompleted == null)) {
this.RemoveRdsServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveRdsServerOperationCompleted);
}
this.InvokeAsync("RemoveRdsServer", new object[] {
- rdsServerId}, this.RemoveRdsServerOperationCompleted, userState);
+ rdsServerId}, this.RemoveRdsServerOperationCompleted, userState);
}
-
- private void OnRemoveRdsServerOperationCompleted(object arg)
- {
- if ((this.RemoveRdsServerCompleted != null))
- {
+
+ private void OnRemoveRdsServerOperationCompleted(object arg) {
+ if ((this.RemoveRdsServerCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RemoveRdsServerCompleted(this, new RemoveRdsServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RemoveRdsServerFromCollection", RequestNamespace = "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 RemoveRdsServerFromCollection(int itemId, RdsServer rdsServer, RdsCollection rdsCollection)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RemoveRdsServerFromCollection", RequestNamespace="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 RemoveRdsServerFromCollection(int itemId, RdsServer rdsServer, RdsCollection rdsCollection) {
object[] results = this.Invoke("RemoveRdsServerFromCollection", new object[] {
- itemId,
- rdsServer,
- rdsCollection});
+ itemId,
+ rdsServer,
+ rdsCollection});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginRemoveRdsServerFromCollection(int itemId, RdsServer rdsServer, RdsCollection rdsCollection, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginRemoveRdsServerFromCollection(int itemId, RdsServer rdsServer, RdsCollection rdsCollection, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveRdsServerFromCollection", new object[] {
- itemId,
- rdsServer,
- rdsCollection}, callback, asyncState);
+ itemId,
+ rdsServer,
+ rdsCollection}, callback, asyncState);
}
-
+
///
- public ResultObject EndRemoveRdsServerFromCollection(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndRemoveRdsServerFromCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void RemoveRdsServerFromCollectionAsync(int itemId, RdsServer rdsServer, RdsCollection rdsCollection)
- {
+ public void RemoveRdsServerFromCollectionAsync(int itemId, RdsServer rdsServer, RdsCollection rdsCollection) {
this.RemoveRdsServerFromCollectionAsync(itemId, rdsServer, rdsCollection, null);
}
-
+
///
- public void RemoveRdsServerFromCollectionAsync(int itemId, RdsServer rdsServer, RdsCollection rdsCollection, object userState)
- {
- if ((this.RemoveRdsServerFromCollectionOperationCompleted == null))
- {
+ public void RemoveRdsServerFromCollectionAsync(int itemId, RdsServer rdsServer, RdsCollection rdsCollection, object userState) {
+ if ((this.RemoveRdsServerFromCollectionOperationCompleted == null)) {
this.RemoveRdsServerFromCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveRdsServerFromCollectionOperationCompleted);
}
this.InvokeAsync("RemoveRdsServerFromCollection", new object[] {
- itemId,
- rdsServer,
- rdsCollection}, this.RemoveRdsServerFromCollectionOperationCompleted, userState);
+ itemId,
+ rdsServer,
+ rdsCollection}, this.RemoveRdsServerFromCollectionOperationCompleted, userState);
}
-
- private void OnRemoveRdsServerFromCollectionOperationCompleted(object arg)
- {
- if ((this.RemoveRdsServerFromCollectionCompleted != null))
- {
+
+ private void OnRemoveRdsServerFromCollectionOperationCompleted(object arg) {
+ if ((this.RemoveRdsServerFromCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RemoveRdsServerFromCollectionCompleted(this, new RemoveRdsServerFromCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RemoveRdsServerFromOrganization", RequestNamespace = "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 RemoveRdsServerFromOrganization(int rdsServerId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RemoveRdsServerFromOrganization", RequestNamespace="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 RemoveRdsServerFromOrganization(int rdsServerId) {
object[] results = this.Invoke("RemoveRdsServerFromOrganization", new object[] {
- rdsServerId});
+ rdsServerId});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginRemoveRdsServerFromOrganization(int rdsServerId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginRemoveRdsServerFromOrganization(int rdsServerId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveRdsServerFromOrganization", new object[] {
- rdsServerId}, callback, asyncState);
+ rdsServerId}, callback, asyncState);
}
-
+
///
- public ResultObject EndRemoveRdsServerFromOrganization(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndRemoveRdsServerFromOrganization(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void RemoveRdsServerFromOrganizationAsync(int rdsServerId)
- {
+ public void RemoveRdsServerFromOrganizationAsync(int rdsServerId) {
this.RemoveRdsServerFromOrganizationAsync(rdsServerId, null);
}
-
+
///
- public void RemoveRdsServerFromOrganizationAsync(int rdsServerId, object userState)
- {
- if ((this.RemoveRdsServerFromOrganizationOperationCompleted == null))
- {
+ public void RemoveRdsServerFromOrganizationAsync(int rdsServerId, object userState) {
+ if ((this.RemoveRdsServerFromOrganizationOperationCompleted == null)) {
this.RemoveRdsServerFromOrganizationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveRdsServerFromOrganizationOperationCompleted);
}
this.InvokeAsync("RemoveRdsServerFromOrganization", new object[] {
- rdsServerId}, this.RemoveRdsServerFromOrganizationOperationCompleted, userState);
+ rdsServerId}, this.RemoveRdsServerFromOrganizationOperationCompleted, userState);
}
-
- private void OnRemoveRdsServerFromOrganizationOperationCompleted(object arg)
- {
- if ((this.RemoveRdsServerFromOrganizationCompleted != null))
- {
+
+ private void OnRemoveRdsServerFromOrganizationOperationCompleted(object arg) {
+ if ((this.RemoveRdsServerFromOrganizationCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RemoveRdsServerFromOrganizationCompleted(this, new RemoveRdsServerFromOrganizationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateRdsServer", RequestNamespace = "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 UpdateRdsServer(RdsServer rdsServer)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/UpdateRdsServer", RequestNamespace="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 UpdateRdsServer(RdsServer rdsServer) {
object[] results = this.Invoke("UpdateRdsServer", new object[] {
- rdsServer});
+ rdsServer});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginUpdateRdsServer(RdsServer rdsServer, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginUpdateRdsServer(RdsServer rdsServer, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UpdateRdsServer", new object[] {
- rdsServer}, callback, asyncState);
+ rdsServer}, callback, asyncState);
}
-
+
///
- public ResultObject EndUpdateRdsServer(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndUpdateRdsServer(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void UpdateRdsServerAsync(RdsServer rdsServer)
- {
+ public void UpdateRdsServerAsync(RdsServer rdsServer) {
this.UpdateRdsServerAsync(rdsServer, null);
}
-
+
///
- public void UpdateRdsServerAsync(RdsServer rdsServer, object userState)
- {
- if ((this.UpdateRdsServerOperationCompleted == null))
- {
+ public void UpdateRdsServerAsync(RdsServer rdsServer, object userState) {
+ if ((this.UpdateRdsServerOperationCompleted == null)) {
this.UpdateRdsServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateRdsServerOperationCompleted);
}
this.InvokeAsync("UpdateRdsServer", new object[] {
- rdsServer}, this.UpdateRdsServerOperationCompleted, userState);
+ rdsServer}, this.UpdateRdsServerOperationCompleted, userState);
}
-
- private void OnUpdateRdsServerOperationCompleted(object arg)
- {
- if ((this.UpdateRdsServerCompleted != null))
- {
+
+ private void OnUpdateRdsServerOperationCompleted(object arg) {
+ if ((this.UpdateRdsServerCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UpdateRdsServerCompleted(this, new UpdateRdsServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRdsCollectionUsers", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public OrganizationUser[] GetRdsCollectionUsers(int collectionId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetRdsCollectionUsers", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public OrganizationUser[] GetRdsCollectionUsers(int collectionId) {
object[] results = this.Invoke("GetRdsCollectionUsers", new object[] {
- collectionId});
+ collectionId});
return ((OrganizationUser[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetRdsCollectionUsers(int collectionId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetRdsCollectionUsers(int collectionId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetRdsCollectionUsers", new object[] {
- collectionId}, callback, asyncState);
+ collectionId}, callback, asyncState);
}
-
+
///
- public OrganizationUser[] EndGetRdsCollectionUsers(System.IAsyncResult asyncResult)
- {
+ public OrganizationUser[] EndGetRdsCollectionUsers(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((OrganizationUser[])(results[0]));
}
-
+
///
- public void GetRdsCollectionUsersAsync(int collectionId)
- {
+ public void GetRdsCollectionUsersAsync(int collectionId) {
this.GetRdsCollectionUsersAsync(collectionId, null);
}
-
+
///
- public void GetRdsCollectionUsersAsync(int collectionId, object userState)
- {
- if ((this.GetRdsCollectionUsersOperationCompleted == null))
- {
+ public void GetRdsCollectionUsersAsync(int collectionId, object userState) {
+ if ((this.GetRdsCollectionUsersOperationCompleted == null)) {
this.GetRdsCollectionUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRdsCollectionUsersOperationCompleted);
}
this.InvokeAsync("GetRdsCollectionUsers", new object[] {
- collectionId}, this.GetRdsCollectionUsersOperationCompleted, userState);
+ collectionId}, this.GetRdsCollectionUsersOperationCompleted, userState);
}
-
- private void OnGetRdsCollectionUsersOperationCompleted(object arg)
- {
- if ((this.GetRdsCollectionUsersCompleted != null))
- {
+
+ private void OnGetRdsCollectionUsersOperationCompleted(object arg) {
+ if ((this.GetRdsCollectionUsersCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetRdsCollectionUsersCompleted(this, new GetRdsCollectionUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetUsersToRdsCollection", RequestNamespace = "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 SetUsersToRdsCollection(int itemId, int collectionId, OrganizationUser[] users)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetUsersToRdsCollection", RequestNamespace="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 SetUsersToRdsCollection(int itemId, int collectionId, OrganizationUser[] users) {
object[] results = this.Invoke("SetUsersToRdsCollection", new object[] {
- itemId,
- collectionId,
- users});
+ itemId,
+ collectionId,
+ users});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginSetUsersToRdsCollection(int itemId, int collectionId, OrganizationUser[] users, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginSetUsersToRdsCollection(int itemId, int collectionId, OrganizationUser[] users, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetUsersToRdsCollection", new object[] {
- itemId,
- collectionId,
- users}, callback, asyncState);
+ itemId,
+ collectionId,
+ users}, callback, asyncState);
}
-
+
///
- public ResultObject EndSetUsersToRdsCollection(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndSetUsersToRdsCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void SetUsersToRdsCollectionAsync(int itemId, int collectionId, OrganizationUser[] users)
- {
+ public void SetUsersToRdsCollectionAsync(int itemId, int collectionId, OrganizationUser[] users) {
this.SetUsersToRdsCollectionAsync(itemId, collectionId, users, null);
}
-
+
///
- public void SetUsersToRdsCollectionAsync(int itemId, int collectionId, OrganizationUser[] users, object userState)
- {
- if ((this.SetUsersToRdsCollectionOperationCompleted == null))
- {
+ public void SetUsersToRdsCollectionAsync(int itemId, int collectionId, OrganizationUser[] users, object userState) {
+ if ((this.SetUsersToRdsCollectionOperationCompleted == null)) {
this.SetUsersToRdsCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetUsersToRdsCollectionOperationCompleted);
}
this.InvokeAsync("SetUsersToRdsCollection", new object[] {
- itemId,
- collectionId,
- users}, this.SetUsersToRdsCollectionOperationCompleted, userState);
+ itemId,
+ collectionId,
+ users}, this.SetUsersToRdsCollectionOperationCompleted, userState);
}
-
- private void OnSetUsersToRdsCollectionOperationCompleted(object arg)
- {
- if ((this.SetUsersToRdsCollectionCompleted != null))
- {
+
+ private void OnSetUsersToRdsCollectionOperationCompleted(object arg) {
+ if ((this.SetUsersToRdsCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetUsersToRdsCollectionCompleted(this, new SetUsersToRdsCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetCollectionRemoteApplications", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RemoteApplication[] GetCollectionRemoteApplications(int itemId, string collectionName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetCollectionRemoteApplications", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RemoteApplication[] GetCollectionRemoteApplications(int itemId, string collectionName) {
object[] results = this.Invoke("GetCollectionRemoteApplications", new object[] {
- itemId,
- collectionName});
+ itemId,
+ collectionName});
return ((RemoteApplication[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetCollectionRemoteApplications(int itemId, string collectionName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetCollectionRemoteApplications(int itemId, string collectionName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCollectionRemoteApplications", new object[] {
- itemId,
- collectionName}, callback, asyncState);
+ itemId,
+ collectionName}, callback, asyncState);
}
-
+
///
- public RemoteApplication[] EndGetCollectionRemoteApplications(System.IAsyncResult asyncResult)
- {
+ public RemoteApplication[] EndGetCollectionRemoteApplications(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RemoteApplication[])(results[0]));
}
-
+
///
- public void GetCollectionRemoteApplicationsAsync(int itemId, string collectionName)
- {
+ public void GetCollectionRemoteApplicationsAsync(int itemId, string collectionName) {
this.GetCollectionRemoteApplicationsAsync(itemId, collectionName, null);
}
-
+
///
- public void GetCollectionRemoteApplicationsAsync(int itemId, string collectionName, object userState)
- {
- if ((this.GetCollectionRemoteApplicationsOperationCompleted == null))
- {
+ public void GetCollectionRemoteApplicationsAsync(int itemId, string collectionName, object userState) {
+ if ((this.GetCollectionRemoteApplicationsOperationCompleted == null)) {
this.GetCollectionRemoteApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCollectionRemoteApplicationsOperationCompleted);
}
this.InvokeAsync("GetCollectionRemoteApplications", new object[] {
- itemId,
- collectionName}, this.GetCollectionRemoteApplicationsOperationCompleted, userState);
+ itemId,
+ collectionName}, this.GetCollectionRemoteApplicationsOperationCompleted, userState);
}
-
- private void OnGetCollectionRemoteApplicationsOperationCompleted(object arg)
- {
- if ((this.GetCollectionRemoteApplicationsCompleted != null))
- {
+
+ private void OnGetCollectionRemoteApplicationsOperationCompleted(object arg) {
+ if ((this.GetCollectionRemoteApplicationsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetCollectionRemoteApplicationsCompleted(this, new GetCollectionRemoteApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetAvailableRemoteApplications", RequestNamespace = "http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace = "http://smbsaas/websitepanel/enterpriseserver", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public StartMenuApp[] GetAvailableRemoteApplications(int itemId, string collectionName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetAvailableRemoteApplications", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public StartMenuApp[] GetAvailableRemoteApplications(int itemId, string collectionName) {
object[] results = this.Invoke("GetAvailableRemoteApplications", new object[] {
- itemId,
- collectionName});
+ itemId,
+ collectionName});
return ((StartMenuApp[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetAvailableRemoteApplications(int itemId, string collectionName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetAvailableRemoteApplications(int itemId, string collectionName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetAvailableRemoteApplications", new object[] {
- itemId,
- collectionName}, callback, asyncState);
+ itemId,
+ collectionName}, callback, asyncState);
}
-
+
///
- public StartMenuApp[] EndGetAvailableRemoteApplications(System.IAsyncResult asyncResult)
- {
+ public StartMenuApp[] EndGetAvailableRemoteApplications(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((StartMenuApp[])(results[0]));
}
-
+
///
- public void GetAvailableRemoteApplicationsAsync(int itemId, string collectionName)
- {
+ public void GetAvailableRemoteApplicationsAsync(int itemId, string collectionName) {
this.GetAvailableRemoteApplicationsAsync(itemId, collectionName, null);
}
-
+
///
- public void GetAvailableRemoteApplicationsAsync(int itemId, string collectionName, object userState)
- {
- if ((this.GetAvailableRemoteApplicationsOperationCompleted == null))
- {
+ public void GetAvailableRemoteApplicationsAsync(int itemId, string collectionName, object userState) {
+ if ((this.GetAvailableRemoteApplicationsOperationCompleted == null)) {
this.GetAvailableRemoteApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAvailableRemoteApplicationsOperationCompleted);
}
this.InvokeAsync("GetAvailableRemoteApplications", new object[] {
- itemId,
- collectionName}, this.GetAvailableRemoteApplicationsOperationCompleted, userState);
+ itemId,
+ collectionName}, this.GetAvailableRemoteApplicationsOperationCompleted, userState);
}
-
- private void OnGetAvailableRemoteApplicationsOperationCompleted(object arg)
- {
- if ((this.GetAvailableRemoteApplicationsCompleted != null))
- {
+
+ private void OnGetAvailableRemoteApplicationsOperationCompleted(object arg) {
+ if ((this.GetAvailableRemoteApplicationsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetAvailableRemoteApplicationsCompleted(this, new GetAvailableRemoteApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddRemoteApplicationToCollection", RequestNamespace = "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 AddRemoteApplicationToCollection(int itemId, RdsCollection collection, RemoteApplication application)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/AddRemoteApplicationToCollection", RequestNamespace="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 AddRemoteApplicationToCollection(int itemId, RdsCollection collection, RemoteApplication application) {
object[] results = this.Invoke("AddRemoteApplicationToCollection", new object[] {
- itemId,
- collection,
- application});
+ itemId,
+ collection,
+ application});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginAddRemoteApplicationToCollection(int itemId, RdsCollection collection, RemoteApplication application, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddRemoteApplicationToCollection(int itemId, RdsCollection collection, RemoteApplication application, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddRemoteApplicationToCollection", new object[] {
- itemId,
- collection,
- application}, callback, asyncState);
+ itemId,
+ collection,
+ application}, callback, asyncState);
}
-
+
///
- public ResultObject EndAddRemoteApplicationToCollection(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndAddRemoteApplicationToCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void AddRemoteApplicationToCollectionAsync(int itemId, RdsCollection collection, RemoteApplication application)
- {
+ public void AddRemoteApplicationToCollectionAsync(int itemId, RdsCollection collection, RemoteApplication application) {
this.AddRemoteApplicationToCollectionAsync(itemId, collection, application, null);
}
-
+
///
- public void AddRemoteApplicationToCollectionAsync(int itemId, RdsCollection collection, RemoteApplication application, object userState)
- {
- if ((this.AddRemoteApplicationToCollectionOperationCompleted == null))
- {
+ public void AddRemoteApplicationToCollectionAsync(int itemId, RdsCollection collection, RemoteApplication application, object userState) {
+ if ((this.AddRemoteApplicationToCollectionOperationCompleted == null)) {
this.AddRemoteApplicationToCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRemoteApplicationToCollectionOperationCompleted);
}
this.InvokeAsync("AddRemoteApplicationToCollection", new object[] {
- itemId,
- collection,
- application}, this.AddRemoteApplicationToCollectionOperationCompleted, userState);
+ itemId,
+ collection,
+ application}, this.AddRemoteApplicationToCollectionOperationCompleted, userState);
}
-
- private void OnAddRemoteApplicationToCollectionOperationCompleted(object arg)
- {
- if ((this.AddRemoteApplicationToCollectionCompleted != null))
- {
+
+ private void OnAddRemoteApplicationToCollectionOperationCompleted(object arg) {
+ if ((this.AddRemoteApplicationToCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddRemoteApplicationToCollectionCompleted(this, new AddRemoteApplicationToCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/RemoveRemoteApplicationFromCollectio" +
- "n", RequestNamespace = "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 RemoveRemoteApplicationFromCollection(int itemId, RdsCollection collection, RemoteApplication application)
- {
+ "n", RequestNamespace="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 RemoveRemoteApplicationFromCollection(int itemId, RdsCollection collection, RemoteApplication application) {
object[] results = this.Invoke("RemoveRemoteApplicationFromCollection", new object[] {
- itemId,
- collection,
- application});
+ itemId,
+ collection,
+ application});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginRemoveRemoteApplicationFromCollection(int itemId, RdsCollection collection, RemoteApplication application, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginRemoveRemoteApplicationFromCollection(int itemId, RdsCollection collection, RemoteApplication application, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveRemoteApplicationFromCollection", new object[] {
- itemId,
- collection,
- application}, callback, asyncState);
+ itemId,
+ collection,
+ application}, callback, asyncState);
}
-
+
///
- public ResultObject EndRemoveRemoteApplicationFromCollection(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndRemoveRemoteApplicationFromCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void RemoveRemoteApplicationFromCollectionAsync(int itemId, RdsCollection collection, RemoteApplication application)
- {
+ public void RemoveRemoteApplicationFromCollectionAsync(int itemId, RdsCollection collection, RemoteApplication application) {
this.RemoveRemoteApplicationFromCollectionAsync(itemId, collection, application, null);
}
-
+
///
- public void RemoveRemoteApplicationFromCollectionAsync(int itemId, RdsCollection collection, RemoteApplication application, object userState)
- {
- if ((this.RemoveRemoteApplicationFromCollectionOperationCompleted == null))
- {
+ public void RemoveRemoteApplicationFromCollectionAsync(int itemId, RdsCollection collection, RemoteApplication application, object userState) {
+ if ((this.RemoveRemoteApplicationFromCollectionOperationCompleted == null)) {
this.RemoveRemoteApplicationFromCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveRemoteApplicationFromCollectionOperationCompleted);
}
this.InvokeAsync("RemoveRemoteApplicationFromCollection", new object[] {
- itemId,
- collection,
- application}, this.RemoveRemoteApplicationFromCollectionOperationCompleted, userState);
+ itemId,
+ collection,
+ application}, this.RemoveRemoteApplicationFromCollectionOperationCompleted, userState);
}
-
- private void OnRemoveRemoteApplicationFromCollectionOperationCompleted(object arg)
- {
- if ((this.RemoveRemoteApplicationFromCollectionCompleted != null))
- {
+
+ private void OnRemoveRemoteApplicationFromCollectionOperationCompleted(object arg) {
+ if ((this.RemoveRemoteApplicationFromCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RemoveRemoteApplicationFromCollectionCompleted(this, new RemoveRemoteApplicationFromCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetRemoteApplicationsToRdsCollection" +
- "", RequestNamespace = "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 SetRemoteApplicationsToRdsCollection(int itemId, int collectionId, RemoteApplication[] remoteApps)
- {
+ "", RequestNamespace="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 SetRemoteApplicationsToRdsCollection(int itemId, int collectionId, RemoteApplication[] remoteApps) {
object[] results = this.Invoke("SetRemoteApplicationsToRdsCollection", new object[] {
- itemId,
- collectionId,
- remoteApps});
+ itemId,
+ collectionId,
+ remoteApps});
return ((ResultObject)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginSetRemoteApplicationsToRdsCollection(int itemId, int collectionId, RemoteApplication[] remoteApps, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginSetRemoteApplicationsToRdsCollection(int itemId, int collectionId, RemoteApplication[] remoteApps, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetRemoteApplicationsToRdsCollection", new object[] {
- itemId,
- collectionId,
- remoteApps}, callback, asyncState);
+ itemId,
+ collectionId,
+ remoteApps}, callback, asyncState);
}
-
+
///
- public ResultObject EndSetRemoteApplicationsToRdsCollection(System.IAsyncResult asyncResult)
- {
+ public ResultObject EndSetRemoteApplicationsToRdsCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ResultObject)(results[0]));
}
-
+
///
- public void SetRemoteApplicationsToRdsCollectionAsync(int itemId, int collectionId, RemoteApplication[] remoteApps)
- {
+ public void SetRemoteApplicationsToRdsCollectionAsync(int itemId, int collectionId, RemoteApplication[] remoteApps) {
this.SetRemoteApplicationsToRdsCollectionAsync(itemId, collectionId, remoteApps, null);
}
-
+
///
- public void SetRemoteApplicationsToRdsCollectionAsync(int itemId, int collectionId, RemoteApplication[] remoteApps, object userState)
- {
- if ((this.SetRemoteApplicationsToRdsCollectionOperationCompleted == null))
- {
+ public void SetRemoteApplicationsToRdsCollectionAsync(int itemId, int collectionId, RemoteApplication[] remoteApps, object userState) {
+ if ((this.SetRemoteApplicationsToRdsCollectionOperationCompleted == null)) {
this.SetRemoteApplicationsToRdsCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetRemoteApplicationsToRdsCollectionOperationCompleted);
}
this.InvokeAsync("SetRemoteApplicationsToRdsCollection", new object[] {
- itemId,
- collectionId,
- remoteApps}, this.SetRemoteApplicationsToRdsCollectionOperationCompleted, userState);
+ itemId,
+ collectionId,
+ remoteApps}, this.SetRemoteApplicationsToRdsCollectionOperationCompleted, userState);
}
-
- private void OnSetRemoteApplicationsToRdsCollectionOperationCompleted(object arg)
- {
- if ((this.SetRemoteApplicationsToRdsCollectionCompleted != null))
- {
+
+ private void OnSetRemoteApplicationsToRdsCollectionOperationCompleted(object arg) {
+ if ((this.SetRemoteApplicationsToRdsCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetRemoteApplicationsToRdsCollectionCompleted(this, new SetRemoteApplicationsToRdsCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetOrganizationRdsUsersCount", RequestNamespace = "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 GetOrganizationRdsUsersCount(int itemId)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetOrganizationRdsUsersCount", RequestNamespace="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 GetOrganizationRdsUsersCount(int itemId) {
object[] results = this.Invoke("GetOrganizationRdsUsersCount", new object[] {
- itemId});
+ itemId});
return ((int)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetOrganizationRdsUsersCount(int itemId, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetOrganizationRdsUsersCount(int itemId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetOrganizationRdsUsersCount", new object[] {
- itemId}, callback, asyncState);
+ itemId}, callback, asyncState);
}
-
+
///
- public int EndGetOrganizationRdsUsersCount(System.IAsyncResult asyncResult)
- {
+ public int EndGetOrganizationRdsUsersCount(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
-
+
///
- public void GetOrganizationRdsUsersCountAsync(int itemId)
- {
+ public void GetOrganizationRdsUsersCountAsync(int itemId) {
this.GetOrganizationRdsUsersCountAsync(itemId, null);
}
-
+
///
- public void GetOrganizationRdsUsersCountAsync(int itemId, object userState)
- {
- if ((this.GetOrganizationRdsUsersCountOperationCompleted == null))
- {
+ public void GetOrganizationRdsUsersCountAsync(int itemId, object userState) {
+ if ((this.GetOrganizationRdsUsersCountOperationCompleted == null)) {
this.GetOrganizationRdsUsersCountOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetOrganizationRdsUsersCountOperationCompleted);
}
this.InvokeAsync("GetOrganizationRdsUsersCount", new object[] {
- itemId}, this.GetOrganizationRdsUsersCountOperationCompleted, userState);
+ itemId}, this.GetOrganizationRdsUsersCountOperationCompleted, userState);
}
-
- private void OnGetOrganizationRdsUsersCountOperationCompleted(object arg)
- {
- if ((this.GetOrganizationRdsUsersCountCompleted != null))
- {
+
+ private void OnGetOrganizationRdsUsersCountOperationCompleted(object arg) {
+ if ((this.GetOrganizationRdsUsersCountCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetOrganizationRdsUsersCountCompleted(this, new GetOrganizationRdsUsersCountCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- public new void CancelAsync(object userState)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetApplicationUsers", RequestNamespace="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[] GetApplicationUsers(int itemId, int collectionId, RemoteApplication remoteApp) {
+ object[] results = this.Invoke("GetApplicationUsers", new object[] {
+ itemId,
+ collectionId,
+ remoteApp});
+ return ((string[])(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginGetApplicationUsers(int itemId, int collectionId, RemoteApplication remoteApp, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("GetApplicationUsers", new object[] {
+ itemId,
+ collectionId,
+ remoteApp}, callback, asyncState);
+ }
+
+ ///
+ public string[] EndGetApplicationUsers(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((string[])(results[0]));
+ }
+
+ ///
+ public void GetApplicationUsersAsync(int itemId, int collectionId, RemoteApplication remoteApp) {
+ this.GetApplicationUsersAsync(itemId, collectionId, remoteApp, null);
+ }
+
+ ///
+ public void GetApplicationUsersAsync(int itemId, int collectionId, RemoteApplication remoteApp, object userState) {
+ if ((this.GetApplicationUsersOperationCompleted == null)) {
+ this.GetApplicationUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetApplicationUsersOperationCompleted);
+ }
+ this.InvokeAsync("GetApplicationUsers", new object[] {
+ itemId,
+ collectionId,
+ remoteApp}, this.GetApplicationUsersOperationCompleted, userState);
+ }
+
+ private void OnGetApplicationUsersOperationCompleted(object arg) {
+ if ((this.GetApplicationUsersCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.GetApplicationUsersCompleted(this, new GetApplicationUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/SetApplicationUsers", RequestNamespace="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 SetApplicationUsers(int itemId, int collectionId, RemoteApplication remoteApp, string[] users) {
+ object[] results = this.Invoke("SetApplicationUsers", new object[] {
+ itemId,
+ collectionId,
+ remoteApp,
+ users});
+ return ((ResultObject)(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginSetApplicationUsers(int itemId, int collectionId, RemoteApplication remoteApp, string[] users, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("SetApplicationUsers", new object[] {
+ itemId,
+ collectionId,
+ remoteApp,
+ users}, callback, asyncState);
+ }
+
+ ///
+ public ResultObject EndSetApplicationUsers(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((ResultObject)(results[0]));
+ }
+
+ ///
+ public void SetApplicationUsersAsync(int itemId, int collectionId, RemoteApplication remoteApp, string[] users) {
+ this.SetApplicationUsersAsync(itemId, collectionId, remoteApp, users, null);
+ }
+
+ ///
+ public void SetApplicationUsersAsync(int itemId, int collectionId, RemoteApplication remoteApp, string[] users, object userState) {
+ if ((this.SetApplicationUsersOperationCompleted == null)) {
+ this.SetApplicationUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetApplicationUsersOperationCompleted);
+ }
+ this.InvokeAsync("SetApplicationUsers", new object[] {
+ itemId,
+ collectionId,
+ remoteApp,
+ users}, this.SetApplicationUsersOperationCompleted, userState);
+ }
+
+ private void OnSetApplicationUsersOperationCompleted(object arg) {
+ if ((this.SetApplicationUsersCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.SetApplicationUsersCompleted(this, new SetApplicationUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRdsCollectionCompletedEventHandler(object sender, GetRdsCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsCollection Result
- {
- get
- {
+ public RdsCollection Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsCollection)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetOrganizationRdsCollectionsCompletedEventHandler(object sender, GetOrganizationRdsCollectionsCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetOrganizationRdsCollectionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetOrganizationRdsCollectionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetOrganizationRdsCollectionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetOrganizationRdsCollectionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsCollection[] Result
- {
- get
- {
+ public RdsCollection[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsCollection[])(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddRdsCollectionCompletedEventHandler(object sender, AddRdsCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class AddRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class AddRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal AddRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal AddRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
- public delegate void GetRdsCollectionsPagedCompletedEventHandler(object sender, GetRdsCollectionsPagedCompletedEventArgs e);
-
+ public delegate void EditRdsCollectionCompletedEventHandler(object sender, EditRdsCollectionCompletedEventArgs e);
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetRdsCollectionsPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class EditRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetRdsCollectionsPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal EditRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsCollectionPaged Result
- {
- get
- {
+ public ResultObject Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((ResultObject)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void GetRdsCollectionsPagedCompletedEventHandler(object sender, GetRdsCollectionsPagedCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class GetRdsCollectionsPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal GetRdsCollectionsPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ ///
+ public RdsCollectionPaged Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsCollectionPaged)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void RemoveRdsCollectionCompletedEventHandler(object sender, RemoveRdsCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class RemoveRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class RemoveRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal RemoveRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal RemoveRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRdsServersPagedCompletedEventHandler(object sender, GetRdsServersPagedCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetRdsServersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetRdsServersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetRdsServersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetRdsServersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsServersPaged Result
- {
- get
- {
+ public RdsServersPaged Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsServersPaged)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetFreeRdsServersPagedCompletedEventHandler(object sender, GetFreeRdsServersPagedCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetFreeRdsServersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetFreeRdsServersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetFreeRdsServersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetFreeRdsServersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsServersPaged Result
- {
- get
- {
+ public RdsServersPaged Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsServersPaged)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetOrganizationRdsServersPagedCompletedEventHandler(object sender, GetOrganizationRdsServersPagedCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetOrganizationRdsServersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetOrganizationRdsServersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetOrganizationRdsServersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetOrganizationRdsServersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsServersPaged Result
- {
- get
- {
+ public RdsServersPaged Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsServersPaged)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetOrganizationFreeRdsServersPagedCompletedEventHandler(object sender, GetOrganizationFreeRdsServersPagedCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetOrganizationFreeRdsServersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetOrganizationFreeRdsServersPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetOrganizationFreeRdsServersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetOrganizationFreeRdsServersPagedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsServersPaged Result
- {
- get
- {
+ public RdsServersPaged Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsServersPaged)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRdsServerCompletedEventHandler(object sender, GetRdsServerCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetRdsServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetRdsServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetRdsServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetRdsServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsServer Result
- {
- get
- {
+ public RdsServer Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsServer)(this.results[0]));
}
}
}
-
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void SetRDServerNewConnectionAllowedCompletedEventHandler(object sender, SetRDServerNewConnectionAllowedCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class SetRDServerNewConnectionAllowedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal SetRDServerNewConnectionAllowedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ ///
+ public ResultObject Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((ResultObject)(this.results[0]));
+ }
+ }
+ }
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetCollectionRdsServersCompletedEventHandler(object sender, GetCollectionRdsServersCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetCollectionRdsServersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetCollectionRdsServersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetCollectionRdsServersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetCollectionRdsServersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsServer[] Result
- {
- get
- {
+ public RdsServer[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsServer[])(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetOrganizationRdsServersCompletedEventHandler(object sender, GetOrganizationRdsServersCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetOrganizationRdsServersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetOrganizationRdsServersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetOrganizationRdsServersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetOrganizationRdsServersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsServer[] Result
- {
- get
- {
+ public RdsServer[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsServer[])(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddRdsServerCompletedEventHandler(object sender, AddRdsServerCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class AddRdsServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class AddRdsServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal AddRdsServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal AddRdsServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddRdsServerToCollectionCompletedEventHandler(object sender, AddRdsServerToCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class AddRdsServerToCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class AddRdsServerToCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal AddRdsServerToCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal AddRdsServerToCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddRdsServerToOrganizationCompletedEventHandler(object sender, AddRdsServerToOrganizationCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class AddRdsServerToOrganizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class AddRdsServerToOrganizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal AddRdsServerToOrganizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal AddRdsServerToOrganizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void RemoveRdsServerCompletedEventHandler(object sender, RemoveRdsServerCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class RemoveRdsServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class RemoveRdsServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal RemoveRdsServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal RemoveRdsServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void RemoveRdsServerFromCollectionCompletedEventHandler(object sender, RemoveRdsServerFromCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class RemoveRdsServerFromCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class RemoveRdsServerFromCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal RemoveRdsServerFromCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal RemoveRdsServerFromCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void RemoveRdsServerFromOrganizationCompletedEventHandler(object sender, RemoveRdsServerFromOrganizationCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class RemoveRdsServerFromOrganizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class RemoveRdsServerFromOrganizationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal RemoveRdsServerFromOrganizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal RemoveRdsServerFromOrganizationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateRdsServerCompletedEventHandler(object sender, UpdateRdsServerCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class UpdateRdsServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class UpdateRdsServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal UpdateRdsServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal UpdateRdsServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRdsCollectionUsersCompletedEventHandler(object sender, GetRdsCollectionUsersCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetRdsCollectionUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetRdsCollectionUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetRdsCollectionUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetRdsCollectionUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public OrganizationUser[] Result
- {
- get
- {
+ public OrganizationUser[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((OrganizationUser[])(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void SetUsersToRdsCollectionCompletedEventHandler(object sender, SetUsersToRdsCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class SetUsersToRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class SetUsersToRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal SetUsersToRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal SetUsersToRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetCollectionRemoteApplicationsCompletedEventHandler(object sender, GetCollectionRemoteApplicationsCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetCollectionRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetCollectionRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetCollectionRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetCollectionRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RemoteApplication[] Result
- {
- get
- {
+ public RemoteApplication[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RemoteApplication[])(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetAvailableRemoteApplicationsCompletedEventHandler(object sender, GetAvailableRemoteApplicationsCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetAvailableRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetAvailableRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetAvailableRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetAvailableRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public StartMenuApp[] Result
- {
- get
- {
+ public StartMenuApp[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((StartMenuApp[])(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddRemoteApplicationToCollectionCompletedEventHandler(object sender, AddRemoteApplicationToCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class AddRemoteApplicationToCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class AddRemoteApplicationToCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal AddRemoteApplicationToCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal AddRemoteApplicationToCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void RemoveRemoteApplicationFromCollectionCompletedEventHandler(object sender, RemoveRemoteApplicationFromCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class RemoveRemoteApplicationFromCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class RemoveRemoteApplicationFromCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal RemoveRemoteApplicationFromCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal RemoveRemoteApplicationFromCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void SetRemoteApplicationsToRdsCollectionCompletedEventHandler(object sender, SetRemoteApplicationsToRdsCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class SetRemoteApplicationsToRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class SetRemoteApplicationsToRdsCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal SetRemoteApplicationsToRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal SetRemoteApplicationsToRdsCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public ResultObject Result
- {
- get
- {
+ public ResultObject Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((ResultObject)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetOrganizationRdsUsersCountCompletedEventHandler(object sender, GetOrganizationRdsUsersCountCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetOrganizationRdsUsersCountCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetOrganizationRdsUsersCountCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetOrganizationRdsUsersCountCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetOrganizationRdsUsersCountCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public int Result
- {
- get
- {
+ public int Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
-
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void GetApplicationUsersCompletedEventHandler(object sender, GetApplicationUsersCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class GetApplicationUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal GetApplicationUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ ///
+ public string[] Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string[])(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void SetApplicationUsersCompletedEventHandler(object sender, SetApplicationUsersCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class SetApplicationUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal SetApplicationUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ ///
+ public ResultObject Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((ResultObject)(this.results[0]));
+ }
+ }
+ }
}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/ServersProxy.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/ServersProxy.cs
index 3368d3b8..b4d4fbd0 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/ServersProxy.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/ServersProxy.cs
@@ -1,35 +1,7 @@
-// Copyright (c) 2014, 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.5466
+// Runtime Version:2.0.50727.7905
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -37,25 +9,26 @@
//------------------------------------------------------------------------------
//
-// This source code was auto-generated by wsdl, Version=2.0.50727.42.
+// This source code was auto-generated by wsdl, Version=2.0.50727.3038.
//
-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
-{
+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.DomainLookup;
+ using WebsitePanel.Providers.Common;
+ using WebsitePanel.Providers.ResultObjects;
+ using WebsitePanel.Server;
+ using WebsitePanel.Providers;
+ using WebsitePanel.Providers.DNS;
+
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="esServersSoap", Namespace="http://smbsaas/websitepanel/enterpriseserver")]
@@ -77,6 +50,8 @@ namespace WebsitePanel.EnterpriseServer
private System.Threading.SendOrPostCallback DeleteDnsRecordOperationCompleted;
+ private System.Threading.SendOrPostCallback GetDomainDnsRecordsOperationCompleted;
+
private System.Threading.SendOrPostCallback GetDomainsOperationCompleted;
private System.Threading.SendOrPostCallback GetDomainsByDomainIdOperationCompleted;
@@ -324,6 +299,9 @@ namespace WebsitePanel.EnterpriseServer
///
public event DeleteDnsRecordCompletedEventHandler DeleteDnsRecordCompleted;
+ ///
+ public event GetDomainDnsRecordsCompletedEventHandler GetDomainDnsRecordsCompleted;
+
///
public event GetDomainsCompletedEventHandler GetDomainsCompleted;
@@ -979,6 +957,47 @@ namespace WebsitePanel.EnterpriseServer
}
}
+ ///
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetDomainDnsRecords", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public DnsRecordInfo[] GetDomainDnsRecords(int domainId) {
+ object[] results = this.Invoke("GetDomainDnsRecords", new object[] {
+ domainId});
+ return ((DnsRecordInfo[])(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginGetDomainDnsRecords(int domainId, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("GetDomainDnsRecords", new object[] {
+ domainId}, callback, asyncState);
+ }
+
+ ///
+ public DnsRecordInfo[] EndGetDomainDnsRecords(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((DnsRecordInfo[])(results[0]));
+ }
+
+ ///
+ public void GetDomainDnsRecordsAsync(int domainId) {
+ this.GetDomainDnsRecordsAsync(domainId, null);
+ }
+
+ ///
+ public void GetDomainDnsRecordsAsync(int domainId, object userState) {
+ if ((this.GetDomainDnsRecordsOperationCompleted == null)) {
+ this.GetDomainDnsRecordsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDomainDnsRecordsOperationCompleted);
+ }
+ this.InvokeAsync("GetDomainDnsRecords", new object[] {
+ domainId}, this.GetDomainDnsRecordsOperationCompleted, userState);
+ }
+
+ private void OnGetDomainDnsRecordsOperationCompleted(object arg) {
+ if ((this.GetDomainDnsRecordsCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.GetDomainDnsRecordsCompleted(this, new GetDomainDnsRecordsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetDomains", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public DomainInfo[] GetDomains(int packageId) {
@@ -5777,11 +5796,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDnsRecordsByServiceCompletedEventHandler(object sender, GetDnsRecordsByServiceCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDnsRecordsByServiceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -5803,11 +5822,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDnsRecordsByServerCompletedEventHandler(object sender, GetDnsRecordsByServerCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDnsRecordsByServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -5829,11 +5848,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDnsRecordsByPackageCompletedEventHandler(object sender, GetDnsRecordsByPackageCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDnsRecordsByPackageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -5855,11 +5874,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDnsRecordsByGroupCompletedEventHandler(object sender, GetDnsRecordsByGroupCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDnsRecordsByGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -5881,11 +5900,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDnsRecordCompletedEventHandler(object sender, GetDnsRecordCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -5907,11 +5926,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddDnsRecordCompletedEventHandler(object sender, AddDnsRecordCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -5933,11 +5952,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateDnsRecordCompletedEventHandler(object sender, UpdateDnsRecordCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -5959,11 +5978,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteDnsRecordCompletedEventHandler(object sender, DeleteDnsRecordCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteDnsRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -5985,11 +6004,37 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void GetDomainDnsRecordsCompletedEventHandler(object sender, GetDomainDnsRecordsCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class GetDomainDnsRecordsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal GetDomainDnsRecordsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ ///
+ public DnsRecordInfo[] Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((DnsRecordInfo[])(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDomainsCompletedEventHandler(object sender, GetDomainsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6011,11 +6056,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDomainsByDomainIdCompletedEventHandler(object sender, GetDomainsByDomainIdCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDomainsByDomainIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6037,11 +6082,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetMyDomainsCompletedEventHandler(object sender, GetMyDomainsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetMyDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6063,11 +6108,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetResellerDomainsCompletedEventHandler(object sender, GetResellerDomainsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetResellerDomainsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6089,11 +6134,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDomainsPagedCompletedEventHandler(object sender, GetDomainsPagedCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDomainsPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6115,11 +6160,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDomainCompletedEventHandler(object sender, GetDomainCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6141,11 +6186,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddDomainCompletedEventHandler(object sender, AddDomainCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6167,11 +6212,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddDomainWithProvisioningCompletedEventHandler(object sender, AddDomainWithProvisioningCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddDomainWithProvisioningCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6193,11 +6238,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateDomainCompletedEventHandler(object sender, UpdateDomainCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6219,11 +6264,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteDomainCompletedEventHandler(object sender, DeleteDomainCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6245,11 +6290,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DetachDomainCompletedEventHandler(object sender, DetachDomainCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DetachDomainCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6271,11 +6316,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void EnableDomainDnsCompletedEventHandler(object sender, EnableDomainDnsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class EnableDomainDnsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6297,11 +6342,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DisableDomainDnsCompletedEventHandler(object sender, DisableDomainDnsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DisableDomainDnsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6323,11 +6368,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateDomainInstantAliasCompletedEventHandler(object sender, CreateDomainInstantAliasCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CreateDomainInstantAliasCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6349,11 +6394,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteDomainInstantAliasCompletedEventHandler(object sender, DeleteDomainInstantAliasCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteDomainInstantAliasCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6375,11 +6420,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDnsZoneRecordsCompletedEventHandler(object sender, GetDnsZoneRecordsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDnsZoneRecordsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6401,11 +6446,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRawDnsZoneRecordsCompletedEventHandler(object sender, GetRawDnsZoneRecordsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetRawDnsZoneRecordsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6427,11 +6472,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddDnsZoneRecordCompletedEventHandler(object sender, AddDnsZoneRecordCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddDnsZoneRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6453,11 +6498,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateDnsZoneRecordCompletedEventHandler(object sender, UpdateDnsZoneRecordCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateDnsZoneRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6479,11 +6524,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteDnsZoneRecordCompletedEventHandler(object sender, DeleteDnsZoneRecordCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteDnsZoneRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6505,11 +6550,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetTerminalServicesSessionsCompletedEventHandler(object sender, GetTerminalServicesSessionsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetTerminalServicesSessionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6531,11 +6576,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CloseTerminalServicesSessionCompletedEventHandler(object sender, CloseTerminalServicesSessionCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CloseTerminalServicesSessionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6557,11 +6602,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetWindowsProcessesCompletedEventHandler(object sender, GetWindowsProcessesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetWindowsProcessesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6583,11 +6628,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void TerminateWindowsProcessCompletedEventHandler(object sender, TerminateWindowsProcessCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class TerminateWindowsProcessCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6609,11 +6654,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CheckLoadUserProfileCompletedEventHandler(object sender, CheckLoadUserProfileCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CheckLoadUserProfileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6635,19 +6680,19 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void EnableLoadUserProfileCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void InitWPIFeedsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetWPITabsCompletedEventHandler(object sender, GetWPITabsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetWPITabsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6669,11 +6714,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetWPIKeywordsCompletedEventHandler(object sender, GetWPIKeywordsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetWPIKeywordsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6695,11 +6740,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetWPIProductsCompletedEventHandler(object sender, GetWPIProductsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetWPIProductsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6721,11 +6766,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetWPIProductsFilteredCompletedEventHandler(object sender, GetWPIProductsFilteredCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetWPIProductsFilteredCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6747,11 +6792,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetWPIProductByIdCompletedEventHandler(object sender, GetWPIProductByIdCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetWPIProductByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6773,11 +6818,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetWPIProductsWithDependenciesCompletedEventHandler(object sender, GetWPIProductsWithDependenciesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetWPIProductsWithDependenciesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6799,19 +6844,19 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void InstallWPIProductsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CancelInstallWPIProductsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetWPIStatusCompletedEventHandler(object sender, GetWPIStatusCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetWPIStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6833,11 +6878,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void WpiGetLogFileDirectoryCompletedEventHandler(object sender, WpiGetLogFileDirectoryCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class WpiGetLogFileDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6859,11 +6904,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void WpiGetLogsInDirectoryCompletedEventHandler(object sender, WpiGetLogsInDirectoryCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class WpiGetLogsInDirectoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6885,11 +6930,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetWindowsServicesCompletedEventHandler(object sender, GetWindowsServicesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetWindowsServicesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6911,11 +6956,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void ChangeWindowsServiceStatusCompletedEventHandler(object sender, ChangeWindowsServiceStatusCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ChangeWindowsServiceStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6937,11 +6982,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetLogNamesCompletedEventHandler(object sender, GetLogNamesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetLogNamesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6963,11 +7008,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetLogEntriesCompletedEventHandler(object sender, GetLogEntriesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetLogEntriesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -6989,11 +7034,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetLogEntriesPagedCompletedEventHandler(object sender, GetLogEntriesPagedCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetLogEntriesPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7015,11 +7060,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void ClearLogCompletedEventHandler(object sender, ClearLogCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ClearLogCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7041,11 +7086,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void RebootSystemCompletedEventHandler(object sender, RebootSystemCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class RebootSystemCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7067,11 +7112,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetAllServersCompletedEventHandler(object sender, GetAllServersCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetAllServersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7093,11 +7138,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRawAllServersCompletedEventHandler(object sender, GetRawAllServersCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetRawAllServersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7119,11 +7164,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetServersCompletedEventHandler(object sender, GetServersCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetServersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7145,11 +7190,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRawServersCompletedEventHandler(object sender, GetRawServersCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetRawServersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7171,11 +7216,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetServerShortDetailsCompletedEventHandler(object sender, GetServerShortDetailsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetServerShortDetailsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7197,11 +7242,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetServerByIdCompletedEventHandler(object sender, GetServerByIdCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetServerByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7223,11 +7268,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetServerByNameCompletedEventHandler(object sender, GetServerByNameCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetServerByNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7249,11 +7294,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CheckServerAvailableCompletedEventHandler(object sender, CheckServerAvailableCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CheckServerAvailableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7275,11 +7320,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddServerCompletedEventHandler(object sender, AddServerCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7301,11 +7346,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateServerCompletedEventHandler(object sender, UpdateServerCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7327,11 +7372,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateServerConnectionPasswordCompletedEventHandler(object sender, UpdateServerConnectionPasswordCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateServerConnectionPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7353,11 +7398,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateServerADPasswordCompletedEventHandler(object sender, UpdateServerADPasswordCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateServerADPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7379,11 +7424,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteServerCompletedEventHandler(object sender, DeleteServerCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7405,11 +7450,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetVirtualServersCompletedEventHandler(object sender, GetVirtualServersCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetVirtualServersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7431,11 +7476,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetAvailableVirtualServicesCompletedEventHandler(object sender, GetAvailableVirtualServicesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetAvailableVirtualServicesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7457,11 +7502,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetVirtualServicesCompletedEventHandler(object sender, GetVirtualServicesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetVirtualServicesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7483,11 +7528,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddVirtualServicesCompletedEventHandler(object sender, AddVirtualServicesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddVirtualServicesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7509,11 +7554,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteVirtualServicesCompletedEventHandler(object sender, DeleteVirtualServicesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteVirtualServicesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7535,11 +7580,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateVirtualGroupsCompletedEventHandler(object sender, UpdateVirtualGroupsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateVirtualGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7561,11 +7606,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRawServicesByServerIdCompletedEventHandler(object sender, GetRawServicesByServerIdCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetRawServicesByServerIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7587,11 +7632,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetServicesByServerIdCompletedEventHandler(object sender, GetServicesByServerIdCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetServicesByServerIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7613,11 +7658,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetServicesByServerIdGroupNameCompletedEventHandler(object sender, GetServicesByServerIdGroupNameCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetServicesByServerIdGroupNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7639,11 +7684,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRawServicesByGroupIdCompletedEventHandler(object sender, GetRawServicesByGroupIdCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetRawServicesByGroupIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7665,11 +7710,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRawServicesByGroupNameCompletedEventHandler(object sender, GetRawServicesByGroupNameCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetRawServicesByGroupNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7691,11 +7736,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetServiceInfoCompletedEventHandler(object sender, GetServiceInfoCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetServiceInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7717,11 +7762,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddServiceCompletedEventHandler(object sender, AddServiceCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddServiceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7743,11 +7788,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateServiceCompletedEventHandler(object sender, UpdateServiceCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateServiceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7769,11 +7814,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteServiceCompletedEventHandler(object sender, DeleteServiceCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteServiceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7795,11 +7840,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetServiceSettingsCompletedEventHandler(object sender, GetServiceSettingsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetServiceSettingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7821,11 +7866,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateServiceSettingsCompletedEventHandler(object sender, UpdateServiceSettingsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateServiceSettingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7847,11 +7892,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void InstallServiceCompletedEventHandler(object sender, InstallServiceCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class InstallServiceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7873,11 +7918,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetProviderServiceQuotaCompletedEventHandler(object sender, GetProviderServiceQuotaCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetProviderServiceQuotaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7899,11 +7944,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetInstalledProvidersCompletedEventHandler(object sender, GetInstalledProvidersCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetInstalledProvidersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7925,11 +7970,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetResourceGroupsCompletedEventHandler(object sender, GetResourceGroupsCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetResourceGroupsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7951,11 +7996,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetResourceGroupCompletedEventHandler(object sender, GetResourceGroupCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetResourceGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -7977,11 +8022,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetProviderCompletedEventHandler(object sender, GetProviderCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetProviderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8003,11 +8048,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetProvidersCompletedEventHandler(object sender, GetProvidersCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetProvidersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8029,11 +8074,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetProvidersByGroupIdCompletedEventHandler(object sender, GetProvidersByGroupIdCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetProvidersByGroupIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8055,11 +8100,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetPackageServiceProviderCompletedEventHandler(object sender, GetPackageServiceProviderCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetPackageServiceProviderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8081,11 +8126,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void IsInstalledCompletedEventHandler(object sender, IsInstalledCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class IsInstalledCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8107,11 +8152,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetServerVersionCompletedEventHandler(object sender, GetServerVersionCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetServerVersionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8133,11 +8178,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetIPAddressesCompletedEventHandler(object sender, GetIPAddressesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetIPAddressesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8159,11 +8204,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetIPAddressesPagedCompletedEventHandler(object sender, GetIPAddressesPagedCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetIPAddressesPagedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8185,11 +8230,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetIPAddressCompletedEventHandler(object sender, GetIPAddressCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetIPAddressCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8211,11 +8256,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddIPAddressCompletedEventHandler(object sender, AddIPAddressCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddIPAddressCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8237,11 +8282,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddIPAddressesRangeCompletedEventHandler(object sender, AddIPAddressesRangeCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddIPAddressesRangeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8263,11 +8308,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateIPAddressCompletedEventHandler(object sender, UpdateIPAddressCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateIPAddressCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8289,11 +8334,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateIPAddressesCompletedEventHandler(object sender, UpdateIPAddressesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateIPAddressesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8315,11 +8360,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteIPAddressCompletedEventHandler(object sender, DeleteIPAddressCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteIPAddressCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8341,11 +8386,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteIPAddressesCompletedEventHandler(object sender, DeleteIPAddressesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteIPAddressesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8367,11 +8412,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetUnallottedIPAddressesCompletedEventHandler(object sender, GetUnallottedIPAddressesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetUnallottedIPAddressesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8393,11 +8438,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetPackageIPAddressesCompletedEventHandler(object sender, GetPackageIPAddressesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetPackageIPAddressesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8419,11 +8464,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetPackageIPAddressesCountCompletedEventHandler(object sender, GetPackageIPAddressesCountCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetPackageIPAddressesCountCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8445,11 +8490,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetPackageUnassignedIPAddressesCompletedEventHandler(object sender, GetPackageUnassignedIPAddressesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetPackageUnassignedIPAddressesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8471,11 +8516,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AllocatePackageIPAddressesCompletedEventHandler(object sender, AllocatePackageIPAddressesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AllocatePackageIPAddressesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8497,11 +8542,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AllocateMaximumPackageIPAddressesCompletedEventHandler(object sender, AllocateMaximumPackageIPAddressesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AllocateMaximumPackageIPAddressesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8523,11 +8568,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeallocatePackageIPAddressesCompletedEventHandler(object sender, DeallocatePackageIPAddressesCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeallocatePackageIPAddressesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8549,11 +8594,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetClustersCompletedEventHandler(object sender, GetClustersCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetClustersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8575,11 +8620,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddClusterCompletedEventHandler(object sender, AddClusterCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddClusterCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8601,11 +8646,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteClusterCompletedEventHandler(object sender, DeleteClusterCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DeleteClusterCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8627,11 +8672,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRawDnsRecordsByServiceCompletedEventHandler(object sender, GetRawDnsRecordsByServiceCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetRawDnsRecordsByServiceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8653,11 +8698,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRawDnsRecordsByServerCompletedEventHandler(object sender, GetRawDnsRecordsByServerCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetRawDnsRecordsByServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8679,11 +8724,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRawDnsRecordsByPackageCompletedEventHandler(object sender, GetRawDnsRecordsByPackageCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetRawDnsRecordsByPackageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
@@ -8705,11 +8750,11 @@ namespace WebsitePanel.EnterpriseServer
}
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetRawDnsRecordsByGroupCompletedEventHandler(object sender, GetRawDnsRecordsByGroupCompletedEventArgs e);
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetRawDnsRecordsByGroupCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Data/DataProvider.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Data/DataProvider.cs
index f8feb2ce..a15ef81b 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Data/DataProvider.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Data/DataProvider.cs
@@ -36,6 +36,8 @@ using Microsoft.ApplicationBlocks.Data;
using System.Collections.Generic;
using Microsoft.Win32;
using WebsitePanel.Providers.RemoteDesktopServices;
+using WebsitePanel.Providers.DNS;
+using WebsitePanel.Providers.DomainLookup;
namespace WebsitePanel.EnterpriseServer
{
@@ -1908,9 +1910,9 @@ namespace WebsitePanel.EnterpriseServer
public static IDataReader GetProcessBackgroundTasks(BackgroundTaskStatus status)
{
- return SqlHelper.ExecuteReader(ConnectionString, CommandType.StoredProcedure,
- ObjectQualifier + "GetProcessBackgroundTasks",
- new SqlParameter("@status", (int)status));
+ return SqlHelper.ExecuteReader(ConnectionString, CommandType.StoredProcedure,
+ ObjectQualifier + "GetProcessBackgroundTasks",
+ new SqlParameter("@status", (int)status));
}
public static IDataReader GetBackgroundTopTask(Guid guid)
@@ -3265,6 +3267,18 @@ namespace WebsitePanel.EnterpriseServer
);
}
+ public static DataSet GetOrganizationObjectsByDomain(int itemId, string domainName)
+ {
+ return SqlHelper.ExecuteDataset(
+ ConnectionString,
+ CommandType.StoredProcedure,
+ "GetOrganizationObjectsByDomain",
+ new SqlParameter("@ItemID", itemId),
+ new SqlParameter("@DomainName", domainName)
+ );
+ }
+
+
#endregion
#region CRM
@@ -4636,10 +4650,10 @@ namespace WebsitePanel.EnterpriseServer
public static void UpdateRDSServer(RdsServer server)
{
UpdateRDSServer(server.Id, server.ItemId, server.Name, server.FqdName, server.Description,
- server.RdsCollectionId);
+ server.RdsCollectionId, server.ConnectionEnabled);
}
- public static void UpdateRDSServer(int id, int? itemId, string name, string fqdName, string description, int? rdsCollectionId)
+ public static void UpdateRDSServer(int id, int? itemId, string name, string fqdName, string description, int? rdsCollectionId, bool connectionEnabled)
{
SqlHelper.ExecuteNonQuery(
ConnectionString,
@@ -4650,7 +4664,8 @@ namespace WebsitePanel.EnterpriseServer
new SqlParameter("@Name", name),
new SqlParameter("@FqdName", fqdName),
new SqlParameter("@Description", description),
- new SqlParameter("@RDSCollectionId", rdsCollectionId)
+ new SqlParameter("@RDSCollectionId", rdsCollectionId),
+ new SqlParameter("@ConnectionEnabled", connectionEnabled)
);
}
@@ -4729,5 +4744,127 @@ namespace WebsitePanel.EnterpriseServer
}
#endregion
+
+ #region MX|NX Services
+
+ public static IDataReader GetAllPackages()
+ {
+ return SqlHelper.ExecuteReader(
+ ConnectionString,
+ CommandType.StoredProcedure,
+ "GetAllPackages"
+ );
+ }
+
+ public static IDataReader GetDomainDnsRecords(int domainId, DnsRecordType recordType)
+ {
+ return SqlHelper.ExecuteReader(
+ ConnectionString,
+ CommandType.StoredProcedure,
+ "GetDomainDnsRecords",
+ new SqlParameter("@DomainId", domainId),
+ new SqlParameter("@RecordType", recordType)
+ );
+ }
+
+ public static IDataReader GetDomainAllDnsRecords(int domainId)
+ {
+ return SqlHelper.ExecuteReader(
+ ConnectionString,
+ CommandType.StoredProcedure,
+ "GetDomainAllDnsRecords",
+ new SqlParameter("@DomainId", domainId)
+ );
+ }
+
+ public static void AddDomainDnsRecord(DnsRecordInfo domainDnsRecord)
+ {
+ SqlHelper.ExecuteNonQuery(
+ ConnectionString,
+ CommandType.StoredProcedure,
+ "AddDomainDnsRecord",
+ new SqlParameter("@DomainId", domainDnsRecord.DomainId),
+ new SqlParameter("@RecordType", domainDnsRecord.RecordType),
+ new SqlParameter("@DnsServer", domainDnsRecord.DnsServer),
+ new SqlParameter("@Value", domainDnsRecord.Value),
+ new SqlParameter("@Date", domainDnsRecord.Date)
+ );
+ }
+
+ public static IDataReader GetScheduleTaskEmailTemplate(string taskId)
+ {
+ return SqlHelper.ExecuteReader(
+ ConnectionString,
+ CommandType.StoredProcedure,
+ "GetScheduleTaskEmailTemplate",
+ new SqlParameter("@taskId", taskId)
+ );
+ }
+
+ public static void DeleteDomainDnsRecord(int id)
+ {
+ SqlHelper.ExecuteNonQuery(
+ ConnectionString,
+ CommandType.StoredProcedure,
+ "DeleteDomainDnsRecord",
+ new SqlParameter("@Id", id)
+ );
+ }
+
+ public static void UpdateDomainCreationDate(int domainId, DateTime date)
+ {
+ UpdateDomainDate(domainId, "UpdateDomainCreationDate", date);
+ }
+
+ public static void UpdateDomainExpirationDate(int domainId, DateTime date)
+ {
+ UpdateDomainDate(domainId, "UpdateDomainExpirationDate", date);
+ }
+
+ public static void UpdateDomainLastUpdateDate(int domainId, DateTime date)
+ {
+ UpdateDomainDate(domainId, "UpdateDomainLastUpdateDate", date);
+ }
+
+ private static void UpdateDomainDate(int domainId, string stroredProcedure, DateTime date)
+ {
+ SqlHelper.ExecuteNonQuery(
+ ConnectionString,
+ CommandType.StoredProcedure,
+ stroredProcedure,
+ new SqlParameter("@DomainId", domainId),
+ new SqlParameter("@Date", date)
+ );
+ }
+
+ public static void UpdateDomainDates(int domainId, DateTime? domainCreationDate, DateTime? domainExpirationDate, DateTime? domainLastUpdateDate)
+ {
+ SqlHelper.ExecuteNonQuery(
+ ConnectionString,
+ CommandType.StoredProcedure,
+ "UpdateDomainDates",
+ new SqlParameter("@DomainId", domainId),
+ new SqlParameter("@DomainCreationDate", domainCreationDate),
+ new SqlParameter("@DomainExpirationDate", domainExpirationDate),
+ new SqlParameter("@DomainLastUpdateDate", domainLastUpdateDate)
+ );
+ }
+
+ public static void UpdateWhoisDomainInfo(int domainId, DateTime? domainCreationDate, DateTime? domainExpirationDate, DateTime? domainLastUpdateDate, string registrarName)
+ {
+ SqlHelper.ExecuteNonQuery(
+ ConnectionString,
+ CommandType.StoredProcedure,
+ "UpdateWhoisDomainInfo",
+ new SqlParameter("@DomainId", domainId),
+ new SqlParameter("@DomainCreationDate", domainCreationDate),
+ new SqlParameter("@DomainExpirationDate", domainExpirationDate),
+ new SqlParameter("@DomainLastUpdateDate", domainLastUpdateDate),
+ new SqlParameter("@DomainRegistrarName", registrarName)
+ );
+ }
+
+ #endregion
+
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/DnsServers/DnsServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/DnsServers/DnsServerController.cs
index 8a5d68e3..b9df1602 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/DnsServers/DnsServerController.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/DnsServers/DnsServerController.cs
@@ -29,6 +29,8 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
+using System.Globalization;
+using System.Linq;
using System.Xml;
using System.Xml.Serialization;
using WebsitePanel.Providers;
@@ -38,6 +40,13 @@ namespace WebsitePanel.EnterpriseServer
{
public class DnsServerController : IImportController, IBackupController
{
+ private static string GetAsciiZoneName(string zoneName)
+ {
+ if (string.IsNullOrEmpty(zoneName)) return zoneName;
+ var idn = new IdnMapping();
+ return idn.GetAscii(zoneName);
+ }
+
private static DNSServer GetDNSServer(int serviceId)
{
DNSServer dns = new DNSServer();
@@ -55,6 +64,9 @@ namespace WebsitePanel.EnterpriseServer
// get DNS provider
DNSServer dns = GetDNSServer(serviceId);
+ // Ensure zoneName is in ascii before saving to database
+ zoneName = GetAsciiZoneName(zoneName);
+
// check if zone already exists
if (dns.ZoneExists(zoneName))
return BusinessErrorCodes.ERROR_DNS_ZONE_EXISTS;
@@ -199,7 +211,7 @@ namespace WebsitePanel.EnterpriseServer
{
// zone item
DnsZone zone = primaryZone ? new DnsZone() : new SecondaryDnsZone();
- zone.Name = zoneName;
+ zone.Name = GetAsciiZoneName(zoneName);
zone.PackageId = spaceId;
zone.ServiceId = serviceId;
int zoneItemId = PackageController.AddPackageItem(zone);
@@ -280,6 +292,8 @@ namespace WebsitePanel.EnterpriseServer
foreach (GlobalDnsRecord record in records)
{
+ domainName = GetAsciiZoneName(domainName);
+
DnsRecord rr = new DnsRecord();
rr.RecordType = (DnsRecordType)Enum.Parse(typeof(DnsRecordType), record.RecordType, true);
rr.RecordName = Utils.ReplaceStringVariable(record.RecordName, "host_name", hostName, true);
@@ -359,8 +373,11 @@ namespace WebsitePanel.EnterpriseServer
DNSServer dns = new DNSServer();
ServiceProviderProxy.Init(dns, serviceId);
+ // IDN: The list of importable names is populated with unicode names, to make it easier for the user
+ var idn = new IdnMapping();
+
if (itemType == typeof(DnsZone))
- items.AddRange(dns.GetZones());
+ items.AddRange(dns.GetZones().Select(z => idn.GetUnicode(z)));
return items;
}
@@ -377,7 +394,7 @@ namespace WebsitePanel.EnterpriseServer
{
// add DNS zone
DnsZone zone = new DnsZone();
- zone.Name = itemName;
+ zone.Name = GetAsciiZoneName(itemName);
zone.ServiceId = serviceId;
zone.PackageId = packageId;
int zoneId = PackageController.AddPackageItem(zone);
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/ExchangeServer/ExchangeServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/ExchangeServer/ExchangeServerController.cs
index f5991529..eb2bdd4e 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/ExchangeServer/ExchangeServerController.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/ExchangeServer/ExchangeServerController.cs
@@ -193,6 +193,9 @@ namespace WebsitePanel.EnterpriseServer
stats.UsedDiskSpace = tempStats.UsedDiskSpace;
stats.UsedLitigationHoldSpace = tempStats.UsedLitigationHoldSpace;
stats.UsedArchingStorage = tempStats.UsedArchingStorage;
+
+ stats.CreatedSharedMailboxes = tempStats.CreatedSharedMailboxes;
+ stats.CreatedResourceMailboxes = tempStats.CreatedResourceMailboxes;
}
else
{
@@ -221,6 +224,9 @@ namespace WebsitePanel.EnterpriseServer
stats.UsedDiskSpace += tempStats.UsedDiskSpace;
stats.UsedLitigationHoldSpace += tempStats.UsedLitigationHoldSpace;
stats.UsedArchingStorage += tempStats.UsedArchingStorage;
+
+ stats.CreatedSharedMailboxes += tempStats.CreatedSharedMailboxes;
+ stats.CreatedResourceMailboxes += tempStats.CreatedResourceMailboxes;
}
}
}
@@ -241,6 +247,9 @@ namespace WebsitePanel.EnterpriseServer
stats.AllocatedLitigationHoldSpace = cntx.Quotas[Quotas.EXCHANGE2007_RECOVERABLEITEMSSPACE].QuotaAllocatedValue;
stats.AllocatedArchingStorage = cntx.Quotas[Quotas.EXCHANGE2013_ARCHIVINGSTORAGE].QuotaAllocatedValue;
+ stats.AllocatedSharedMailboxes = cntx.Quotas[Quotas.EXCHANGE2013_SHAREDMAILBOXES].QuotaAllocatedValue;
+ stats.AllocatedResourceMailboxes = cntx.Quotas[Quotas.EXCHANGE2013_RESOURCEMAILBOXES].QuotaAllocatedValue;
+
return stats;
}
catch (Exception ex)
@@ -1679,8 +1688,21 @@ namespace WebsitePanel.EnterpriseServer
// check mailbox quota
OrganizationStatistics orgStats = GetOrganizationStatistics(itemId);
- if ((orgStats.AllocatedMailboxes > -1) && (orgStats.CreatedMailboxes >= orgStats.AllocatedMailboxes))
- return BusinessErrorCodes.ERROR_EXCHANGE_MAILBOXES_QUOTA_LIMIT;
+ if (accountType == ExchangeAccountType.SharedMailbox)
+ {
+ if ((orgStats.AllocatedSharedMailboxes > -1) && (orgStats.CreatedSharedMailboxes >= orgStats.AllocatedSharedMailboxes))
+ return BusinessErrorCodes.ERROR_EXCHANGE_MAILBOXES_QUOTA_LIMIT;
+ }
+ else if ((accountType == ExchangeAccountType.Room) || (accountType == ExchangeAccountType.Equipment))
+ {
+ if ((orgStats.AllocatedResourceMailboxes > -1) && (orgStats.CreatedResourceMailboxes >= orgStats.AllocatedResourceMailboxes))
+ return BusinessErrorCodes.ERROR_EXCHANGE_MAILBOXES_QUOTA_LIMIT;
+ }
+ else
+ {
+ if ((orgStats.AllocatedMailboxes > -1) && (orgStats.CreatedMailboxes >= orgStats.AllocatedMailboxes))
+ return BusinessErrorCodes.ERROR_EXCHANGE_MAILBOXES_QUOTA_LIMIT;
+ }
// place log record
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs
index 616b1098..dcd1d063 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/OrganizationController.cs
@@ -507,6 +507,15 @@ namespace WebsitePanel.EnterpriseServer
}
}
+ public static bool CheckDomainUsedByHostedOrganization(int itemId, int domainId)
+ {
+ DomainInfo domain = ServerController.GetDomain(domainId);
+ if (domain == null)
+ return false;
+
+ return (DataProvider.CheckDomainUsedByHostedOrganization(domain.DomainName) == 1);
+ }
+
private static void DeleteOCSUsers(int itemId, ref bool successful)
{
try
@@ -3080,5 +3089,10 @@ namespace WebsitePanel.EnterpriseServer
}
#endregion
+
+ public static DataSet GetOrganizationObjectsByDomain(int itemId, string domainName)
+ {
+ return DataProvider.GetOrganizationObjectsByDomain(itemId, domainName);
+ }
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/ReportController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/ReportController.cs
index fab50dff..ecf6ebdc 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/ReportController.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/HostedSolution/ReportController.cs
@@ -278,11 +278,16 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
}
private static void PopulateOrganizationData(Organization org, EnterpriseSolutionStatisticsReport report, string topReseller)
- {
+ {
+ TaskManager.Write("Stat populate organization data "+org.Name);
+
if (report.ExchangeReport != null)
{
+
try
{
+ TaskManager.Write("Populate exchange report items");
+
PopulateExchangeReportItems(org, report, topReseller);
}
catch(Exception ex)
@@ -295,6 +300,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
{
try
{
+ TaskManager.Write("Populate populate CRM report items");
+
PopulateCRMReportItems(org, report, topReseller);
}
catch(Exception ex)
@@ -307,6 +314,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
{
try
{
+ TaskManager.Write("Populate SharePoint item ");
+
PopulateSharePointItem(org, report, topReseller);
}
catch(Exception ex)
@@ -319,6 +328,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
{
try
{
+ TaskManager.Write("Populate Lync report items");
+
PopulateLyncReportItems(org, report, topReseller);
}
catch (Exception ex)
@@ -331,6 +342,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
{
try
{
+ TaskManager.Write("Populate Organization statistics report");
+
PopulateOrganizationStatisticsReport(org, report, topReseller);
}
catch(Exception ex)
@@ -339,7 +352,7 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
}
}
-
+ TaskManager.Write("End populate organization data " + org.Name);
}
private static int GetExchangeServiceID(int packageId)
@@ -408,6 +421,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
private static void PopulateExchangeReportItems(Organization org, EnterpriseSolutionStatisticsReport report, string topReseller)
{
+ TaskManager.Write("Exchange Report Items " + org.Name);
+
//Check if exchange organization
if (string.IsNullOrEmpty(org.GlobalAddressList))
return;
@@ -420,10 +435,14 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
}
catch (Exception ex)
{
+ TaskManager.WriteError(ex);
+
throw new ApplicationException(
string.Format("Could not get mailboxes for current organization {0}", org.Id), ex);
}
+ TaskManager.WriteParameter("mailboxes.Count", mailboxes.Count);
+
try
{
int exchangeServiceId = GetExchangeServiceID(org.PackageId);
@@ -431,6 +450,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
}
catch(Exception ex)
{
+ TaskManager.WriteError(ex);
+
throw new ApplicationException(
string.Format("Could not get exchange server. PackageId: {0}", org.PackageId), ex);
}
@@ -440,6 +461,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
{
try
{
+ TaskManager.WriteParameter("mailbox", mailbox.UserPrincipalName);
+
stats = null;
try
{
@@ -448,6 +471,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
}
catch (Exception ex)
{
+ TaskManager.WriteError(ex);
+
TaskManager.WriteError(ex, "Could not get mailbox statistics. AccountName: {0}",
mailbox.UserPrincipalName);
}
@@ -466,6 +491,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
stats.BlackberryEnabled = BlackBerryController.CheckBlackBerryUserExists(mailbox.AccountId);
report.ExchangeReport.Items.Add(stats);
+
+ TaskManager.Write("Items.Add");
}
}
catch(Exception ex)
@@ -473,7 +500,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
TaskManager.WriteError(ex);
}
}
-
+
+ TaskManager.Write("End Populate Exchange Report Items " + org.Name);
}
@@ -547,6 +575,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
private static void PopulateSpaceData(int packageId, EnterpriseSolutionStatisticsReport report, string topReseller)
{
+ TaskManager.Write("Populate SpaceData " + packageId);
+
List organizations;
try
@@ -570,10 +600,14 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
TaskManager.WriteError(ex);
}
}
+
+ TaskManager.Write("End Populate SpaceData " + packageId);
}
private static void PopulateUserData(UserInfo user, EnterpriseSolutionStatisticsReport report, string topReseller)
{
+ TaskManager.Write("Populate UserData " + user.Username);
+
DataSet ds;
try
{
@@ -596,11 +630,14 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
TaskManager.WriteError(ex);
}
}
-
+
+ TaskManager.Write("End Populate UserData " + user.Username);
}
private static void GetUsersData(EnterpriseSolutionStatisticsReport report, int userId, bool generateExchangeReport, bool generateSharePointReport, bool generateCRMReport, bool generateOrganizationReport, bool generateLyncReport, string topReseller)
{
+ TaskManager.Write("Get UsersData " + userId);
+
List users;
try
{
@@ -611,9 +648,12 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
throw new ApplicationException("Cannot get users for report", ex);
}
+ TaskManager.WriteParameter("users.Count", users.Count);
foreach (UserInfo user in users)
{
+ TaskManager.WriteParameter("User", user.Username);
+
try
{
PopulateUserData(user, report, topReseller);
@@ -631,11 +671,16 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
{
TaskManager.WriteError(ex);
}
- }
+ }
+
+ TaskManager.Write("End get UsersData " + userId);
+
}
public static EnterpriseSolutionStatisticsReport GetEnterpriseSolutionStatisticsReport(int userId, bool generateExchangeReport, bool generateSharePointReport, bool generateCRMReport, bool generateOrganizationReport, bool generateLyncReport)
{
+ TaskManager.Write("Get enterprise solution statistics report " + userId);
+
EnterpriseSolutionStatisticsReport report = new EnterpriseSolutionStatisticsReport();
if (generateExchangeReport || generateOrganizationReport)
@@ -647,7 +692,6 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
if (generateLyncReport || generateOrganizationReport)
report.LyncReport = new LyncStatisticsReport();
-
if (generateCRMReport || generateOrganizationReport)
report.CRMReport = new CRMStatisticsReport();
@@ -664,6 +708,8 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
TaskManager.WriteError(ex, "Cannot get enterprise solution statistics report");
}
+ TaskManager.Write("End get enterprise solution statistics report " + userId);
+
return report;
}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/MailServers/MailServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/MailServers/MailServerController.cs
index 7ae608e5..2ac8a129 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/MailServers/MailServerController.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/MailServers/MailServerController.cs
@@ -1505,6 +1505,13 @@ namespace WebsitePanel.EnterpriseServer
/// True if quota will exceed. Otherwise, false.
protected bool VerifyIfQuotaWillBeExceeded(int packageId, string quotaName, int numberOfItemsToAdd)
{
+ // Don't bother to check quota if the number of items to add is zero or less otherwise IsQuotasWillExceed
+ // will fail when quota is set to 0 on lists or groups and still thera are no items to import
+ if (numberOfItemsToAdd <= 0)
+ {
+ return false;
+ }
+
bool result = false;
QuotaValueInfo quotaInfo = PackageController.GetPackageQuota(packageId, quotaName);
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/OperatingSystems/OperatingSystemController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/OperatingSystems/OperatingSystemController.cs
index d851ac44..89fe119a 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/OperatingSystems/OperatingSystemController.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/OperatingSystems/OperatingSystemController.cs
@@ -40,6 +40,9 @@ using WebsitePanel.Providers;
using WebsitePanel.Providers.OS;
using OS = WebsitePanel.Providers.OS;
using System.Collections;
+using WebsitePanel.Providers.DomainLookup;
+using WebsitePanel.Providers.DNS;
+using System.Linq;
namespace WebsitePanel.EnterpriseServer
@@ -811,5 +814,6 @@ namespace WebsitePanel.EnterpriseServer
#endregion
+
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Packages/PackageController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Packages/PackageController.cs
index e9f2f848..623b6a08 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Packages/PackageController.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Packages/PackageController.cs
@@ -980,11 +980,13 @@ namespace WebsitePanel.EnterpriseServer
homeFolder.PackageId = packageId;
homeFolder.Name = path;
+ int res = AddPackageItem(homeFolder);
+
// Added By Haya
UpdatePackageHardQuota(packageId);
// save package item
- return AddPackageItem(homeFolder);
+ return res;
}
public static DateTime GetPackageBandwidthUpdate(int packageId)
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/RemoteDesktopServices/RemoteDesktopServicesController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/RemoteDesktopServices/RemoteDesktopServicesController.cs
index f2a3ca42..130f395d 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/RemoteDesktopServices/RemoteDesktopServicesController.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/RemoteDesktopServices/RemoteDesktopServicesController.cs
@@ -68,6 +68,11 @@ namespace WebsitePanel.EnterpriseServer
return AddRdsCollectionInternal(itemId, collection);
}
+ public static ResultObject EditRdsCollection(int itemId, RdsCollection collection)
+ {
+ return EditRdsCollectionInternal(itemId, collection);
+ }
+
public static RdsCollectionPaged GetRdsCollectionsPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
{
return GetRdsCollectionsPagedInternal(itemId, filterColumn, filterValue, sortColumn, startRow, maximumRows);
@@ -93,9 +98,9 @@ namespace WebsitePanel.EnterpriseServer
return GetFreeRdsServersPagedInternal(filterColumn, filterValue, sortColumn, startRow, maximumRows);
}
- public static RdsServersPaged GetOrganizationRdsServersPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
+ public static RdsServersPaged GetOrganizationRdsServersPaged(int itemId, int? collectionId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
{
- return GetOrganizationRdsServersPagedInternal(itemId, filterColumn, filterValue, sortColumn, startRow, maximumRows);
+ return GetOrganizationRdsServersPagedInternal(itemId, collectionId, filterColumn, filterValue, sortColumn, startRow, maximumRows);
}
public static RdsServersPaged GetOrganizationFreeRdsServersPaged(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
@@ -108,6 +113,11 @@ namespace WebsitePanel.EnterpriseServer
return GetRdsServerInternal(rdsSeverId);
}
+ public static ResultObject SetRDServerNewConnectionAllowed(int itemId, bool newConnectionAllowed, int rdsSeverId)
+ {
+ return SetRDServerNewConnectionAllowedInternal(itemId, newConnectionAllowed, rdsSeverId);
+ }
+
public static List GetCollectionRdsServers(int collectionId)
{
return GetCollectionRdsServersInternal(collectionId);
@@ -193,6 +203,16 @@ namespace WebsitePanel.EnterpriseServer
return GetOrganizationRdsUsersCountInternal(itemId);
}
+ public static List GetApplicationUsers(int itemId, int collectionId, RemoteApplication remoteApp)
+ {
+ return GetApplicationUsersInternal(itemId, collectionId, remoteApp);
+ }
+
+ public static ResultObject SetApplicationUsers(int itemId, int collectionId, RemoteApplication remoteApp, List users)
+ {
+ return SetApplicationUsersInternal(itemId, collectionId, remoteApp, users);
+ }
+
private static RdsCollection GetRdsCollectionInternal(int collectionId)
{
var collection = ObjectUtils.FillObjectFromDataReader(DataProvider.GetRDSCollectionById(collectionId));
@@ -280,6 +300,58 @@ namespace WebsitePanel.EnterpriseServer
return result;
}
+ private static ResultObject EditRdsCollectionInternal(int itemId, RdsCollection collection)
+ {
+ var result = TaskManager.StartResultTask("REMOTE_DESKTOP_SERVICES", "EDIT_RDS_COLLECTION");
+
+ try
+ {
+ Organization org = OrganizationController.GetOrganization(itemId);
+
+ if (org == null)
+ {
+ result.IsSuccess = false;
+ result.AddError("", new NullReferenceException("Organization not found"));
+ return result;
+ }
+
+ var rds = GetRemoteDesktopServices(GetRemoteDesktopServiceID(org.PackageId));
+ var existingServers =
+ ObjectUtils.CreateListFromDataReader(DataProvider.GetRDSServersByCollectionId(collection.Id)).ToList();
+ var removedServers = existingServers.Where(x => !collection.Servers.Select(y => y.Id).Contains(x.Id));
+ var newServers = collection.Servers.Where(x => !existingServers.Select(y => y.Id).Contains(x.Id));
+
+ foreach(var server in removedServers)
+ {
+ DataProvider.RemoveRDSServerFromCollection(server.Id);
+ }
+
+ rds.AddRdsServersToDeployment(newServers.ToArray());
+
+ foreach (var server in newServers)
+ {
+ DataProvider.AddRDSServerToCollection(server.Id, collection.Id);
+ }
+ }
+ catch (Exception ex)
+ {
+ result.AddError("REMOTE_DESKTOP_SERVICES_ADD_RDS_COLLECTION", ex);
+ }
+ finally
+ {
+ if (!result.IsSuccess)
+ {
+ TaskManager.CompleteResultTask(result);
+ }
+ else
+ {
+ TaskManager.CompleteResultTask();
+ }
+ }
+
+ return result;
+ }
+
private static RdsCollectionPaged GetRdsCollectionsPagedInternal(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
{
DataSet ds = DataProvider.GetRDSCollectionsPaged(itemId, filterColumn, filterValue, sortColumn, startRow, maximumRows);
@@ -420,9 +492,9 @@ namespace WebsitePanel.EnterpriseServer
return result;
}
- private static RdsServersPaged GetOrganizationRdsServersPagedInternal(int itemId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
+ private static RdsServersPaged GetOrganizationRdsServersPagedInternal(int itemId, int? collectionId, string filterColumn, string filterValue, string sortColumn, int startRow, int maximumRows)
{
- DataSet ds = DataProvider.GetRDSServersPaged(itemId, null, filterColumn, filterValue, sortColumn, startRow, maximumRows, ignoreRdsCollectionId: true);
+ DataSet ds = DataProvider.GetRDSServersPaged(itemId, collectionId, filterColumn, filterValue, sortColumn, startRow, maximumRows, ignoreRdsCollectionId: !collectionId.HasValue);
RdsServersPaged result = new RdsServersPaged();
result.RecordsCount = (int)ds.Tables[0].Rows[0][0];
@@ -457,6 +529,54 @@ namespace WebsitePanel.EnterpriseServer
return ObjectUtils.FillObjectFromDataReader(DataProvider.GetRDSServerById(rdsSeverId));
}
+ private static ResultObject SetRDServerNewConnectionAllowedInternal(int itemId, bool newConnectionAllowed, int rdsSeverId)
+ {
+ ResultObject result = TaskManager.StartResultTask("REMOTE_DESKTOP_SERVICES", "SET_RDS_SERVER_NEW_CONNECTIONS_ALLOWED"); ;
+ try
+ {
+ // load organization
+ Organization org = OrganizationController.GetOrganization(itemId);
+ if (org == null)
+ {
+ result.IsSuccess = false;
+ result.AddError("", new NullReferenceException("Organization not found"));
+ return result;
+ }
+
+ var rds = GetRemoteDesktopServices(GetRemoteDesktopServiceID(org.PackageId));
+
+ var rdsServer = GetRdsServer(rdsSeverId);
+
+ if (rdsServer == null)
+ {
+ result.IsSuccess = false;
+ result.AddError("", new NullReferenceException("RDS Server not found"));
+ return result;
+ }
+
+ rds.SetRDServerNewConnectionAllowed(newConnectionAllowed, rdsServer);
+ rdsServer.ConnectionEnabled = newConnectionAllowed;
+ DataProvider.UpdateRDSServer(rdsServer);
+ }
+ catch (Exception ex)
+ {
+ result.AddError("REMOTE_DESKTOP_SERVICES_SET_RDS_SERVER_NEW_CONNECTIONS_ALLOWED", ex);
+ }
+ finally
+ {
+ if (!result.IsSuccess)
+ {
+ TaskManager.CompleteResultTask(result);
+ }
+ else
+ {
+ TaskManager.CompleteResultTask();
+ }
+ }
+
+ return result;
+ }
+
private static int GetOrganizationRdsUsersCountInternal(int itemId)
{
return DataProvider.GetOrganizationRdsUsersCount(itemId);
@@ -479,19 +599,26 @@ namespace WebsitePanel.EnterpriseServer
try
{
- if (1 == 1)//(CheckRDSServerAvaliable(rdsServer.FqdName))
+ if (CheckRDSServerAvaliable(rdsServer.FqdName))
{
rdsServer.Id = DataProvider.AddRDSServer(rdsServer.Name, rdsServer.FqdName, rdsServer.Description);
}
else
{
- result.AddError("", new Exception("The server that you are adding, is not available"));
+ result.AddError("REMOTE_DESKTOP_SERVICES_ADD_RDS_SERVER", new Exception("The server that you are adding, is not available"));
return result;
}
}
catch (Exception ex)
{
- result.AddError("REMOTE_DESKTOP_SERVICES_ADD_RDS_SERVER", ex);
+ if (ex.InnerException != null)
+ {
+ result.AddError("Unable to add RDS Server", ex.InnerException);
+ }
+ else
+ {
+ result.AddError("Unable to add RDS Server", ex);
+ }
}
finally
{
@@ -639,7 +766,7 @@ namespace WebsitePanel.EnterpriseServer
RdsServer rdsServer = GetRdsServer(serverId);
- if (!rds.CheckSessionHostFeatureInstallation(rdsServer.FqdName))
+ //if (!rds.CheckSessionHostFeatureInstallation(rdsServer.FqdName))
{
rds.AddSessionHostFeatureToServer(rdsServer.FqdName);
}
@@ -722,7 +849,7 @@ namespace WebsitePanel.EnterpriseServer
private static List GetRdsCollectionUsersInternal(int collectionId)
{
return ObjectUtils.CreateListFromDataReader(DataProvider.GetRDSCollectionUsersByRDSCollectionId(collectionId));
- }
+ }
private static ResultObject SetUsersToRdsCollectionInternal(int itemId, int collectionId, List users)
{
@@ -802,6 +929,61 @@ namespace WebsitePanel.EnterpriseServer
return result;
}
+ private static List GetApplicationUsersInternal(int itemId, int collectionId, RemoteApplication remoteApp)
+ {
+ var result = new List();
+ Organization org = OrganizationController.GetOrganization(itemId);
+
+ if (org == null)
+ {
+ return result;
+ }
+
+ var rds = GetRemoteDesktopServices(GetRemoteDesktopServiceID(org.PackageId));
+ var collection = GetRdsCollection(collectionId);
+
+ result.AddRange(rds.GetApplicationUsers(collection.Name, remoteApp.DisplayName));
+
+ return result;
+ }
+
+ private static ResultObject SetApplicationUsersInternal(int itemId, int collectionId, RemoteApplication remoteApp, List users)
+ {
+ var result = TaskManager.StartResultTask("REMOTE_DESKTOP_SERVICES", "SET_REMOTE_APP_USERS");
+
+ try
+ {
+ Organization org = OrganizationController.GetOrganization(itemId);
+ if (org == null)
+ {
+ result.IsSuccess = false;
+ result.AddError("", new NullReferenceException("Organization not found"));
+ return result;
+ }
+
+ var collection = GetRdsCollection(collectionId);
+ var rds = GetRemoteDesktopServices(GetRemoteDesktopServiceID(org.PackageId));
+ rds.SetApplicationUsers(collection.Name, remoteApp, users.ToArray());
+ }
+ catch (Exception ex)
+ {
+ result.AddError("REMOTE_DESKTOP_SERVICES_SET_REMOTE_APP_USERS", ex);
+ }
+ finally
+ {
+ if (!result.IsSuccess)
+ {
+ TaskManager.CompleteResultTask(result);
+ }
+ else
+ {
+ TaskManager.CompleteResultTask();
+ }
+ }
+
+ return result;
+ }
+
private static ResultObject AddRemoteApplicationToCollectionInternal(int itemId, RdsCollection collection, RemoteApplication remoteApp)
{
var result = TaskManager.StartResultTask("REMOTE_DESKTOP_SERVICES", "ADD_REMOTE_APP_TO_COLLECTION");
@@ -992,18 +1174,12 @@ namespace WebsitePanel.EnterpriseServer
private static bool CheckRDSServerAvaliable(string hostname)
{
bool result = false;
+ var ping = new Ping();
+ var reply = ping.Send(hostname, 1000);
- try
+ if (reply.Status == IPStatus.Success)
{
- var ping = new Ping();
- var reply = ping.Send(hostname, 1000); // 1 second time out (in ms)
-
- if (reply.Status == IPStatus.Success)
- result = true;
- }
- catch (Exception)
- {
- result = false;
+ result = true;
}
return result;
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/CalculatePackagesDiskspaceTask.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/CalculatePackagesDiskspaceTask.cs
index d4236bf1..021e536b 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/CalculatePackagesDiskspaceTask.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/CalculatePackagesDiskspaceTask.cs
@@ -200,11 +200,14 @@ namespace WebsitePanel.EnterpriseServer
//TaskManager.Write(String.Format("{0} - Invoke GetServiceItemsDiskSpace method ('{1}' items) - {2} attempt",
// DateTime.Now, objItems.Count, attempt));
- ServiceProvider prov = new ServiceProvider();
- ServiceProviderProxy.Init(prov, serviceId);
- ServiceProviderItemDiskSpace[] itemsDiskSpace = prov.GetServiceItemsDiskSpace(objItems.ToArray());
- if (itemsDiskSpace != null && itemsDiskSpace.Length > 0)
- organizationDiskSpaces.AddRange(itemsDiskSpace);
+ if (objItems.Count > 0)
+ {
+ ServiceProvider prov = new ServiceProvider();
+ ServiceProviderProxy.Init(prov, serviceId);
+ ServiceProviderItemDiskSpace[] itemsDiskSpace = prov.GetServiceItemsDiskSpace(objItems.ToArray());
+ if (itemsDiskSpace != null && itemsDiskSpace.Length > 0)
+ organizationDiskSpaces.AddRange(itemsDiskSpace);
+ }
return organizationDiskSpaces.ToArray();
}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/DomainExpirationTask.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/DomainExpirationTask.cs
new file mode 100644
index 00000000..5d2d615b
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/DomainExpirationTask.cs
@@ -0,0 +1,210 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net.Mail;
+using System.Text;
+using System.Text.RegularExpressions;
+using System.Threading;
+using WebsitePanel.Providers.DomainLookup;
+using Whois.NET;
+
+namespace WebsitePanel.EnterpriseServer
+{
+ public class DomainExpirationTask: SchedulerTask
+ {
+ private static readonly string TaskId = "SCHEDULE_TASK_DOMAIN_EXPIRATION";
+
+ // Input parameters:
+ private static readonly string DaysBeforeNotify = "DAYS_BEFORE";
+ private static readonly string MailToParameter = "MAIL_TO";
+ private static readonly string EnableNotification = "ENABLE_NOTIFICATION";
+ private static readonly string IncludeNonExistenDomains = "INCLUDE_NONEXISTEN_DOMAINS";
+
+
+ private static readonly string MailBodyTemplateParameter = "MAIL_BODY";
+ private static readonly string MailBodyDomainRecordTemplateParameter = "MAIL_DOMAIN_RECORD";
+
+ public override void DoWork()
+ {
+ BackgroundTask topTask = TaskManager.TopTask;
+ var domainUsers = new Dictionary();
+ var checkedDomains = new List();
+ var expiredDomains = new List();
+ var nonExistenDomains = new List();
+ var allDomains = new List();
+ var allTopLevelDomains = new List();
+
+ // get input parameters
+ int daysBeforeNotify;
+ bool sendEmailNotifcation = Convert.ToBoolean( topTask.GetParamValue(EnableNotification));
+ bool includeNonExistenDomains = Convert.ToBoolean(topTask.GetParamValue(IncludeNonExistenDomains));
+
+ // check input parameters
+ if (String.IsNullOrEmpty((string)topTask.GetParamValue("MAIL_TO")))
+ {
+ TaskManager.WriteWarning("The e-mail message has not been sent because 'Mail To' is empty.");
+ return;
+ }
+
+ int.TryParse((string)topTask.GetParamValue(DaysBeforeNotify), out daysBeforeNotify);
+
+ var user = UserController.GetUser(topTask.EffectiveUserId);
+
+ var packages = GetUserPackages(user.UserId, user.Role);
+
+
+ foreach (var package in packages)
+ {
+ var domains = ServerController.GetDomains(package.PackageId);
+
+ allDomains.AddRange(domains);
+
+ domains = domains.Where(x => !x.IsSubDomain && !x.IsDomainPointer).ToList(); //Selecting top-level domains
+
+ allTopLevelDomains.AddRange(domains);
+
+ var domainUser = UserController.GetUser(package.UserId);
+
+ if (!domainUsers.ContainsKey(package.PackageId))
+ {
+ domainUsers.Add(package.PackageId, domainUser);
+ }
+
+ foreach (var domain in domains)
+ {
+ if (checkedDomains.Contains(domain.DomainId))
+ {
+ continue;
+ }
+
+ checkedDomains.Add(domain.DomainId);
+
+ ServerController.UpdateDomainWhoisData(domain);
+
+ if (CheckDomainExpiration(domain.ExpirationDate, daysBeforeNotify))
+ {
+ expiredDomains.Add(domain);
+ }
+
+ if (domain.ExpirationDate == null && domain.CreationDate == null)
+ {
+ nonExistenDomains.Add(domain);
+ }
+
+ Thread.Sleep(100);
+ }
+ }
+
+ var subDomains = allDomains.Where(x => x.ExpirationDate == null || CheckDomainExpiration(x.ExpirationDate, daysBeforeNotify)).GroupBy(p => p.DomainId).Select(g => g.First()).ToList();
+ allTopLevelDomains = allTopLevelDomains.GroupBy(p => p.DomainId).Select(g => g.First()).ToList();
+
+ foreach (var subDomain in subDomains)
+ {
+ var mainDomain = allTopLevelDomains.Where(x => subDomain.DomainId != x.DomainId && subDomain.DomainName.ToLowerInvariant().Contains(x.DomainName.ToLowerInvariant())).OrderByDescending(s => s.DomainName.Length).FirstOrDefault(); ;
+
+ if (mainDomain != null)
+ {
+ ServerController.UpdateDomainWhoisData(subDomain, mainDomain.CreationDate, mainDomain.ExpirationDate, mainDomain.RegistrarName);
+
+ var nonExistenDomain = nonExistenDomains.FirstOrDefault(x => subDomain.DomainId == x.DomainId);
+
+ if (nonExistenDomain != null)
+ {
+ nonExistenDomains.Remove(nonExistenDomain);
+ }
+
+ Thread.Sleep(100);
+ }
+ }
+
+ expiredDomains = expiredDomains.GroupBy(p => p.DomainId).Select(g => g.First()).ToList();
+
+ if (expiredDomains.Count > 0 && sendEmailNotifcation)
+ {
+ SendMailMessage(user, expiredDomains, domainUsers, nonExistenDomains, includeNonExistenDomains);
+ }
+ }
+
+ private IEnumerable GetUserPackages(int userId,UserRole userRole)
+ {
+ var packages = new List();
+
+ switch (userRole)
+ {
+ case UserRole.Administrator:
+ {
+ packages = ObjectUtils.CreateListFromDataReader(DataProvider.GetAllPackages());
+ break;
+ }
+ default:
+ {
+ packages = PackageController.GetMyPackages(userId);
+ break;
+ }
+ }
+
+ return packages;
+ }
+
+ private bool CheckDomainExpiration(DateTime? date, int daysBeforeNotify)
+ {
+ if (date == null)
+ {
+ return false;
+ }
+
+ return (date.Value - DateTime.Now).Days < daysBeforeNotify;
+ }
+
+ private void SendMailMessage(UserInfo user, IEnumerable domains, Dictionary domainUsers, IEnumerable nonExistenDomains, bool includeNonExistenDomains)
+ {
+ BackgroundTask topTask = TaskManager.TopTask;
+
+ UserSettings settings = UserController.GetUserSettings(user.UserId, UserSettings.DOMAIN_EXPIRATION_LETTER);
+
+ string from = settings["From"];
+
+ var bcc = settings["CC"];
+
+ string subject = settings["Subject"];
+ string body = user.HtmlMail ? settings["HtmlBody"] : settings["TextBody"];
+ bool isHtml = user.HtmlMail;
+
+ MailPriority priority = MailPriority.Normal;
+ if (!String.IsNullOrEmpty(settings["Priority"]))
+ priority = (MailPriority)Enum.Parse(typeof(MailPriority), settings["Priority"], true);
+
+ // input parameters
+ string mailTo = (string)topTask.GetParamValue("MAIL_TO");
+
+ Hashtable items = new Hashtable();
+
+ items["user"] = user;
+
+ items["Domains"] = domains.Select(x => new { DomainName = x.DomainName,
+ ExpirationDate = x.ExpirationDate < DateTime.Now ? "Expired" : x.ExpirationDate.ToString(),
+ ExpirationDateOrdering = x.ExpirationDate,
+ Registrar = x.RegistrarName,
+ Customer = string.Format("{0} {1}", domainUsers[x.PackageId].FirstName, domainUsers[x.PackageId].LastName) })
+ .OrderBy(x => x.ExpirationDateOrdering).ThenBy(x => x.Customer).ThenBy(x => x.DomainName);
+
+ items["IncludeNonExistenDomains"] = includeNonExistenDomains;
+
+ items["NonExistenDomains"] = nonExistenDomains.Select(x => new
+ {
+ DomainName = x.DomainName,
+ Customer = string.Format("{0} {1}", domainUsers[x.PackageId].FirstName, domainUsers[x.PackageId].LastName)
+ }).OrderBy(x => x.Customer).ThenBy(x => x.DomainName);
+
+
+ body = PackageController.EvaluateTemplate(body, items);
+
+ // send mail message
+ MailHelper.SendMessage(from, mailTo, bcc, subject, body, priority, isHtml);
+ }
+
+
+
+ }
+}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/DomainLookupViewTask.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/DomainLookupViewTask.cs
new file mode 100644
index 00000000..92bb35a4
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/DomainLookupViewTask.cs
@@ -0,0 +1,394 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net.Mail;
+using System.Text;
+using System.Text.RegularExpressions;
+using System.Threading;
+using WebsitePanel.Providers.DNS;
+using WebsitePanel.Providers.DomainLookup;
+using WebsitePanel.Server;
+
+namespace WebsitePanel.EnterpriseServer
+{
+ public class DomainLookupViewTask : SchedulerTask
+ {
+ private static readonly string TaskId = "SCHEDULE_TASK_DOMAIN_LOOKUP";
+
+ // Input parameters:
+ private static readonly string DnsServersParameter = "DNS_SERVERS";
+ private static readonly string MailToParameter = "MAIL_TO";
+
+ private static readonly string MailBodyTemplateParameter = "MAIL_BODY";
+ private static readonly string MailBodyDomainRecordTemplateParameter = "MAIL_DOMAIN_RECORD";
+ private static readonly string ServerNameParameter = "SERVER_NAME";
+ private static readonly string PauseBetweenQueriesParameter = "PAUSE_BETWEEN_QUERIES";
+
+ private const string MxRecordPattern = @"mail exchanger = (.+)";
+ private const string NsRecordPattern = @"nameserver = (.+)";
+ private const string DnsTimeOutMessage = @"dns request timed out";
+ private const int DnsTimeOutRetryCount = 3;
+
+ public override void DoWork()
+ {
+ BackgroundTask topTask = TaskManager.TopTask;
+
+ List domainsChanges = new List();
+ var domainUsers = new Dictionary();
+
+ // get input parameters
+ string dnsServersString = (string)topTask.GetParamValue(DnsServersParameter);
+ string serverName = (string)topTask.GetParamValue(ServerNameParameter);
+
+ int pause;
+
+ // check input parameters
+ if (String.IsNullOrEmpty(dnsServersString))
+ {
+ TaskManager.WriteWarning("Specify 'DNS' task parameter.");
+ return;
+ }
+
+ if (String.IsNullOrEmpty((string)topTask.GetParamValue("MAIL_TO")))
+ {
+ TaskManager.WriteWarning("The e-mail message has not been sent because 'Mail To' is empty.");
+ return;
+ }
+
+
+ if (!int.TryParse((string)topTask.GetParamValue(PauseBetweenQueriesParameter), out pause))
+ {
+ TaskManager.WriteWarning("The 'pause between queries' parameter is not valid.");
+ return;
+ }
+
+ // find server by name
+ ServerInfo server = ServerController.GetServerByName(serverName);
+ if (server == null)
+ {
+ TaskManager.WriteWarning(String.Format("Server with the name '{0}' was not found", serverName));
+ return;
+ }
+
+ WindowsServer winServer = new WindowsServer();
+ ServiceProviderProxy.ServerInit(winServer, server.ServerId);
+
+ var user = UserController.GetUser(topTask.UserId);
+
+ var dnsServers = dnsServersString.Split(';');
+
+ var packages = ObjectUtils.CreateListFromDataReader(DataProvider.GetAllPackages());
+
+
+ foreach (var package in packages)
+ {
+ var domains = ServerController.GetDomains(package.PackageId);
+
+ domains = domains.Where(x => !x.IsSubDomain && !x.IsDomainPointer).ToList(); //Selecting top-level domains
+
+ //domains = domains.Where(x => x.ZoneItemId > 0).ToList(); //Selecting only dns enabled domains
+
+ foreach (var domain in domains)
+ {
+ if (domainsChanges.Any(x => x.DomainName == domain.DomainName))
+ {
+ continue;
+ }
+
+ if (!domainUsers.ContainsKey(domain.PackageId))
+ {
+ var domainUser = UserController.GetUser(packages.First(x=>x.PackageId == domain.PackageId).UserId);
+
+ domainUsers.Add(domain.PackageId, domainUser);
+ }
+
+ DomainDnsChanges domainChanges = new DomainDnsChanges();
+ domainChanges.DomainName = domain.DomainName;
+ domainChanges.PackageId = domain.PackageId;
+ domainChanges.Registrar = domain.RegistrarName;
+ domainChanges.ExpirationDate = domain.ExpirationDate;
+
+ var dbDnsRecords = ObjectUtils.CreateListFromDataReader(DataProvider.GetDomainAllDnsRecords(domain.DomainId));
+
+ //execute server
+ foreach (var dnsServer in dnsServers)
+ {
+ var dnsMxRecords = GetDomainDnsRecords(winServer, domain.DomainName, dnsServer, DnsRecordType.MX, pause) ?? dbDnsRecords.Where(x => x.RecordType == DnsRecordType.MX).ToList();
+ var dnsNsRecords = GetDomainDnsRecords(winServer, domain.DomainName, dnsServer, DnsRecordType.NS, pause) ?? dbDnsRecords.Where(x => x.RecordType == DnsRecordType.NS).ToList();
+
+ FillRecordData(dnsMxRecords, domain, dnsServer);
+ FillRecordData(dnsNsRecords, domain, dnsServer);
+
+ domainChanges.DnsChanges.AddRange(ApplyDomainRecordsChanges(dbDnsRecords.Where(x => x.RecordType == DnsRecordType.MX), dnsMxRecords, dnsServer));
+ domainChanges.DnsChanges.AddRange(ApplyDomainRecordsChanges(dbDnsRecords.Where(x => x.RecordType == DnsRecordType.NS), dnsNsRecords, dnsServer));
+
+ domainChanges.DnsChanges = CombineDnsRecordChanges(domainChanges.DnsChanges, dnsServer).ToList();
+ }
+
+ domainsChanges.Add(domainChanges);
+ }
+ }
+
+ var changedDomains = FindDomainsWithChangedRecords(domainsChanges);
+
+ SendMailMessage(user, changedDomains, domainUsers);
+ }
+
+
+
+ #region Helpers
+
+ private IEnumerable FindDomainsWithChangedRecords(IEnumerable domainsChanges)
+ {
+ var changedDomains = new List();
+
+ foreach (var domainChanges in domainsChanges)
+ {
+ var firstTimeAdditon = domainChanges.DnsChanges.All(x => x.Status == DomainDnsRecordStatuses.Added);
+
+ if (firstTimeAdditon)
+ {
+ continue;
+ }
+
+ bool isChanged = domainChanges.DnsChanges.Any(d => d.Status != DomainDnsRecordStatuses.NotChanged);
+
+ if (isChanged)
+ {
+ changedDomains.Add(domainChanges);
+ }
+ }
+
+ return changedDomains;
+ }
+
+ private IEnumerable ApplyDomainRecordsChanges(IEnumerable dbRecords, List dnsRecords, string dnsServer)
+ {
+ var dnsRecordChanges = new List();
+
+ var filteredDbRecords = dbRecords.Where(x => x.DnsServer == dnsServer);
+
+ foreach (var record in filteredDbRecords)
+ {
+ var dnsRecord = dnsRecords.FirstOrDefault(x => x.Value == record.Value);
+
+ if (dnsRecord != null)
+ {
+ dnsRecordChanges.Add(new DnsRecordInfoChange { OldRecord = record, NewRecord = dnsRecord, Type = record.RecordType, Status = DomainDnsRecordStatuses.NotChanged, DnsServer = dnsServer });
+
+ dnsRecords.Remove(dnsRecord);
+ }
+ else
+ {
+ dnsRecordChanges.Add(new DnsRecordInfoChange { OldRecord = record, NewRecord = new DnsRecordInfo { Value = string.Empty}, Type = record.RecordType, Status = DomainDnsRecordStatuses.Removed, DnsServer = dnsServer });
+
+ RemoveRecord(record);
+ }
+ }
+
+ foreach (var record in dnsRecords)
+ {
+ dnsRecordChanges.Add(new DnsRecordInfoChange { OldRecord = new DnsRecordInfo { Value = string.Empty }, NewRecord = record, Type = record.RecordType, Status = DomainDnsRecordStatuses.Added, DnsServer = dnsServer });
+
+ AddRecord(record);
+ }
+
+ return dnsRecordChanges;
+ }
+
+ private IEnumerable CombineDnsRecordChanges(IEnumerable records, string dnsServer)
+ {
+ var resultRecords = records.Where(x => x.DnsServer == dnsServer).ToList();
+
+ var recordsToRemove = new List();
+
+ var removedRecords = records.Where(x => x.Status == DomainDnsRecordStatuses.Removed);
+ var addedRecords = records.Where(x => x.Status == DomainDnsRecordStatuses.Added);
+
+ foreach (DnsRecordType type in (DnsRecordType[])Enum.GetValues(typeof(DnsRecordType)))
+ {
+ foreach (var removedRecord in removedRecords.Where(x => x.Type == type))
+ {
+ var addedRecord = addedRecords.FirstOrDefault(x => x.Type == type && !recordsToRemove.Contains(x));
+
+ if (addedRecord != null)
+ {
+ recordsToRemove.Add(addedRecord);
+
+ removedRecord.NewRecord = addedRecord.NewRecord;
+ removedRecord.Status = DomainDnsRecordStatuses.Updated;
+ }
+ }
+ }
+
+ foreach (var record in recordsToRemove)
+ {
+ resultRecords.Remove(record);
+ }
+
+ return resultRecords;
+ }
+
+ private void FillRecordData(IEnumerable records, DomainInfo domain, string dnsServer)
+ {
+ foreach (var record in records)
+ {
+ FillRecordData(record, domain, dnsServer);
+ }
+ }
+
+ private void FillRecordData(DnsRecordInfo record, DomainInfo domain, string dnsServer)
+ {
+ record.DomainId = domain.DomainId;
+ record.Date = DateTime.Now;
+ record.DnsServer = dnsServer;
+ }
+
+ private void RemoveRecords(IEnumerable dnsRecords)
+ {
+ foreach (var record in dnsRecords)
+ {
+ RemoveRecord(record);
+ }
+ }
+
+ private void RemoveRecord(DnsRecordInfo dnsRecord)
+ {
+ DataProvider.DeleteDomainDnsRecord(dnsRecord.Id);
+
+ Thread.Sleep(100);
+ }
+
+ private void AddRecords(IEnumerable dnsRecords)
+ {
+ foreach (var record in dnsRecords)
+ {
+ AddRecord(record);
+ }
+ }
+
+ private void AddRecord(DnsRecordInfo dnsRecord)
+ {
+ DataProvider.AddDomainDnsRecord(dnsRecord);
+
+ Thread.Sleep(100);
+ }
+
+ private void SendMailMessage(UserInfo user, IEnumerable domainsChanges, Dictionary domainUsers)
+ {
+ BackgroundTask topTask = TaskManager.TopTask;
+
+ UserSettings settings = UserController.GetUserSettings(user.UserId, UserSettings.DOMAIN_LOOKUP_LETTER);
+
+ string from = settings["From"];
+
+ var bcc = settings["CC"];
+
+ string subject = settings["Subject"];
+
+ MailPriority priority = MailPriority.Normal;
+ if (!String.IsNullOrEmpty(settings["Priority"]))
+ priority = (MailPriority)Enum.Parse(typeof(MailPriority), settings["Priority"], true);
+
+ // input parameters
+ string mailTo = (string)topTask.GetParamValue("MAIL_TO");
+
+ string body = string.Empty;
+ bool isHtml = user.HtmlMail;
+
+ if (domainsChanges.Any())
+ {
+ body = user.HtmlMail ? settings["HtmlBody"] : settings["TextBody"];
+ }
+ else
+ {
+ body = user.HtmlMail ? settings["NoChangesHtmlBody"] : settings["NoChangesTextBody"];
+ }
+
+ Hashtable items = new Hashtable();
+
+ items["user"] = user;
+ items["DomainUsers"] = domainUsers;
+ items["Domains"] = domainsChanges;
+
+ body = PackageController.EvaluateTemplate(body, items);
+
+ // send mail message
+ MailHelper.SendMessage(from, mailTo, bcc, subject, body, priority, isHtml);
+ }
+
+ public List GetDomainDnsRecords(WindowsServer winServer, string domain, string dnsServer, DnsRecordType recordType, int pause)
+ {
+ Thread.Sleep(pause);
+
+ //nslookup -type=mx google.com 195.46.39.39
+ var command = "nslookup";
+ var args = string.Format("-type={0} {1} {2}", recordType, domain, dnsServer);
+
+ // execute system command
+ var raw = string.Empty;
+ int triesCount = 0;
+
+ do
+ {
+ raw = winServer.ExecuteSystemCommand(command, args);
+ }
+ while (raw.ToLowerInvariant().Contains(DnsTimeOutMessage) && ++triesCount < DnsTimeOutRetryCount);
+
+ //timeout check
+ if (raw.ToLowerInvariant().Contains(DnsTimeOutMessage))
+ {
+ return null;
+ }
+
+ var records = ParseNsLookupResult(raw, dnsServer, recordType);
+
+ return records.ToList();
+ }
+
+ private IEnumerable ParseNsLookupResult(string raw, string dnsServer, DnsRecordType recordType)
+ {
+ var records = new List();
+
+ var recordTypePattern = string.Empty;
+
+ switch (recordType)
+ {
+ case DnsRecordType.NS:
+ {
+ recordTypePattern = NsRecordPattern;
+ break;
+ }
+ case DnsRecordType.MX:
+ {
+ recordTypePattern = MxRecordPattern;
+ break;
+ }
+ }
+
+ var regex = new Regex(recordTypePattern, RegexOptions.IgnoreCase);
+
+ foreach (Match match in regex.Matches(raw))
+ {
+ if (match.Groups.Count != 2)
+ {
+ continue;
+ }
+
+ var dnsRecord = new DnsRecordInfo
+ {
+ Value = match.Groups[1].Value != null ? match.Groups[1].Value.Replace("\r\n", "").Replace("\r", "").Replace("\n", "").ToLowerInvariant().Trim() : null,
+ RecordType = recordType,
+ DnsServer = dnsServer
+ };
+
+ records.Add(dnsRecord);
+ }
+
+ return records;
+ }
+
+ #endregion
+ }
+}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/HostedSolutionReport.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/HostedSolutionReport.cs
index e0209bc1..e7f82265 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/HostedSolutionReport.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/SchedulerTasks/HostedSolutionReport.cs
@@ -32,6 +32,7 @@ using System.IO;
using System.Net.Mail;
using System.Net.Mime;
using System.Text;
+using WebsitePanel.EnterpriseServer;
using WebsitePanel.EnterpriseServer.Code.HostedSolution;
using WebsitePanel.Providers.HostedSolution;
@@ -51,6 +52,8 @@ namespace WebsitePanel.EnterpriseServer
{
try
{
+ TaskManager.Write("Start HostedSolutionReportTask");
+
BackgroundTask topTask = TaskManager.TopTask;
bool isExchange = Utils.ParseBool(topTask.GetParamValue(EXCHANGE_REPORT), false);
@@ -61,23 +64,41 @@ namespace WebsitePanel.EnterpriseServer
string email = topTask.GetParamValue(EMAIL).ToString();
+ TaskManager.WriteParameter("isExchange",isExchange);
+ TaskManager.WriteParameter("isSharePoint",isSharePoint);
+ TaskManager.WriteParameter("isLync", isLync);
+ TaskManager.WriteParameter("isCRM", isCRM);
+ TaskManager.WriteParameter("isOrganization", isOrganization);
+ TaskManager.WriteParameter("email", email);
UserInfo user = PackageController.GetPackageOwner(topTask.PackageId);
+
+ TaskManager.WriteParameter("user", user.Username);
+
EnterpriseSolutionStatisticsReport report =
ReportController.GetEnterpriseSolutionStatisticsReport(user.UserId, isExchange, isSharePoint, isCRM,
isOrganization, isLync);
+ TaskManager.WriteParameter("report.ExchangeReport.Items.Count", report.ExchangeReport.Items.Count);
+ TaskManager.WriteParameter("report.SharePointReport.Items.Count", report.SharePointReport.Items.Count);
+ TaskManager.WriteParameter("report.CRMReport.Items.Count", report.CRMReport.Items.Count);
+ TaskManager.WriteParameter("report.OrganizationReport.Items.Count", report.OrganizationReport.Items.Count);
+ TaskManager.WriteParameter("report.LyncReport.Items.Count", report.LyncReport.Items.Count);
SendMessage(user, email, isExchange && report.ExchangeReport != null ? report.ExchangeReport.ToCSV() : string.Empty,
isSharePoint && report.SharePointReport != null ? report.SharePointReport.ToCSV() : string.Empty,
isCRM && report.CRMReport != null ? report.CRMReport.ToCSV() : string.Empty,
isOrganization && report.OrganizationReport != null ? report.OrganizationReport.ToCSV() : string.Empty,
isLync && report.LyncReport != null ? report.LyncReport.ToCSV() : string.Empty);
+
}
catch(Exception ex)
{
TaskManager.WriteError(ex);
}
+
+ TaskManager.Write("End HostedSolutionReportTask");
+
}
@@ -97,6 +118,8 @@ namespace WebsitePanel.EnterpriseServer
private void SendMessage(UserInfo user,string email, string exchange_csv, string sharepoint_csv, string crm_csv, string organization_csv, string lync_csv)
{
+ TaskManager.Write("SendMessage");
+
List attacments = new List();
PrepareAttament("exchange.csv", exchange_csv, attacments);
PrepareAttament("sharepoint.csv", sharepoint_csv, attacments);
@@ -104,9 +127,6 @@ namespace WebsitePanel.EnterpriseServer
PrepareAttament("crm.csv", crm_csv, attacments);
PrepareAttament("organization.csv", organization_csv, attacments);
-
-
-
// get letter settings
UserSettings settings = UserController.GetUserSettings(user.UserId, UserSettings.HOSTED_SOLUTION_REPORT);
@@ -116,9 +136,29 @@ namespace WebsitePanel.EnterpriseServer
string body = user.HtmlMail ? settings["HtmlBody"] : settings["TextBody"];
bool isHtml = user.HtmlMail;
- MailPriority priority = MailPriority.Normal;
+ MailPriority priority = MailPriority.Normal;
+
+ TaskManager.WriteParameter("from", from);
+ TaskManager.WriteParameter("email", email);
+ TaskManager.WriteParameter("subject", subject);
+ TaskManager.WriteParameter("body", body);
+
- MailHelper.SendMessage(from, email, cc, subject, body, priority, isHtml, attacments.ToArray());
+ int res = MailHelper.SendMessage(from, email, cc, subject, body, priority, isHtml, attacments.ToArray());
+
+ if (res==0)
+ {
+ TaskManager.Write("SendMessage OK");
+ }
+ else
+ {
+ TaskManager.WriteError("SendMessage error ", "error code", res.ToString());
+ }
+
+ TaskManager.WriteParameter("", res);
+
+ TaskManager.Write("End SendMessage");
+
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Scheduling/Scheduler.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Scheduling/Scheduler.cs
index 6773f712..d3a65dd4 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Scheduling/Scheduler.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Scheduling/Scheduler.cs
@@ -45,7 +45,7 @@ namespace WebsitePanel.EnterpriseServer
public static SchedulerJob nextSchedule = null;
public static void Start()
- {
+ {
ScheduleTasks();
}
@@ -73,7 +73,7 @@ namespace WebsitePanel.EnterpriseServer
private static void RunManualTasks()
{
- var tasks = TaskController.GetProcessTasks(BackgroundTaskStatus.Stopping);
+ var tasks = TaskController.GetProcessTasks(BackgroundTaskStatus.Stopping);
foreach (var task in tasks)
{
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Servers/ServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Servers/ServerController.cs
index 02050909..34a851ef 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Servers/ServerController.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Servers/ServerController.cs
@@ -30,6 +30,7 @@ using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Data;
+using System.Linq;
using System.Net;
using System.Xml;
using WebsitePanel.Providers;
@@ -39,6 +40,11 @@ using WebsitePanel.Server;
using WebsitePanel.Providers.ResultObjects;
using WebsitePanel.Providers.Web;
using WebsitePanel.Providers.HostedSolution;
+using Whois.NET;
+using System.Text.RegularExpressions;
+using WebsitePanel.Providers.DomainLookup;
+using System.Globalization;
+using System.Linq;
namespace WebsitePanel.EnterpriseServer
{
@@ -49,6 +55,35 @@ namespace WebsitePanel.EnterpriseServer
{
private const string LOG_SOURCE_SERVERS = "SERVERS";
+ private static List _createdDatePatterns = new List { @"Creation Date:(.+)", // base
+ @"created:(.+)",
+ @"Created On:(.+) UTC",
+ @"Created On:(.+)",
+ @"Domain Registration Date:(.+)",
+ @"Domain Create Date:(.+)",
+ @"Registered on:(.+)"};
+
+ private static List _expiredDatePatterns = new List { @"Expiration Date:(.+) UTC", //base UTC
+ @"Expiration Date:(.+)", // base
+ @"Registry Expiry Date:(.+)", //.org
+ @"paid-till:(.+)", //.ru
+ @"Expires On:(.+)", //.name
+ @"Domain Expiration Date:(.+)", //.us
+ @"renewal date:(.+)", //.pl
+ @"Expiry date:(.+)", //.uk
+ @"anniversary:(.+)", //.fr
+ @"expires:(.+)" //.fi
+ };
+
+ private static List _registrarNamePatterns = new List {
+ @"Created by Registrar:(.+)",
+ @"Registrar:(.+)",
+ @"Registrant Name:(.+)"
+ };
+
+ private static List _datePatterns = new List { @"ddd MMM dd HH:mm:ss G\MT yyyy"
+ };
+
#region Servers
public static List GetAllServers()
{
@@ -1613,6 +1648,26 @@ namespace WebsitePanel.EnterpriseServer
#endregion
#region Domains
+
+ public static List GetDomainDnsRecords(int domainId)
+ {
+ var result = new List();
+
+ var records = ObjectUtils.CreateListFromDataReader(DataProvider.GetDomainAllDnsRecords(domainId));
+
+ var activeDomain = records.OrderByDescending(x => x.Date).FirstOrDefault();
+
+ if (activeDomain != null)
+ {
+ records = records.Where(x => x.DnsServer == activeDomain.DnsServer).ToList();
+ }
+
+ result.AddRange(records);
+
+ return result;
+ }
+
+
public static int CheckDomain(string domainName)
{
int checkDomainResult = DataProvider.CheckDomain(-10, domainName, false);
@@ -1787,6 +1842,8 @@ namespace WebsitePanel.EnterpriseServer
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.VPS, domain, "");
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.VPSForPC, domain, "");
}
+
+ UpdateDomainWhoisData(domain);
}
// add instant alias
@@ -2138,11 +2195,13 @@ namespace WebsitePanel.EnterpriseServer
}
}
+ // Find and delete all zone items for this domain
+ var zoneItems = PackageController.GetPackageItemsByType(domain.PackageId, ResourceGroups.Dns, typeof (DnsZone));
+ zoneItems.AddRange(PackageController.GetPackageItemsByType(domain.PackageId, ResourceGroups.Dns, typeof(SecondaryDnsZone)));
- // remove DNS zone meta-item if required
- if (domain.ZoneItemId > 0)
+ foreach (var zoneItem in zoneItems.Where(z => z.Name == domain.ZoneName))
{
- PackageController.DeletePackageItem(domain.ZoneItemId);
+ PackageController.DeletePackageItem(zoneItem.Id);
}
// delete domain
@@ -2637,6 +2696,79 @@ namespace WebsitePanel.EnterpriseServer
TaskManager.CompleteTask();
}
}
+
+ public static DomainInfo UpdateDomainWhoisData(DomainInfo domain)
+ {
+ try
+ {
+ var whoisResult = WhoisClient.Query(domain.DomainName.ToLowerInvariant());
+
+ string creationDateString = ParseWhoisDomainInfo(whoisResult.Raw, _createdDatePatterns);
+ string expirationDateString = ParseWhoisDomainInfo(whoisResult.Raw, _expiredDatePatterns);
+
+ domain.CreationDate = ParseDate(creationDateString);
+ domain.ExpirationDate = ParseDate(expirationDateString);
+ domain.RegistrarName = ParseWhoisDomainInfo(whoisResult.Raw, _registrarNamePatterns);
+
+ DataProvider.UpdateWhoisDomainInfo(domain.DomainId, domain.CreationDate, domain.ExpirationDate, DateTime.Now, domain.RegistrarName);
+ }
+ catch (Exception e)
+ {
+ //wrong domain
+ }
+
+ return domain;
+ }
+
+ public static DomainInfo UpdateDomainWhoisData(DomainInfo domain, DateTime? creationDate, DateTime? expirationDate, string registrarName)
+ {
+ DataProvider.UpdateWhoisDomainInfo(domain.DomainId, creationDate, expirationDate, DateTime.Now, registrarName);
+
+ domain.CreationDate = creationDate;
+ domain.ExpirationDate = expirationDate;
+ domain.RegistrarName = registrarName;
+
+ return domain;
+ }
+
+ private static string ParseWhoisDomainInfo(string raw, IEnumerable patterns)
+ {
+ foreach (var createdRegex in patterns)
+ {
+ var regex = new Regex(createdRegex, RegexOptions.IgnoreCase);
+
+ foreach (Match match in regex.Matches(raw))
+ {
+ if (match.Success && match.Groups.Count == 2)
+ {
+ return match.Groups[1].ToString().Trim();
+ }
+ }
+ }
+
+ return null;
+ }
+
+ private static DateTime? ParseDate(string dateString)
+ {
+ if (string.IsNullOrEmpty(dateString))
+ {
+ return null;
+ }
+
+ var result = DateTime.MinValue;
+
+ foreach (var datePattern in _datePatterns)
+ {
+ if (DateTime.TryParseExact(dateString, datePattern, CultureInfo.InvariantCulture, DateTimeStyles.None, out result))
+ {
+ return result;
+ }
+ }
+
+ return DateTime.Parse(dateString);
+ }
+
#endregion
#region DNS Zones
@@ -2654,7 +2786,7 @@ namespace WebsitePanel.EnterpriseServer
DNSServer dns = new DNSServer();
ServiceProviderProxy.Init(dns, zoneItem.ServiceId);
- return dns.GetZoneRecords(domain.DomainName);
+ return dns.GetZoneRecords(zoneItem.Name);
}
return new DnsRecord[] { };
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebsitePanel.EnterpriseServer.Code.csproj b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebsitePanel.EnterpriseServer.Code.csproj
index 3fead25f..60954187 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebsitePanel.EnterpriseServer.Code.csproj
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebsitePanel.EnterpriseServer.Code.csproj
@@ -35,6 +35,9 @@
..\..\Lib\Ionic.Zip.Reduced.dll
+
+ ..\..\Lib\References\Whois.NET\IPAddressRange.dll
+
..\..\Lib\Microsoft.Web.Services3.dll
True
@@ -62,6 +65,9 @@
..\..\Bin\WebsitePanel.Server.Client.dll
+
+ ..\..\Lib\References\Whois.NET\WhoisClient.dll
+
@@ -140,9 +146,11 @@
+
+
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esOrganizations.asmx.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esOrganizations.asmx.cs
index 71d8fd93..3a783a12 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esOrganizations.asmx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esOrganizations.asmx.cs
@@ -164,6 +164,18 @@ namespace WebsitePanel.EnterpriseServer
return OrganizationController.SetOrganizationDefaultDomain(itemId, domainId);
}
+ [WebMethod]
+ public DataSet GetOrganizationObjectsByDomain(int itemId, string domainName)
+ {
+ return OrganizationController.GetOrganizationObjectsByDomain(itemId, domainName);
+ }
+
+ [WebMethod]
+ public bool CheckDomainUsedByHostedOrganization(int itemId, int domainId)
+ {
+ return OrganizationController.CheckDomainUsedByHostedOrganization(itemId, domainId);
+ }
+
#endregion
#region Users
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esRemoteDesktopServices.asmx.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esRemoteDesktopServices.asmx.cs
index 48005ae8..f05d3ca3 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esRemoteDesktopServices.asmx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esRemoteDesktopServices.asmx.cs
@@ -70,6 +70,12 @@ namespace WebsitePanel.EnterpriseServer
return RemoteDesktopServicesController.AddRdsCollection(itemId, collection);
}
+ [WebMethod]
+ public ResultObject EditRdsCollection(int itemId, RdsCollection collection)
+ {
+ return RemoteDesktopServicesController.EditRdsCollection(itemId, collection);
+ }
+
[WebMethod]
public RdsCollectionPaged GetRdsCollectionsPaged(int itemId, string filterColumn, string filterValue,
string sortColumn, int startRow, int maximumRows)
@@ -101,10 +107,10 @@ namespace WebsitePanel.EnterpriseServer
}
[WebMethod]
- public RdsServersPaged GetOrganizationRdsServersPaged(int itemId, string filterColumn, string filterValue,
+ public RdsServersPaged GetOrganizationRdsServersPaged(int itemId, int? collectionId, string filterColumn, string filterValue,
string sortColumn, int startRow, int maximumRows)
{
- return RemoteDesktopServicesController.GetOrganizationRdsServersPaged(itemId, filterColumn, filterValue,
+ return RemoteDesktopServicesController.GetOrganizationRdsServersPaged(itemId, collectionId, filterColumn, filterValue,
sortColumn, startRow, maximumRows);
}
@@ -122,6 +128,12 @@ namespace WebsitePanel.EnterpriseServer
return RemoteDesktopServicesController.GetRdsServer(rdsSeverId);
}
+ [WebMethod]
+ public ResultObject SetRDServerNewConnectionAllowed(int itemId, bool newConnectionAllowed, int rdsSeverId)
+ {
+ return RemoteDesktopServicesController.SetRDServerNewConnectionAllowed(itemId, newConnectionAllowed, rdsSeverId);
+ }
+
[WebMethod]
public List GetCollectionRdsServers(int collectionId)
{
@@ -224,5 +236,16 @@ namespace WebsitePanel.EnterpriseServer
return RemoteDesktopServicesController.GetOrganizationRdsUsersCount(itemId);
}
+ [WebMethod]
+ public List GetApplicationUsers(int itemId, int collectionId, RemoteApplication remoteApp)
+ {
+ return RemoteDesktopServicesController.GetApplicationUsers(itemId, collectionId, remoteApp);
+ }
+
+ [WebMethod]
+ public ResultObject SetApplicationUsers(int itemId, int collectionId, RemoteApplication remoteApp, List users)
+ {
+ return RemoteDesktopServicesController.SetApplicationUsers(itemId, collectionId, remoteApp, users);
+ }
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esServers.asmx.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esServers.asmx.cs
index 6e76769b..8dc5a14e 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esServers.asmx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/esServers.asmx.cs
@@ -43,6 +43,7 @@ using WebsitePanel.Providers.DNS;
using WebsitePanel.Server;
using WebsitePanel.Providers.ResultObjects;
using WebsitePanel.Providers;
+using WebsitePanel.Providers.DomainLookup;
namespace WebsitePanel.EnterpriseServer
{
@@ -521,6 +522,13 @@ namespace WebsitePanel.EnterpriseServer
#endregion
#region Domains
+
+ [WebMethod]
+ public List GetDomainDnsRecords(int domainId)
+ {
+ return ServerController.GetDomainDnsRecords(domainId);
+ }
+
[WebMethod]
public List GetDomains(int packageId)
{
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DnsRecordInfo.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DnsRecordInfo.cs
new file mode 100644
index 00000000..47b8f30b
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DnsRecordInfo.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using WebsitePanel.Providers.DNS;
+
+namespace WebsitePanel.Providers.DomainLookup
+{
+ public class DnsRecordInfo
+ {
+ public int Id { get; set; }
+ public int DomainId { get; set; }
+ public string DnsServer { get; set; }
+ public DnsRecordType RecordType { get; set; }
+ public string Value { get; set; }
+ public DateTime Date { get; set; }
+ }
+}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DnsRecordInfoChange.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DnsRecordInfoChange.cs
new file mode 100644
index 00000000..a5c0306b
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DnsRecordInfoChange.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using WebsitePanel.Providers.DNS;
+
+namespace WebsitePanel.Providers.DomainLookup
+{
+ public class DnsRecordInfoChange
+ {
+ public string DnsServer { get; set; }
+ public DnsRecordInfo OldRecord { get; set; }
+ public DnsRecordInfo NewRecord { get; set; }
+ public DomainDnsRecordStatuses Status { get; set; }
+ public DnsRecordType Type { get; set; }
+ }
+}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DomainDnsChanges.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DomainDnsChanges.cs
new file mode 100644
index 00000000..d2c8cd10
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DomainDnsChanges.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace WebsitePanel.Providers.DomainLookup
+{
+ public class DomainDnsChanges
+ {
+ public string DomainName { get; set; }
+ public string Registrar { get; set; }
+ public DateTime? ExpirationDate { get; set; }
+ public int PackageId { get; set; }
+
+ public List DnsChanges { get; set; }
+
+ public DomainDnsChanges()
+ {
+ DnsChanges = new List();
+ }
+ }
+}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DomainDnsRecordStatuses.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DomainDnsRecordStatuses.cs
new file mode 100644
index 00000000..33bddf37
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/DomainLookup/DomainDnsRecordStatuses.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace WebsitePanel.Providers.DomainLookup
+{
+ public enum DomainDnsRecordStatuses
+ {
+ NotChanged,
+ Removed,
+ Added,
+ Updated
+ }
+}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/ExchangeAccountType.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/ExchangeAccountType.cs
index 88b0ac93..fdeaa6f2 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/ExchangeAccountType.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/ExchangeAccountType.cs
@@ -39,7 +39,7 @@ namespace WebsitePanel.Providers.HostedSolution
Equipment = 6,
User = 7,
SecurityGroup = 8,
- DefaultSecurityGroup = 9
-
+ DefaultSecurityGroup = 9,
+ SharedMailbox = 10
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/ExchangeMailboxPlan.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/ExchangeMailboxPlan.cs
index 03435769..72e529c0 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/ExchangeMailboxPlan.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/ExchangeMailboxPlan.cs
@@ -38,6 +38,15 @@ namespace WebsitePanel.Providers.HostedSolution
int itemId;
int mailboxPlanId;
string mailboxPlan;
+
+ public override string ToString()
+ {
+ if (mailboxPlan != null)
+ return mailboxPlan;
+
+ return base.ToString();
+ }
+
int mailboxSizeMB;
int maxRecipients;
int maxSendMessageSizeKB;
@@ -63,7 +72,6 @@ namespace WebsitePanel.Providers.HostedSolution
string litigationHoldUrl;
string litigationHoldMsg;
-
public int ItemId
{
get { return this.itemId; }
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/OrganizationStatistics.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/OrganizationStatistics.cs
index b8189f82..6d15b8e2 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/OrganizationStatistics.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/OrganizationStatistics.cs
@@ -341,6 +341,36 @@ namespace WebsitePanel.Providers.HostedSolution
get { return usedArchingStorage; }
set { usedArchingStorage = value; }
}
+
+ int allocatedSharedMailboxes;
+ public int AllocatedSharedMailboxes
+ {
+ get { return allocatedSharedMailboxes; }
+ set { allocatedSharedMailboxes = value; }
+ }
+
+ int createdSharedMailboxes;
+ public int CreatedSharedMailboxes
+ {
+ get { return createdSharedMailboxes; }
+ set { createdSharedMailboxes = value; }
+ }
+
+ int allocatedResourceMailboxes;
+ public int AllocatedResourceMailboxes
+ {
+ get { return allocatedResourceMailboxes; }
+ set { allocatedResourceMailboxes = value; }
+ }
+
+ int createdResourceMailboxes;
+ public int CreatedResourceMailboxes
+ {
+ get { return createdResourceMailboxes; }
+ set { createdResourceMailboxes = value; }
+ }
+
+
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/Mail/MailDomain.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Mail/MailDomain.cs
index a452d66d..d93c54cd 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/Mail/MailDomain.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/Mail/MailDomain.cs
@@ -368,6 +368,10 @@ namespace WebsitePanel.Providers.Mail
#region IceWarp
+ public bool UseDomainDiskQuota { get; set; }
+ public bool UseDomainLimits { get; set; }
+ public bool UseUserLimits { get; set; }
+
public int MegaByteSendLimit { get; set; }
public int NumberSendLimit { get; set; }
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/IOperatingSystem.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/IOperatingSystem.cs
index 1d5c8b5b..994f1713 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/IOperatingSystem.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/OS/IOperatingSystem.cs
@@ -28,6 +28,9 @@
using System;
using System.Collections;
+using System.Collections.Generic;
+using WebsitePanel.Providers.DNS;
+using WebsitePanel.Providers.DomainLookup;
namespace WebsitePanel.Providers.OS
{
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/IRemoteDesktopServices.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/IRemoteDesktopServices.cs
index 6cf5ec6b..acb3cc5d 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/IRemoteDesktopServices.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/IRemoteDesktopServices.cs
@@ -40,6 +40,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
public interface IRemoteDesktopServices
{
bool CreateCollection(string organizationId, RdsCollection collection);
+ bool AddRdsServersToDeployment(RdsServer[] servers);
RdsCollection GetCollection(string collectionName);
bool RemoveCollection(string organizationId, string collectionName);
bool SetUsersInCollection(string organizationId, string collectionName, List users);
@@ -48,6 +49,8 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
void RemoveSessionHostServerFromCollection(string organizationId, string collectionName, RdsServer server);
void RemoveSessionHostServersFromCollection(string organizationId, string collectionName, List servers);
+ void SetRDServerNewConnectionAllowed(bool newConnectionAllowed, RdsServer server);
+
List GetAvailableRemoteApplications(string collectionName);
List GetCollectionRemoteApplications(string collectionName);
bool AddRemoteApplication(string collectionName, RemoteApplication remoteApp);
@@ -58,5 +61,8 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
bool CheckSessionHostFeatureInstallation(string hostName);
bool CheckServerAvailability(string hostName);
+ string[] GetApplicationUsers(string collectionName, string applicationName);
+ bool SetApplicationUsers(string collectionName, RemoteApplication remoteApp, string[] users);
+ bool CheckRDSServerAvaliable(string hostname);
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/RdsPolicyTypes.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/RdsPolicyTypes.cs
new file mode 100644
index 00000000..b00fa3a2
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/RdsPolicyTypes.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace WebsitePanel.Providers.RemoteDesktopServices
+{
+ public enum RdsPolicyTypes
+ {
+ RdCap,
+ RdRap
+ }
+}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/RdsServer.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/RdsServer.cs
index 5d44984f..de1760a1 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/RdsServer.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/RemoteDesktopServices/RdsServer.cs
@@ -18,5 +18,6 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
public string Address { get; set; }
public string ItemName { get; set; }
public int? RdsCollectionId { get; set; }
+ public bool ConnectionEnabled { get; set; }
}
}
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Base/WebsitePanel.Providers.Base.csproj b/WebsitePanel/Sources/WebsitePanel.Providers.Base/WebsitePanel.Providers.Base.csproj
index 2efa81eb..93fd43e7 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Base/WebsitePanel.Providers.Base.csproj
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Base/WebsitePanel.Providers.Base.csproj
@@ -85,6 +85,10 @@
+
+
+
+
@@ -125,6 +129,7 @@
+
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.DNS.MsDNS2012/MsDNS.cs b/WebsitePanel/Sources/WebsitePanel.Providers.DNS.MsDNS2012/MsDNS.cs
index 153f7f58..c79060b3 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.DNS.MsDNS2012/MsDNS.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.DNS.MsDNS2012/MsDNS.cs
@@ -106,9 +106,6 @@ namespace WebsitePanel.Providers.DNS
public virtual void AddSecondaryZone( string zoneName, string[] masterServers )
{
ps.Add_DnsServerSecondaryZone( zoneName, masterServers );
-
- // remove ns records
- ps.Remove_DnsServerResourceRecords(zoneName, "NS");
}
public virtual void DeleteZone( string zoneName )
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs
index fa411b12..01909d57 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution.Exchange2013/Exchange2013.cs
@@ -1942,6 +1942,9 @@ namespace WebsitePanel.Providers.HostedSolution
cmd.Parameters.Add("Equipment");
else if (accountType == ExchangeAccountType.Room)
cmd.Parameters.Add("Room");
+ else if (accountType == ExchangeAccountType.SharedMailbox)
+ cmd.Parameters.Add("Shared");
+
result = ExecuteShellCommand(runSpace, cmd);
@@ -4790,6 +4793,10 @@ namespace WebsitePanel.Providers.HostedSolution
}
CheckOrganizationRootPublicFolderPermission(runSpace, organizationId);
+
+ // exchange transport needs access to create new items in order to deliver email
+ AddPublicFolderClientPermission(runSpace, folder, "Anonymous", "CreateItems");
+
}
finally
{
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/Exchange2010SP2.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/Exchange2010SP2.cs
index fbb33f3a..7ab55d2e 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/Exchange2010SP2.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/Exchange2010SP2.cs
@@ -369,6 +369,8 @@ namespace WebsitePanel.Providers.HostedSolution
cmd.Parameters.Add("Equipment");
else if (accountType == ExchangeAccountType.Room)
cmd.Parameters.Add("Room");
+ else if (accountType == ExchangeAccountType.SharedMailbox)
+ cmd.Parameters.Add("Shared");
result = ExecuteShellCommand(runSpace, cmd);
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Mail.IceWarp/IceWarp.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Mail.IceWarp/IceWarp.cs
index b622ae19..08ee1d7f 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Mail.IceWarp/IceWarp.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Mail.IceWarp/IceWarp.cs
@@ -624,7 +624,10 @@ namespace WebsitePanel.Providers.Mail
DefaultUserQuotaInMB = Convert.ToInt32((object) domain.GetProperty("D_UserMailbox"))/1024,
DefaultUserMaxMessageSizeMegaByte = Convert.ToInt32((object) domain.GetProperty("D_UserMsg"))/1024,
DefaultUserMegaByteSendLimit = Convert.ToInt32((object) domain.GetProperty("D_UserMB")),
- DefaultUserNumberSendLimit = Convert.ToInt32((object) domain.GetProperty("D_UserNumber"))
+ DefaultUserNumberSendLimit = Convert.ToInt32((object) domain.GetProperty("D_UserNumber")),
+ UseDomainDiskQuota = Convert.ToBoolean(ProviderSettings["UseDomainDiskQuota"]),
+ UseDomainLimits = Convert.ToBoolean(ProviderSettings["UseDomainLimits"]),
+ UseUserLimits = Convert.ToBoolean(ProviderSettings["UseUserLimits"])
};
return mailDomain;
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Mail.IceWarp/WebsitePanel.Providers.Mail.IceWarp.csproj b/WebsitePanel/Sources/WebsitePanel.Providers.Mail.IceWarp/WebsitePanel.Providers.Mail.IceWarp.csproj
index f6df0ed1..3389e9ec 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Mail.IceWarp/WebsitePanel.Providers.Mail.IceWarp.csproj
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Mail.IceWarp/WebsitePanel.Providers.Mail.IceWarp.csproj
@@ -17,7 +17,7 @@
true
full
false
- ..\WebsitePanel.Server\bin\
+ ..\WebsitePanel.Server\bin\IceWarp\
DEBUG;TRACE
prompt
4
@@ -25,7 +25,7 @@
pdbonly
true
- ..\WebsitePanel.Server\bin\
+ ..\WebsitePanel.Server\bin\IceWarp\
TRACE
prompt
4
@@ -48,10 +48,12 @@
{684C932A-6C75-46AC-A327-F3689D89EB42}
WebsitePanel.Providers.Base
+ False
{E91E52F3-9555-4D00-B577-2B1DBDD87CA7}
WebsitePanel.Server.Utils
+ False
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.OS.Windows2003/Windows2003.cs b/WebsitePanel/Sources/WebsitePanel.Providers.OS.Windows2003/Windows2003.cs
index 71fec3fa..939077c3 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.OS.Windows2003/Windows2003.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.OS.Windows2003/Windows2003.cs
@@ -34,6 +34,10 @@ using Microsoft.Win32;
using WebsitePanel.Server.Utils;
using WebsitePanel.Providers.Utils;
+using WebsitePanel.Providers.DomainLookup;
+using WebsitePanel.Providers.DNS;
+using System.Text.RegularExpressions;
+using System.Linq;
namespace WebsitePanel.Providers.OS
{
@@ -53,6 +57,7 @@ namespace WebsitePanel.Providers.OS
private const string MSACCESS_DRIVER = "Microsoft Access Driver (*.mdb)";
private const string MSEXCEL_DRIVER = "Microsoft Excel Driver (*.xls)";
private const string TEXT_DRIVER = "Microsoft Text Driver (*.txt; *.csv)";
+
#endregion
#region Properties
@@ -744,7 +749,6 @@ namespace WebsitePanel.Providers.OS
}
#endregion
-
public override bool IsInstalled()
{
return WebsitePanel.Server.Utils.OS.GetVersion() == WebsitePanel.Server.Utils.OS.WindowsVersion.WindowsServer2003;
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.OS.Windows2012/Windows2012.cs b/WebsitePanel/Sources/WebsitePanel.Providers.OS.Windows2012/Windows2012.cs
index 69b702e4..010e6ee5 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.OS.Windows2012/Windows2012.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.OS.Windows2012/Windows2012.cs
@@ -49,6 +49,9 @@ using System.Management.Automation.Runspaces;
using WebsitePanel.Providers.Common;
using System.Runtime.InteropServices;
+using System.Linq;
+using WebsitePanel.Providers.DomainLookup;
+using WebsitePanel.Providers.DNS;
namespace WebsitePanel.Providers.OS
@@ -77,10 +80,12 @@ namespace WebsitePanel.Providers.OS
{
Log.WriteStart("SetQuotaLimitOnFolder");
Log.WriteInfo("FolderPath : {0}", folderPath);
- Log.WriteInfo("ShareNameDrive : {0}", shareNameDrive);
Log.WriteInfo("QuotaLimit : {0}", quotaLimit);
- string path = Path.Combine(shareNameDrive + @":\", folderPath);
+ string path = folderPath;
+
+ if (shareNameDrive != null)
+ path = Path.Combine(shareNameDrive + @":\", folderPath);
Runspace runSpace = null;
try
@@ -295,7 +300,7 @@ namespace WebsitePanel.Providers.OS
ExecuteShellCommand(runSpace, cmd, false);
}
-
+
#region PowerShell integration
private static InitialSessionState session = null;
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs b/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs
index 934b2239..c15e2c69 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs
@@ -128,17 +128,90 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
#region HostingServiceProvider methods
public override bool IsInstalled()
- {
- // TODO: Remove it.
- //return true;
+ {
Server.Utils.OS.WindowsVersion version = WebsitePanel.Server.Utils.OS.GetVersion();
- return version == WebsitePanel.Server.Utils.OS.WindowsVersion.WindowsServer2012;
+ return version == WebsitePanel.Server.Utils.OS.WindowsVersion.WindowsServer2012 || version == WebsitePanel.Server.Utils.OS.WindowsVersion.WindowsServer2012R2;
+ }
+
+ public override string[] Install()
+ {
+ Runspace runSpace = null;
+ PSObject feature = null;
+
+ try
+ {
+ runSpace = OpenRunspace();
+
+ if (!IsFeatureInstalled("Desktop-Experience", runSpace))
+ {
+ feature = AddFeature(runSpace, "Desktop-Experience", true, false);
+ }
+
+ if (!IsFeatureInstalled("NET-Framework-Core", runSpace))
+ {
+ feature = AddFeature(runSpace, "NET-Framework-Core", true, false);
+ }
+
+ if (!IsFeatureInstalled("NET-Framework-45-Core", runSpace))
+ {
+ feature = AddFeature(runSpace, "NET-Framework-45-Core", true, false);
+ }
+ }
+ finally
+ {
+ CloseRunspace(runSpace);
+ }
+
+ return new string[]{};
+ }
+
+ public bool CheckRDSServerAvaliable(string hostname)
+ {
+ bool result = false;
+ var ping = new Ping();
+ var reply = ping.Send(hostname, 1000);
+
+ if (reply.Status == IPStatus.Success)
+ {
+ result = true;
+ }
+
+ return result;
}
#endregion
#region RDS Collections
+ public bool AddRdsServersToDeployment(RdsServer[] servers)
+ {
+ var result = true;
+ Runspace runSpace = null;
+
+ try
+ {
+ runSpace = OpenRunspace();
+
+ foreach (var server in servers)
+ {
+ if (!ExistRdsServerInDeployment(runSpace, server))
+ {
+ AddRdsServerToDeployment(runSpace, server);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ result = false;
+ }
+ finally
+ {
+ CloseRunspace(runSpace);
+ }
+
+ return result;
+ }
+
public bool CreateCollection(string organizationId, RdsCollection collection)
{
var result = true;
@@ -194,19 +267,22 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
ActiveDirectoryUtils.CreateGroup(orgPath, GetUsersGroupName(collection.Name));
}
+ var capPolicyName = GetPolicyName(organizationId, collection.Name, RdsPolicyTypes.RdCap);
+ var rapPolicyName = GetPolicyName(organizationId, collection.Name, RdsPolicyTypes.RdRap);
+
foreach (var gateway in Gateways)
{
if (!CentralNps)
{
- CreateRdCapForce(runSpace, gateway, collection.Name, new List { GetUsersGroupName(collection.Name) });
+ CreateRdCapForce(runSpace, gateway, capPolicyName, collection.Name, new List { GetUsersGroupName(collection.Name) });
}
- CreateRdRapForce(runSpace, gateway, collection.Name, new List { GetUsersGroupName(collection.Name) });
+ CreateRdRapForce(runSpace, gateway, rapPolicyName, collection.Name, new List { GetUsersGroupName(collection.Name) });
}
if (CentralNps)
{
- CreateCentralNpsPolicy(runSpace, CentralNpsHost, collection.Name, organizationId);
+ CreateCentralNpsPolicy(runSpace, CentralNpsHost, capPolicyName, collection.Name, organizationId);
}
//add user group to collection
@@ -278,19 +354,22 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
ExecuteShellCommand(runSpace, cmd, false);
+ var capPolicyName = GetPolicyName(organizationId, collectionName, RdsPolicyTypes.RdCap);
+ var rapPolicyName = GetPolicyName(organizationId, collectionName, RdsPolicyTypes.RdRap);
+
foreach (var gateway in Gateways)
{
if (!CentralNps)
{
- RemoveRdCap(runSpace, gateway, collectionName);
+ RemoveRdCap(runSpace, gateway, capPolicyName);
}
- RemoveRdRap(runSpace, gateway, collectionName);
+ RemoveRdRap(runSpace, gateway, rapPolicyName);
}
if (CentralNps)
{
- RemoveNpsPolicy(runSpace, CentralNpsHost, collectionName);
+ RemoveNpsPolicy(runSpace, CentralNpsHost, capPolicyName);
}
//Remove security group
@@ -364,7 +443,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
}
}
- public void AddSessionHostServersToCollection(string organizationId, string collectionName, List servers)
+ public void AddSessionHostServersToCollection(string organizationId, string collectionName, List servers)
{
foreach (var server in servers)
{
@@ -384,7 +463,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
cmd.Parameters.Add("ConnectionBroker", ConnectionBroker);
cmd.Parameters.Add("SessionHost", server.FqdName);
cmd.Parameters.Add("Force", true);
-
+
ExecuteShellCommand(runSpace, cmd, false);
RemoveComputerFromCollectionAdComputerGroup(organizationId, collectionName, server);
@@ -405,8 +484,96 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
#endregion
+ public void SetRDServerNewConnectionAllowed(bool newConnectionAllowed, RdsServer server)
+ {
+ Runspace runSpace = null;
+
+ try
+ {
+ runSpace = OpenRunspace();
+
+ Command cmd = new Command("Set-RDSessionHost");
+ cmd.Parameters.Add("SessionHost", server.FqdName);
+ cmd.Parameters.Add("NewConnectionAllowed", string.Format("${0}", newConnectionAllowed.ToString()));
+
+ ExecuteShellCommand(runSpace, cmd, false);
+ }
+ catch (Exception e)
+ {
+
+ }
+ finally
+ {
+ CloseRunspace(runSpace);
+ }
+ }
+
#region Remote Applications
+ public string[] GetApplicationUsers(string collectionName, string applicationName)
+ {
+ Runspace runspace = null;
+ List result = new List();
+
+ try
+ {
+ runspace = OpenRunspace();
+
+ Command cmd = new Command("Get-RDRemoteApp");
+ cmd.Parameters.Add("CollectionName", collectionName);
+ cmd.Parameters.Add("ConnectionBroker", ConnectionBroker);
+ cmd.Parameters.Add("DisplayName", applicationName);
+
+ var application = ExecuteShellCommand(runspace, cmd, false).FirstOrDefault();
+
+ if (application != null)
+ {
+ var users = (string[])(GetPSObjectProperty(application, "UserGroups"));
+
+ if (users != null)
+ {
+ result.AddRange(users);
+ }
+ }
+ }
+ finally
+ {
+ CloseRunspace(runspace);
+ }
+
+ return result.ToArray();
+ }
+
+ public bool SetApplicationUsers(string collectionName, RemoteApplication remoteApp, string[] users)
+ {
+ Runspace runspace = null;
+ bool result = true;
+
+ try
+ {
+ runspace = OpenRunspace();
+
+ Command cmd = new Command("Set-RDRemoteApp");
+ cmd.Parameters.Add("CollectionName", collectionName);
+ cmd.Parameters.Add("ConnectionBroker", ConnectionBroker);
+ cmd.Parameters.Add("DisplayName", remoteApp.DisplayName);
+ cmd.Parameters.Add("UserGroups", users);
+ cmd.Parameters.Add("Alias", remoteApp.Alias);
+
+ ExecuteShellCommand(runspace, cmd, false).FirstOrDefault();
+ }
+ catch(Exception)
+ {
+ result = false;
+ }
+ finally
+ {
+ CloseRunspace(runspace);
+ }
+
+ return result;
+ }
+
public List GetAvailableRemoteApplications(string collectionName)
{
var startApps = new List();
@@ -537,7 +704,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
#region Gateaway (RD CAP | RD RAP)
- internal void CreateCentralNpsPolicy(Runspace runSpace, string centralNpshost, string collectionName, string organizationId)
+ internal void CreateCentralNpsPolicy(Runspace runSpace, string centralNpshost, string policyName, string collectionName, string organizationId)
{
var showCmd = new Command("netsh nps show np");
@@ -545,39 +712,39 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
var count = showResult.Count(x => Convert.ToString(x).Contains("policy conf")) + 1001;
- var groupAd = ActiveDirectoryUtils.GetADObject(GetUsersGroupPath(organizationId, collectionName));
+ var userGroupAd = ActiveDirectoryUtils.GetADObject(GetUsersGroupPath(organizationId, collectionName));
- var sid = (byte[])ActiveDirectoryUtils.GetADObjectProperty(groupAd, "objectSid");
+ var userGroupSid = (byte[])ActiveDirectoryUtils.GetADObjectProperty(userGroupAd, "objectSid");
- var addCmdString = string.Format(AddNpsString, collectionName.Replace(" ", "_"), count, ConvertByteToStringSid(sid));
+ var addCmdString = string.Format(AddNpsString, policyName.Replace(" ", "_"), count, ConvertByteToStringSid(userGroupSid));
Command addCmd = new Command(addCmdString);
var result = ExecuteRemoteShellCommand(runSpace, centralNpshost, addCmd);
}
- internal void RemoveNpsPolicy(Runspace runSpace, string centralNpshost, string collectionName)
+ internal void RemoveNpsPolicy(Runspace runSpace, string centralNpshost, string policyName)
{
- var removeCmd = new Command(string.Format("netsh nps delete np {0}", collectionName.Replace(" ", "_")));
+ var removeCmd = new Command(string.Format("netsh nps delete np {0}", policyName.Replace(" ", "_")));
var removeResult = ExecuteRemoteShellCommand(runSpace, centralNpshost, removeCmd);
}
- internal void CreateRdCapForce(Runspace runSpace, string gatewayHost, string name, List groups)
+ internal void CreateRdCapForce(Runspace runSpace, string gatewayHost, string policyName, string collectionName, List groups)
{
//New-Item -Path "RDS:\GatewayServer\CAP" -Name "Allow Admins" -UserGroups "Administrators@." -AuthMethod 1
//Set-Item -Path "RDS:\GatewayServer\CAP\Allow Admins\SessionTimeout" -Value 480 -SessionTimeoutAction 0
- if (ItemExistsRemote(runSpace, gatewayHost, Path.Combine(CapPath, name)))
+ if (ItemExistsRemote(runSpace, gatewayHost, Path.Combine(CapPath, policyName)))
{
- RemoveRdCap(runSpace, gatewayHost, name);
+ RemoveRdCap(runSpace, gatewayHost, policyName);
}
var userGroupParametr = string.Format("@({0})",string.Join(",", groups.Select(x => string.Format("\"{0}@{1}\"", x, RootDomain)).ToArray()));
Command rdCapCommand = new Command("New-Item");
rdCapCommand.Parameters.Add("Path", string.Format("\"{0}\"", CapPath));
- rdCapCommand.Parameters.Add("Name", string.Format("\"{0}\"", name));
+ rdCapCommand.Parameters.Add("Name", string.Format("\"{0}\"", policyName));
rdCapCommand.Parameters.Add("UserGroups", userGroupParametr);
rdCapCommand.Parameters.Add("AuthMethod", 1);
@@ -589,22 +756,22 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
RemoveItemRemote(runSpace, gatewayHost, string.Format(@"{0}\{1}", CapPath, name), RdsModuleName);
}
- internal void CreateRdRapForce(Runspace runSpace, string gatewayHost, string name, List groups)
+ internal void CreateRdRapForce(Runspace runSpace, string gatewayHost, string policyName, string collectionName, List groups)
{
//New-Item -Path "RDS:\GatewayServer\RAP" -Name "Allow Connections To Everywhere" -UserGroups "Administrators@." -ComputerGroupType 1
//Set-Item -Path "RDS:\GatewayServer\RAP\Allow Connections To Everywhere\PortNumbers" -Value 3389,3390
- if (ItemExistsRemote(runSpace, gatewayHost, Path.Combine(RapPath, name)))
+ if (ItemExistsRemote(runSpace, gatewayHost, Path.Combine(RapPath, policyName)))
{
- RemoveRdRap(runSpace, gatewayHost, name);
+ RemoveRdRap(runSpace, gatewayHost, policyName);
}
var userGroupParametr = string.Format("@({0})", string.Join(",", groups.Select(x => string.Format("\"{0}@{1}\"", x, RootDomain)).ToArray()));
- var computerGroupParametr = string.Format("\"{0}@{1}\"", GetComputersGroupName(name), RootDomain);
+ var computerGroupParametr = string.Format("\"{0}@{1}\"", GetComputersGroupName(collectionName), RootDomain);
Command rdRapCommand = new Command("New-Item");
rdRapCommand.Parameters.Add("Path", string.Format("\"{0}\"", RapPath));
- rdRapCommand.Parameters.Add("Name", string.Format("\"{0}\"", name));
+ rdRapCommand.Parameters.Add("Name", string.Format("\"{0}\"", policyName));
rdRapCommand.Parameters.Add("UserGroups", userGroupParametr);
rdRapCommand.Parameters.Add("ComputerGroupType", 1);
rdRapCommand.Parameters.Add("ComputerGroup", computerGroupParametr);
@@ -629,6 +796,8 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
ExecuteShellCommand(runSpace, cmd, false);
}
+
+
private bool ExistRdsServerInDeployment(Runspace runSpace, RdsServer server)
{
Command cmd = new Command("Get-RDserver");
@@ -729,6 +898,8 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
ActiveDirectoryUtils.AddObjectToGroup(computerPath, GetComputerGroupPath(organizationId, collectionName));
}
}
+
+ SetRDServerNewConnectionAllowed(false, server);
}
private void RemoveComputerFromCollectionAdComputerGroup(string organizationId, string collectionName, RdsServer server)
@@ -756,16 +927,13 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
public bool AddSessionHostFeatureToServer(string hostName)
{
bool installationResult = false;
-
Runspace runSpace = null;
try
{
runSpace = OpenRunspace();
-
var feature = AddFeature(runSpace, hostName, "RDS-RD-Server", true, true);
-
- installationResult = (bool) GetPSObjectProperty(feature, "Success");
+ installationResult = (bool)GetPSObjectProperty(feature, "Success");
}
finally
{
@@ -924,6 +1092,27 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
ExecuteRemoteShellCommand(runSpace, hostname, rdRapCommand, imports);
}
+ private string GetPolicyName(string organizationId, string collectionName, RdsPolicyTypes policyType)
+ {
+ string policyName = string.Format("{0}-{1}-", organizationId, collectionName);
+
+ switch (policyType)
+ {
+ case RdsPolicyTypes.RdCap:
+ {
+ policyName += "RDCAP";
+ break;
+ }
+ case RdsPolicyTypes.RdRap:
+ {
+ policyName += "RDRAP";
+ break;
+ }
+ }
+
+ return policyName;
+ }
+
private string GetComputersGroupName(string collectionName)
{
return string.Format(RdsGroupFormat, collectionName, Computers.ToLowerInvariant());
@@ -1058,60 +1247,70 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
#region Windows Feature PowerShell
- internal bool IsFeatureInstalled(string hostName, string featureName)
+ internal bool IsFeatureInstalled(string featureName, Runspace runSpace)
{
bool isInstalled = false;
+ Command cmd = new Command("Get-WindowsFeature");
+ cmd.Parameters.Add("Name", featureName);
+ var feature = ExecuteShellCommand(runSpace, cmd, false).FirstOrDefault();
- Runspace runSpace = null;
- try
+ if (feature != null)
{
- runSpace = OpenRunspace();
-
- Command cmd = new Command("Get-WindowsFeature");
- cmd.Parameters.Add("Name", featureName);
-
- var feature = ExecuteRemoteShellCommand(runSpace, hostName, cmd).FirstOrDefault();
-
- if (feature != null)
- {
- isInstalled = (bool) GetPSObjectProperty(feature, "Installed");
- }
- }
- finally
- {
- CloseRunspace(runSpace);
+ isInstalled = (bool)GetPSObjectProperty(feature, "Installed");
}
return isInstalled;
}
- internal PSObject AddFeature(Runspace runSpace, string hostName, string featureName, bool includeAllSubFeature = true, bool restart = false)
+ internal bool IsFeatureInstalled(string hostName, string featureName, Runspace runSpace)
{
- PSObject feature;
-
- try
+ bool isInstalled = false;
+ Command cmd = new Command("Get-WindowsFeature");
+ cmd.Parameters.Add("Name", featureName);
+ var feature = ExecuteRemoteShellCommand(runSpace, hostName, cmd).FirstOrDefault();
+
+ if (feature != null)
{
- Command cmd = new Command("Add-WindowsFeature");
- cmd.Parameters.Add("Name", featureName);
+ isInstalled = (bool) GetPSObjectProperty(feature, "Installed");
+ }
- if (includeAllSubFeature)
- {
- cmd.Parameters.Add("IncludeAllSubFeature", "");
- }
+ return isInstalled;
+ }
- if (restart)
- {
- cmd.Parameters.Add("Restart", "");
- }
+ internal PSObject AddFeature(Runspace runSpace, string featureName, bool includeAllSubFeature = true, bool restart = false)
+ {
+ Command cmd = new Command("Add-WindowsFeature");
+ cmd.Parameters.Add("Name", featureName);
- feature = ExecuteRemoteShellCommand(runSpace, hostName, cmd).FirstOrDefault();
- }
- finally
+ if (includeAllSubFeature)
{
- CloseRunspace(runSpace);
+ cmd.Parameters.Add("IncludeAllSubFeature", true);
}
- return feature;
+ if (restart)
+ {
+ cmd.Parameters.Add("Restart", true);
+ }
+
+ return ExecuteShellCommand(runSpace, cmd, false).FirstOrDefault();
+ }
+
+ internal PSObject AddFeature(Runspace runSpace, string hostName, string featureName, bool includeAllSubFeature = true, bool restart = false)
+ {
+ Command cmd = new Command("Add-WindowsFeature");
+ cmd.Parameters.Add("Name", featureName);
+
+ if (includeAllSubFeature)
+ {
+ cmd.Parameters.Add("IncludeAllSubFeature", "");
+ }
+
+ if (restart)
+ {
+ cmd.Parameters.Add("Restart", "");
+ }
+
+ return ExecuteRemoteShellCommand(runSpace, hostName, cmd).FirstOrDefault();
}
#endregion
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/SSL/SSLModuleService80.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/SSL/SSLModuleService80.cs
index 01baf828..1ba070aa 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/SSL/SSLModuleService80.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/SSL/SSLModuleService80.cs
@@ -49,14 +49,6 @@ namespace WebsitePanel.Providers.Web.Iis
// We need to move it into "WebHosting" store
// Get certificate
var servercert = GetServerCertificates(StoreName.My.ToString()).Single(c => c.FriendlyName == cert.FriendlyName);
- if (UseCCS)
- {
- // Delete existing certificate, if any. This is needed to install a new binding
- if (CheckCertificate(website))
- {
- DeleteCertificate(GetCurrentSiteCertificate(website), website);
- }
- }
// Get certificate data - the one we just added to "Personal" store
var storeMy = new X509Store(StoreName.My, StoreLocation.LocalMachine);
@@ -64,6 +56,7 @@ namespace WebsitePanel.Providers.Web.Iis
X509CertificateCollection existCerts2 = storeMy.Certificates.Find(X509FindType.FindBySerialNumber, servercert.SerialNumber, false);
var certData = existCerts2[0].Export(X509ContentType.Pfx);
storeMy.Close();
+ var x509Cert = new X509Certificate2(certData);
if (UseCCS)
{
@@ -74,7 +67,6 @@ namespace WebsitePanel.Providers.Web.Iis
{
// Add new certificate to "WebHosting" store
var store = new X509Store(CertificateStoreName, StoreLocation.LocalMachine);
- var x509Cert = new X509Certificate2(certData);
store.Open(OpenFlags.ReadWrite);
store.Add(x509Cert);
store.Close();
@@ -85,6 +77,7 @@ namespace WebsitePanel.Providers.Web.Iis
X509CertificateCollection existCerts = storeMy.Certificates.Find(X509FindType.FindBySerialNumber, servercert.SerialNumber, false);
storeMy.Remove((X509Certificate2)existCerts[0]);
storeMy.Close();
+
// Fill object with certificate data
cert.SerialNumber = servercert.SerialNumber;
cert.ValidFrom = servercert.ValidFrom;
@@ -99,7 +92,7 @@ namespace WebsitePanel.Providers.Web.Iis
DeleteCertificate(GetCurrentSiteCertificate(website), website);
}
- AddBinding(cert, website);
+ AddBinding(x509Cert, website);
}
}
catch (Exception ex)
@@ -113,8 +106,10 @@ namespace WebsitePanel.Providers.Web.Iis
public new List GetServerCertificates()
{
- // Use Web Hosting store - new for IIS 8.0
- return GetServerCertificates(CertificateStoreName);
+ // Get certificates from both WebHosting and My (Personal) store
+ var certificates = GetServerCertificates(CertificateStoreName);
+ certificates.AddRange(GetServerCertificates(StoreName.My.ToString()));
+ return certificates;
}
public new SSLCertificate ImportCertificate(WebSite website)
@@ -134,12 +129,12 @@ namespace WebsitePanel.Providers.Web.Iis
};
}
- return certificate;
+ return certificate ?? (new SSLCertificate {Success = false, Certificate = "No certificate in binding on server, please remove or edit binding"});
}
public new SSLCertificate InstallPfx(byte[] certificate, string password, WebSite website)
{
- SSLCertificate newcert, oldcert = null;
+ SSLCertificate newcert = null, oldcert = null;
// Ensure we perform operations safely and preserve the original state during all manipulations, save the oldcert if one is used
if (CheckCertificate(website))
@@ -170,7 +165,7 @@ namespace WebsitePanel.Providers.Web.Iis
writer.Write(certData);
writer.Flush();
writer.Close();
- // Certificated saved
+ // Certificate saved
}
catch (Exception ex)
{
@@ -189,7 +184,6 @@ namespace WebsitePanel.Providers.Web.Iis
try
{
store.Open(OpenFlags.ReadWrite);
-
store.Add(x509Cert);
}
catch (Exception ex)
@@ -205,82 +199,38 @@ namespace WebsitePanel.Providers.Web.Iis
}
// Step 2: Instantiate a copy of new X.509 certificate
- try
- {
- store.Open(OpenFlags.ReadWrite);
- newcert = GetSSLCertificateFromX509Certificate2(x509Cert);
- }
- catch (Exception ex)
- {
- if (!UseCCS)
- {
- // Rollback X.509 store changes
- store.Remove(x509Cert);
- }
- // Log error
- Log.WriteError("SSLModuleService could not instantiate a copy of new X.509 certificate. All previous changes have been rolled back.", ex);
- // Re-throw
- throw;
- }
- finally
- {
- store.Close();
- }
+ try
+ {
+ newcert = GetSSLCertificateFromX509Certificate2(x509Cert);
+ }
+ catch (Exception ex)
+ {
+ HandleExceptionAndRollbackCertificate(store, x509Cert, null, website, "SSLModuleService could not instantiate a copy of new X.509 certificate.", ex);
+ }
- if (!UseCCS)
- {
- // Step 3: Remove old certificate from the web site if any
- try
- {
- store.Open(OpenFlags.ReadWrite);
- // Check if certificate already exists, remove it.
- if (oldcert != null)
- DeleteCertificate(oldcert, website);
- }
- catch (Exception ex)
- {
- // Rollback X.509 store changes
- store.Remove(x509Cert);
- // Log the error
- Log.WriteError(
- String.Format("SSLModuleService could not remove existing certificate from '{0}' web site. All changes have been rolled back.", website.Name), ex);
- // Re-throw
- throw;
- }
- finally
- {
- store.Close();
- }
- }
+ // Step 3: Remove old certificate from the web site if any
+ try
+ {
+ // Check if certificate already exists, remove it.
+ if (oldcert != null)
+ {
+ DeleteCertificate(oldcert, website);
+ }
+ }
+ catch (Exception ex)
+ {
+ HandleExceptionAndRollbackCertificate(store, x509Cert, null, website, string.Format("SSLModuleService could not remove existing certificate from '{0}' web site.", website.Name), ex);
+ }
- // Step 4: Register new certificate with HTTPS binding on the web site
- try
- {
- //if (!UseCCS)
- //{
- // store.Open(OpenFlags.ReadWrite);
- //}
-
- AddBinding(newcert, website);
- }
- catch (Exception ex)
- {
- if (!UseCCS)
- {
- // Install old certificate back if any
- store.Open(OpenFlags.ReadWrite);
- if (oldcert != null)
- InstallCertificate(oldcert, website);
- // Rollback X.509 store changes
- store.Remove(x509Cert);
- store.Close();
- }
- // Log the error
- Log.WriteError(
- String.Format("SSLModuleService could not add new X.509 certificate to '{0}' web site. All changes have been rolled back.", website.Name), ex);
- // Re-throw
- throw;
- }
+ // Step 4: Register new certificate with HTTPS binding on the web site
+ try
+ {
+ AddBinding(x509Cert, website);
+ }
+ catch (Exception ex)
+ {
+ HandleExceptionAndRollbackCertificate(store, x509Cert, oldcert, website, String.Format("SSLModuleService could not add new X.509 certificate to '{0}' web site.", website.Name), ex);
+ }
return newcert;
}
@@ -319,32 +269,47 @@ namespace WebsitePanel.Providers.Web.Iis
}
- public new void AddBinding(SSLCertificate certificate, WebSite website)
+ public void AddBinding(X509Certificate2 certificate, WebSite website)
{
using (var srvman = GetServerManager())
{
- var store = new X509Store(CertificateStoreName, StoreLocation.LocalMachine);
- store.Open(OpenFlags.ReadOnly);
-
// Look for dedicated ip
var dedicatedIp = SiteHasBindingWithDedicatedIp(srvman, website);
- var bindingInformation = string.Format("{0}:443:{1}", website.SiteIPAddress, dedicatedIp ? "" : certificate.Hostname);
+ // Look for all the hostnames this certificate is valid for if we are using SNI
+ var hostNames = new List();
- Binding siteBinding = UseCCS ?
- srvman.Sites[website.SiteId].Bindings.Add(bindingInformation, "https") :
- srvman.Sites[website.SiteId].Bindings.Add(bindingInformation, certificate.Hash, store.Name);
+ if (!dedicatedIp)
+ {
+ hostNames.AddRange(certificate.Extensions.Cast()
+ .Where(e => e.Oid.Value == "2.5.29.17") // Subject Alternative Names
+ .SelectMany(e => e.Format(true).Split(new[] {"\r\n", "\n", "\n"}, StringSplitOptions.RemoveEmptyEntries).Select(s => s.Split('=')[1])));
+ }
+
+ var simpleName = certificate.GetNameInfo(X509NameType.SimpleName, false);
+ if (hostNames.All(h => h != simpleName))
+ {
+ hostNames.Add(simpleName);
+ }
+
+ // For every hostname (only one if using old school dedicated IP binding)
+ foreach (var hostName in hostNames)
+ {
+ var bindingInformation = string.Format("{0}:443:{1}", website.SiteIPAddress ?? "*", dedicatedIp ? "" : hostName);
+
+ Binding siteBinding = UseCCS ?
+ srvman.Sites[website.SiteId].Bindings.Add(bindingInformation, "https") :
+ srvman.Sites[website.SiteId].Bindings.Add(bindingInformation, certificate.GetCertHash(), CertificateStoreName);
- if (UseSNI)
- {
- siteBinding.SslFlags |= SslFlags.Sni;
+ if (UseSNI && !dedicatedIp)
+ {
+ siteBinding.SslFlags |= SslFlags.Sni;
+ }
+ if (UseCCS)
+ {
+ siteBinding.SslFlags |= SslFlags.CentralCertStore;
+ }
}
- if (UseCCS)
- {
- siteBinding.SslFlags |= SslFlags.CentralCertStore;
- }
-
- store.Close();
srvman.CommitChanges();
}
@@ -352,7 +317,9 @@ namespace WebsitePanel.Providers.Web.Iis
public new ResultObject DeleteCertificate(SSLCertificate certificate, WebSite website)
{
- var result = new ResultObject() { IsSuccess = true };
+ // This method removes all https bindings and all certificates associated with them.
+ // Old implementation (IIS70) removed a single binding (there could not be more than one) and the first certificate that matched via serial number
+ var result = new ResultObject { IsSuccess = true };
if (certificate == null)
{
@@ -361,35 +328,70 @@ namespace WebsitePanel.Providers.Web.Iis
try
{
- // Regardless of the CCS setting on the server, we try to find and remove the certificate from both CCS and WebHosting Store.
- // This is because we don't know how this was set when the certificate was added
+ var certificatesAndStoreNames = new List>();
- if (!string.IsNullOrWhiteSpace(CCSUncPath) && Directory.Exists(CCSUncPath))
+ // User servermanager to get aLL SSL-bindings on this website and try to remove the certificates used
+ using (var srvman = GetServerManager())
{
- // This is where it will be if CCS is used
- var path = GetCCSPath(certificate.Hostname);
- if (File.Exists(path))
+
+ var site = srvman.Sites[website.Name];
+ var bindings = site.Bindings.Where(b => b.Protocol == "https");
+
+ foreach (Binding binding in bindings.ToList())
{
- File.Delete(path);
+ if (binding.SslFlags.HasFlag(SslFlags.CentralCertStore))
+ {
+ if (!string.IsNullOrWhiteSpace(CCSUncPath) && Directory.Exists(CCSUncPath))
+ {
+ // This is where it will be if CCS is used
+ var path = GetCCSPath(certificate.Hostname);
+ if (File.Exists(path))
+ {
+ File.Delete(path);
+ }
+
+ // If binding with hostname, also try to delete with the hostname in the binding
+ // This is because if SNI is used, several bindings are created for every valid name in the cerificate, but only one name exists in the SSLCertificate
+ if (!string.IsNullOrEmpty(binding.Host))
+ {
+ path = GetCCSPath(binding.Host);
+ if (File.Exists(path))
+ {
+ File.Delete(path);
+ }
+ }
+ }
+ }
+ else
+ {
+ var certificateAndStoreName = new Tuple(binding.CertificateStoreName, binding.CertificateHash);
+
+ if (!string.IsNullOrEmpty(binding.CertificateStoreName) && !certificatesAndStoreNames.Contains(certificateAndStoreName))
+ {
+ certificatesAndStoreNames.Add(certificateAndStoreName);
+ }
+ }
+
+ // Remove binding from site
+ site.Bindings.Remove(binding);
}
- }
- // Now delete all certs with the same serialnumber in WebHosting Store
- var store = new X509Store(CertificateStoreName, StoreLocation.LocalMachine);
- store.Open(OpenFlags.MaxAllowed);
+ srvman.CommitChanges();
- var certs = store.Certificates.Find(X509FindType.FindBySerialNumber, certificate.SerialNumber, false);
- foreach (var cert in certs)
- {
- store.Remove(cert);
- }
+ foreach (var certificateAndStoreName in certificatesAndStoreNames)
+ {
+ // Delete all certs with the same serialnumber in Store
+ var store = new X509Store(certificateAndStoreName.Item1, StoreLocation.LocalMachine);
+ store.Open(OpenFlags.MaxAllowed);
- store.Close();
+ var certs = store.Certificates.Find(X509FindType.FindByThumbprint, BitConverter.ToString(certificateAndStoreName.Item2).Replace("-", ""), false);
+ foreach (var cert in certs)
+ {
+ store.Remove(cert);
+ }
- // Remove binding from site
- if (CheckCertificate(website))
- {
- RemoveBinding(certificate, website);
+ store.Close();
+ }
}
}
catch (Exception ex)
@@ -409,9 +411,7 @@ namespace WebsitePanel.Providers.Web.Iis
var site = srvman.Sites[website.SiteId];
var sslBinding = site.Bindings.First(b => b.Protocol == "https");
- X509Certificate2 cert = null;
-
- // If the certificate is in the central store
+ // If the certificate is in the central store
if (((SslFlags)Enum.Parse(typeof(SslFlags), sslBinding["sslFlags"].ToString())).HasFlag(SslFlags.CentralCertStore))
{
// Let's try to match binding host and certificate filename
@@ -423,23 +423,19 @@ namespace WebsitePanel.Providers.Web.Iis
// Read certificate data from file
var certData = new byte[fileStream.Length];
fileStream.Read(certData, 0, (int) fileStream.Length);
- cert = new X509Certificate2(certData, CCSCommonPassword);
+ var cert = new X509Certificate2(certData, CCSCommonPassword);
fileStream.Close();
+ return GetSSLCertificateFromX509Certificate2(cert);
}
}
else
{
- var currentHash = sslBinding.CertificateHash;
- var store = new X509Store(CertificateStoreName, StoreLocation.LocalMachine);
- store.Open(OpenFlags.ReadOnly);
-
- cert = store.Certificates.Cast().Single(c => Convert.ToBase64String(c.GetCertHash()) == Convert.ToBase64String(currentHash));
-
- store.Close();
+ var currentHash = Convert.ToBase64String(sslBinding.CertificateHash);
+ return GetServerCertificates().FirstOrDefault(c => Convert.ToBase64String(c.Hash) == currentHash);
}
-
- return GetSSLCertificateFromX509Certificate2(cert);
}
+
+ return null;
}
private static List GetServerCertificates(string certificateStoreName)
@@ -504,5 +500,33 @@ namespace WebsitePanel.Providers.Web.Iis
return false;
}
}
+
+ private void HandleExceptionAndRollbackCertificate(X509Store store, X509Certificate2 x509Cert, SSLCertificate oldCert, WebSite webSite, string errorMessage, Exception ex)
+ {
+ if (!UseCCS)
+ {
+ try
+ {
+ // Rollback X.509 store changes
+ store.Open(OpenFlags.ReadWrite);
+ store.Remove(x509Cert);
+ store.Close();
+ }
+ catch (Exception)
+ {
+ Log.WriteError("SSLModuleService could not rollback and remove certificate from store", ex);
+ }
+
+ // Install old certificate back if any
+ if (oldCert != null)
+ InstallCertificate(oldCert, webSite);
+ }
+
+ // Log the error
+ Log.WriteError(errorMessage + " All changes have been rolled back.", ex);
+
+ // Re-throw
+ throw ex;
+ }
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/WebsitePanel.Providers.Web.IIs80.csproj b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/WebsitePanel.Providers.Web.IIs80.csproj
index dd28ae8c..62f64039 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/WebsitePanel.Providers.Web.IIs80.csproj
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIs80/WebsitePanel.Providers.Web.IIs80.csproj
@@ -17,7 +17,7 @@
true
full
false
- ..\WebsitePanel.Server\bin\
+ ..\WebsitePanel.Server\bin\IIs80\
DEBUG;TRACE
prompt
4
@@ -25,7 +25,7 @@
pdbonly
true
- ..\WebsitePanel.Server\bin\
+ ..\WebsitePanel.Server\bin\IIs80\
TRACE
prompt
4
@@ -56,18 +56,22 @@
{684c932a-6c75-46ac-a327-f3689d89eb42}
WebsitePanel.Providers.Base
+ False
{9be0317d-e42e-4ff6-9a87-8c801f046ea1}
WebsitePanel.Providers.Web.IIs60
+ False
{1b9dce85-c664-49fc-b6e1-86c63cab88d1}
WebsitePanel.Providers.Web.IIs70
+ False
{e91e52f3-9555-4d00-b577-2b1dbdd87ca7}
WebsitePanel.Server.Utils
+ False
diff --git a/WebsitePanel/Sources/WebsitePanel.SchedulerService/SchedulerService.cs b/WebsitePanel/Sources/WebsitePanel.SchedulerService/SchedulerService.cs
index 2f017c19..92d0128a 100644
--- a/WebsitePanel/Sources/WebsitePanel.SchedulerService/SchedulerService.cs
+++ b/WebsitePanel/Sources/WebsitePanel.SchedulerService/SchedulerService.cs
@@ -35,15 +35,16 @@ namespace WebsitePanel.SchedulerService
public partial class SchedulerService : ServiceBase
{
private Timer _Timer;
- private static bool _isRuninng;
+ private static object _isRuninng;
#region Construcor
public SchedulerService()
{
+ _isRuninng = new object();
+
InitializeComponent();
_Timer = new Timer(Process, null, 5000, 5000);
- _isRuninng = false;
}
#endregion
@@ -57,12 +58,18 @@ namespace WebsitePanel.SchedulerService
protected static void Process(object callback)
{
//check running service
- if (_isRuninng)
+ if (!Monitor.TryEnter(_isRuninng))
return;
- _isRuninng = true;
- Scheduler.Start();
- _isRuninng = false;
+ try
+ {
+ Scheduler.Start();
+ }
+ finally
+ {
+ Monitor.Exit(_isRuninng);
+ }
+
}
#endregion
diff --git a/WebsitePanel/Sources/WebsitePanel.SchedulerService/app.config b/WebsitePanel/Sources/WebsitePanel.SchedulerService/app.config
index f4df3fb3..fc65dbf9 100644
--- a/WebsitePanel/Sources/WebsitePanel.SchedulerService/app.config
+++ b/WebsitePanel/Sources/WebsitePanel.SchedulerService/app.config
@@ -1,14 +1,14 @@
-
+
-
+
diff --git a/WebsitePanel/Sources/WebsitePanel.Server.Client/OperatingSystemProxy.cs b/WebsitePanel/Sources/WebsitePanel.Server.Client/OperatingSystemProxy.cs
index d1dc1811..56382922 100644
--- a/WebsitePanel/Sources/WebsitePanel.Server.Client/OperatingSystemProxy.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Server.Client/OperatingSystemProxy.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:2.0.50727.4984
+// Runtime Version:2.0.50727.7905
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -9,635 +9,570 @@
//------------------------------------------------------------------------------
//
-// This source code was auto-generated by wsdl, Version=2.0.50727.42.
+// This source code was auto-generated by wsdl, Version=2.0.50727.3038.
//
-namespace WebsitePanel.Providers.OS
-{
+namespace WebsitePanel.Providers.OS {
using System.Xml.Serialization;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Diagnostics;
-
-
+
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Web.Services.WebServiceBindingAttribute(Name = "OperatingSystemSoap", Namespace = "http://smbsaas/websitepanel/server/")]
+ [System.Web.Services.WebServiceBindingAttribute(Name="OperatingSystemSoap", Namespace="http://smbsaas/websitepanel/server/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceProviderItem))]
- public partial class OperatingSystem : Microsoft.Web.Services3.WebServicesClientProtocol
- {
-
+ public partial class OperatingSystem : Microsoft.Web.Services3.WebServicesClientProtocol {
+
public ServiceProviderSettingsSoapHeader ServiceProviderSettingsSoapHeaderValue;
-
+
private System.Threading.SendOrPostCallback CreatePackageFolderOperationCompleted;
-
+
private System.Threading.SendOrPostCallback FileExistsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DirectoryExistsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetFileOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetFilesOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetDirectoriesRecursiveOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetFilesRecursiveOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetFilesRecursiveByPatternOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetFileBinaryContentOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetFileBinaryContentUsingEncodingOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetFileBinaryChunkOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetFileTextContentOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CreateFileOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CreateDirectoryOperationCompleted;
-
+
private System.Threading.SendOrPostCallback ChangeFileAttributesOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteFileOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteFilesOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteEmptyDirectoriesOperationCompleted;
-
+
private System.Threading.SendOrPostCallback UpdateFileBinaryContentOperationCompleted;
-
+
private System.Threading.SendOrPostCallback UpdateFileBinaryContentUsingEncodingOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AppendFileBinaryContentOperationCompleted;
-
+
private System.Threading.SendOrPostCallback UpdateFileTextContentOperationCompleted;
-
+
private System.Threading.SendOrPostCallback MoveFileOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CopyFileOperationCompleted;
-
+
private System.Threading.SendOrPostCallback ZipFilesOperationCompleted;
-
+
private System.Threading.SendOrPostCallback UnzipFilesOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CreateAccessDatabaseOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetGroupNtfsPermissionsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GrantGroupNtfsPermissionsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback SetQuotaLimitOnFolderOperationCompleted;
-
- private System.Threading.SendOrPostCallback GetQuotaLimitOnFolderOperationCompleted;
-
+
+ private System.Threading.SendOrPostCallback GetQuotaOnFolderOperationCompleted;
+
private System.Threading.SendOrPostCallback DeleteDirectoryRecursiveOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CheckFileServicesInstallationOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetFolderGraphOperationCompleted;
-
+
private System.Threading.SendOrPostCallback ExecuteSyncActionsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetInstalledOdbcDriversOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetDSNNamesOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetDSNOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CreateDSNOperationCompleted;
-
+
private System.Threading.SendOrPostCallback UpdateDSNOperationCompleted;
-
+
private System.Threading.SendOrPostCallback DeleteDSNOperationCompleted;
-
+
///
- public OperatingSystem()
- {
- this.Url = "http://localhost:9004/OperatingSystem.asmx";
+ public OperatingSystem() {
+ this.Url = "http://localhost:9003/OperatingSystem.asmx";
}
-
+
///
public event CreatePackageFolderCompletedEventHandler CreatePackageFolderCompleted;
-
+
///
public event FileExistsCompletedEventHandler FileExistsCompleted;
-
+
///
public event DirectoryExistsCompletedEventHandler DirectoryExistsCompleted;
-
+
///
public event GetFileCompletedEventHandler GetFileCompleted;
-
+
///
public event GetFilesCompletedEventHandler GetFilesCompleted;
-
+
///
public event GetDirectoriesRecursiveCompletedEventHandler GetDirectoriesRecursiveCompleted;
-
+
///
public event GetFilesRecursiveCompletedEventHandler GetFilesRecursiveCompleted;
-
+
///
public event GetFilesRecursiveByPatternCompletedEventHandler GetFilesRecursiveByPatternCompleted;
-
+
///
public event GetFileBinaryContentCompletedEventHandler GetFileBinaryContentCompleted;
-
+
///
public event GetFileBinaryContentUsingEncodingCompletedEventHandler GetFileBinaryContentUsingEncodingCompleted;
-
+
///
public event GetFileBinaryChunkCompletedEventHandler GetFileBinaryChunkCompleted;
-
+
///
public event GetFileTextContentCompletedEventHandler GetFileTextContentCompleted;
-
+
///
public event CreateFileCompletedEventHandler CreateFileCompleted;
-
+
///
public event CreateDirectoryCompletedEventHandler CreateDirectoryCompleted;
-
+
///
public event ChangeFileAttributesCompletedEventHandler ChangeFileAttributesCompleted;
-
+
///
public event DeleteFileCompletedEventHandler DeleteFileCompleted;
-
+
///
public event DeleteFilesCompletedEventHandler DeleteFilesCompleted;
-
+
///
public event DeleteEmptyDirectoriesCompletedEventHandler DeleteEmptyDirectoriesCompleted;
-
+
///
public event UpdateFileBinaryContentCompletedEventHandler UpdateFileBinaryContentCompleted;
-
+
///
public event UpdateFileBinaryContentUsingEncodingCompletedEventHandler UpdateFileBinaryContentUsingEncodingCompleted;
-
+
///
public event AppendFileBinaryContentCompletedEventHandler AppendFileBinaryContentCompleted;
-
+
///
public event UpdateFileTextContentCompletedEventHandler UpdateFileTextContentCompleted;
-
+
///
public event MoveFileCompletedEventHandler MoveFileCompleted;
-
+
///
public event CopyFileCompletedEventHandler CopyFileCompleted;
-
+
///
public event ZipFilesCompletedEventHandler ZipFilesCompleted;
-
+
///
public event UnzipFilesCompletedEventHandler UnzipFilesCompleted;
-
+
///
public event CreateAccessDatabaseCompletedEventHandler CreateAccessDatabaseCompleted;
-
+
///
public event GetGroupNtfsPermissionsCompletedEventHandler GetGroupNtfsPermissionsCompleted;
-
+
///
public event GrantGroupNtfsPermissionsCompletedEventHandler GrantGroupNtfsPermissionsCompleted;
-
+
///
public event SetQuotaLimitOnFolderCompletedEventHandler SetQuotaLimitOnFolderCompleted;
-
+
///
- public event GetQuotaLimitOnFolderCompletedEventHandler GetQuotaLimitOnFolderCompleted;
-
+ public event GetQuotaOnFolderCompletedEventHandler GetQuotaOnFolderCompleted;
+
///
public event DeleteDirectoryRecursiveCompletedEventHandler DeleteDirectoryRecursiveCompleted;
-
+
///
public event CheckFileServicesInstallationCompletedEventHandler CheckFileServicesInstallationCompleted;
-
+
///
public event GetFolderGraphCompletedEventHandler GetFolderGraphCompleted;
-
+
///
public event ExecuteSyncActionsCompletedEventHandler ExecuteSyncActionsCompleted;
-
+
///
public event GetInstalledOdbcDriversCompletedEventHandler GetInstalledOdbcDriversCompleted;
-
+
///
public event GetDSNNamesCompletedEventHandler GetDSNNamesCompleted;
-
+
///
public event GetDSNCompletedEventHandler GetDSNCompleted;
-
+
///
public event CreateDSNCompletedEventHandler CreateDSNCompleted;
-
+
///
public event UpdateDSNCompletedEventHandler UpdateDSNCompleted;
-
+
///
public event DeleteDSNCompletedEventHandler DeleteDSNCompleted;
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreatePackageFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public string CreatePackageFolder(string initialPath)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreatePackageFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public string CreatePackageFolder(string initialPath) {
object[] results = this.Invoke("CreatePackageFolder", new object[] {
initialPath});
return ((string)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginCreatePackageFolder(string initialPath, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreatePackageFolder(string initialPath, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreatePackageFolder", new object[] {
initialPath}, callback, asyncState);
}
-
+
///
- public string EndCreatePackageFolder(System.IAsyncResult asyncResult)
- {
+ public string EndCreatePackageFolder(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
-
+
///
- public void CreatePackageFolderAsync(string initialPath)
- {
+ public void CreatePackageFolderAsync(string initialPath) {
this.CreatePackageFolderAsync(initialPath, null);
}
-
+
///
- public void CreatePackageFolderAsync(string initialPath, object userState)
- {
- if ((this.CreatePackageFolderOperationCompleted == null))
- {
+ public void CreatePackageFolderAsync(string initialPath, object userState) {
+ if ((this.CreatePackageFolderOperationCompleted == null)) {
this.CreatePackageFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreatePackageFolderOperationCompleted);
}
this.InvokeAsync("CreatePackageFolder", new object[] {
initialPath}, this.CreatePackageFolderOperationCompleted, userState);
}
-
- private void OnCreatePackageFolderOperationCompleted(object arg)
- {
- if ((this.CreatePackageFolderCompleted != null))
- {
+
+ private void OnCreatePackageFolderOperationCompleted(object arg) {
+ if ((this.CreatePackageFolderCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreatePackageFolderCompleted(this, new CreatePackageFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/FileExists", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool FileExists(string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/FileExists", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool FileExists(string path) {
object[] results = this.Invoke("FileExists", new object[] {
path});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginFileExists(string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginFileExists(string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FileExists", new object[] {
path}, callback, asyncState);
}
-
+
///
- public bool EndFileExists(System.IAsyncResult asyncResult)
- {
+ public bool EndFileExists(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void FileExistsAsync(string path)
- {
+ public void FileExistsAsync(string path) {
this.FileExistsAsync(path, null);
}
-
+
///
- public void FileExistsAsync(string path, object userState)
- {
- if ((this.FileExistsOperationCompleted == null))
- {
+ public void FileExistsAsync(string path, object userState) {
+ if ((this.FileExistsOperationCompleted == null)) {
this.FileExistsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFileExistsOperationCompleted);
}
this.InvokeAsync("FileExists", new object[] {
path}, this.FileExistsOperationCompleted, userState);
}
-
- private void OnFileExistsOperationCompleted(object arg)
- {
- if ((this.FileExistsCompleted != null))
- {
+
+ private void OnFileExistsOperationCompleted(object arg) {
+ if ((this.FileExistsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.FileExistsCompleted(this, new FileExistsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DirectoryExists", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool DirectoryExists(string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DirectoryExists", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool DirectoryExists(string path) {
object[] results = this.Invoke("DirectoryExists", new object[] {
path});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginDirectoryExists(string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDirectoryExists(string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DirectoryExists", new object[] {
path}, callback, asyncState);
}
-
+
///
- public bool EndDirectoryExists(System.IAsyncResult asyncResult)
- {
+ public bool EndDirectoryExists(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void DirectoryExistsAsync(string path)
- {
+ public void DirectoryExistsAsync(string path) {
this.DirectoryExistsAsync(path, null);
}
-
+
///
- public void DirectoryExistsAsync(string path, object userState)
- {
- if ((this.DirectoryExistsOperationCompleted == null))
- {
+ public void DirectoryExistsAsync(string path, object userState) {
+ if ((this.DirectoryExistsOperationCompleted == null)) {
this.DirectoryExistsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDirectoryExistsOperationCompleted);
}
this.InvokeAsync("DirectoryExists", new object[] {
path}, this.DirectoryExistsOperationCompleted, userState);
}
-
- private void OnDirectoryExistsOperationCompleted(object arg)
- {
- if ((this.DirectoryExistsCompleted != null))
- {
+
+ private void OnDirectoryExistsOperationCompleted(object arg) {
+ if ((this.DirectoryExistsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DirectoryExistsCompleted(this, new DirectoryExistsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFile", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public SystemFile GetFile(string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFile", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public SystemFile GetFile(string path) {
object[] results = this.Invoke("GetFile", new object[] {
path});
return ((SystemFile)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetFile(string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetFile(string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFile", new object[] {
path}, callback, asyncState);
}
-
+
///
- public SystemFile EndGetFile(System.IAsyncResult asyncResult)
- {
+ public SystemFile EndGetFile(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((SystemFile)(results[0]));
}
-
+
///
- public void GetFileAsync(string path)
- {
+ public void GetFileAsync(string path) {
this.GetFileAsync(path, null);
}
-
+
///
- public void GetFileAsync(string path, object userState)
- {
- if ((this.GetFileOperationCompleted == null))
- {
+ public void GetFileAsync(string path, object userState) {
+ if ((this.GetFileOperationCompleted == null)) {
this.GetFileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFileOperationCompleted);
}
this.InvokeAsync("GetFile", new object[] {
path}, this.GetFileOperationCompleted, userState);
}
-
- private void OnGetFileOperationCompleted(object arg)
- {
- if ((this.GetFileCompleted != null))
- {
+
+ private void OnGetFileOperationCompleted(object arg) {
+ if ((this.GetFileCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFileCompleted(this, new GetFileCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFiles", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public SystemFile[] GetFiles(string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFiles", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public SystemFile[] GetFiles(string path) {
object[] results = this.Invoke("GetFiles", new object[] {
path});
return ((SystemFile[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetFiles(string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetFiles(string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFiles", new object[] {
path}, callback, asyncState);
}
-
+
///
- public SystemFile[] EndGetFiles(System.IAsyncResult asyncResult)
- {
+ public SystemFile[] EndGetFiles(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((SystemFile[])(results[0]));
}
-
+
///
- public void GetFilesAsync(string path)
- {
+ public void GetFilesAsync(string path) {
this.GetFilesAsync(path, null);
}
-
+
///
- public void GetFilesAsync(string path, object userState)
- {
- if ((this.GetFilesOperationCompleted == null))
- {
+ public void GetFilesAsync(string path, object userState) {
+ if ((this.GetFilesOperationCompleted == null)) {
this.GetFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFilesOperationCompleted);
}
this.InvokeAsync("GetFiles", new object[] {
path}, this.GetFilesOperationCompleted, userState);
}
-
- private void OnGetFilesOperationCompleted(object arg)
- {
- if ((this.GetFilesCompleted != null))
- {
+
+ private void OnGetFilesOperationCompleted(object arg) {
+ if ((this.GetFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFilesCompleted(this, new GetFilesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetDirectoriesRecursive", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public SystemFile[] GetDirectoriesRecursive(string rootFolder, string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetDirectoriesRecursive", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public SystemFile[] GetDirectoriesRecursive(string rootFolder, string path) {
object[] results = this.Invoke("GetDirectoriesRecursive", new object[] {
rootFolder,
path});
return ((SystemFile[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetDirectoriesRecursive(string rootFolder, string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetDirectoriesRecursive(string rootFolder, string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetDirectoriesRecursive", new object[] {
rootFolder,
path}, callback, asyncState);
}
-
+
///
- public SystemFile[] EndGetDirectoriesRecursive(System.IAsyncResult asyncResult)
- {
+ public SystemFile[] EndGetDirectoriesRecursive(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((SystemFile[])(results[0]));
}
-
+
///
- public void GetDirectoriesRecursiveAsync(string rootFolder, string path)
- {
+ public void GetDirectoriesRecursiveAsync(string rootFolder, string path) {
this.GetDirectoriesRecursiveAsync(rootFolder, path, null);
}
-
+
///
- public void GetDirectoriesRecursiveAsync(string rootFolder, string path, object userState)
- {
- if ((this.GetDirectoriesRecursiveOperationCompleted == null))
- {
+ public void GetDirectoriesRecursiveAsync(string rootFolder, string path, object userState) {
+ if ((this.GetDirectoriesRecursiveOperationCompleted == null)) {
this.GetDirectoriesRecursiveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDirectoriesRecursiveOperationCompleted);
}
this.InvokeAsync("GetDirectoriesRecursive", new object[] {
rootFolder,
path}, this.GetDirectoriesRecursiveOperationCompleted, userState);
}
-
- private void OnGetDirectoriesRecursiveOperationCompleted(object arg)
- {
- if ((this.GetDirectoriesRecursiveCompleted != null))
- {
+
+ private void OnGetDirectoriesRecursiveOperationCompleted(object arg) {
+ if ((this.GetDirectoriesRecursiveCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetDirectoriesRecursiveCompleted(this, new GetDirectoriesRecursiveCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFilesRecursive", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public SystemFile[] GetFilesRecursive(string rootFolder, string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFilesRecursive", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public SystemFile[] GetFilesRecursive(string rootFolder, string path) {
object[] results = this.Invoke("GetFilesRecursive", new object[] {
rootFolder,
path});
return ((SystemFile[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetFilesRecursive(string rootFolder, string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetFilesRecursive(string rootFolder, string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFilesRecursive", new object[] {
rootFolder,
path}, callback, asyncState);
}
-
+
///
- public SystemFile[] EndGetFilesRecursive(System.IAsyncResult asyncResult)
- {
+ public SystemFile[] EndGetFilesRecursive(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((SystemFile[])(results[0]));
}
-
+
///
- public void GetFilesRecursiveAsync(string rootFolder, string path)
- {
+ public void GetFilesRecursiveAsync(string rootFolder, string path) {
this.GetFilesRecursiveAsync(rootFolder, path, null);
}
-
+
///
- public void GetFilesRecursiveAsync(string rootFolder, string path, object userState)
- {
- if ((this.GetFilesRecursiveOperationCompleted == null))
- {
+ public void GetFilesRecursiveAsync(string rootFolder, string path, object userState) {
+ if ((this.GetFilesRecursiveOperationCompleted == null)) {
this.GetFilesRecursiveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFilesRecursiveOperationCompleted);
}
this.InvokeAsync("GetFilesRecursive", new object[] {
rootFolder,
path}, this.GetFilesRecursiveOperationCompleted, userState);
}
-
- private void OnGetFilesRecursiveOperationCompleted(object arg)
- {
- if ((this.GetFilesRecursiveCompleted != null))
- {
+
+ private void OnGetFilesRecursiveOperationCompleted(object arg) {
+ if ((this.GetFilesRecursiveCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFilesRecursiveCompleted(this, new GetFilesRecursiveCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFilesRecursiveByPattern", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public SystemFile[] GetFilesRecursiveByPattern(string rootFolder, string path, string pattern)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFilesRecursiveByPattern", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public SystemFile[] GetFilesRecursiveByPattern(string rootFolder, string path, string pattern) {
object[] results = this.Invoke("GetFilesRecursiveByPattern", new object[] {
rootFolder,
path,
pattern});
return ((SystemFile[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetFilesRecursiveByPattern(string rootFolder, string path, string pattern, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetFilesRecursiveByPattern(string rootFolder, string path, string pattern, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFilesRecursiveByPattern", new object[] {
rootFolder,
path,
pattern}, callback, asyncState);
}
-
+
///
- public SystemFile[] EndGetFilesRecursiveByPattern(System.IAsyncResult asyncResult)
- {
+ public SystemFile[] EndGetFilesRecursiveByPattern(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((SystemFile[])(results[0]));
}
-
+
///
- public void GetFilesRecursiveByPatternAsync(string rootFolder, string path, string pattern)
- {
+ public void GetFilesRecursiveByPatternAsync(string rootFolder, string path, string pattern) {
this.GetFilesRecursiveByPatternAsync(rootFolder, path, pattern, null);
}
-
+
///
- public void GetFilesRecursiveByPatternAsync(string rootFolder, string path, string pattern, object userState)
- {
- if ((this.GetFilesRecursiveByPatternOperationCompleted == null))
- {
+ public void GetFilesRecursiveByPatternAsync(string rootFolder, string path, string pattern, object userState) {
+ if ((this.GetFilesRecursiveByPatternOperationCompleted == null)) {
this.GetFilesRecursiveByPatternOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFilesRecursiveByPatternOperationCompleted);
}
this.InvokeAsync("GetFilesRecursiveByPattern", new object[] {
@@ -645,161 +580,137 @@ namespace WebsitePanel.Providers.OS
path,
pattern}, this.GetFilesRecursiveByPatternOperationCompleted, userState);
}
-
- private void OnGetFilesRecursiveByPatternOperationCompleted(object arg)
- {
- if ((this.GetFilesRecursiveByPatternCompleted != null))
- {
+
+ private void OnGetFilesRecursiveByPatternOperationCompleted(object arg) {
+ if ((this.GetFilesRecursiveByPatternCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFilesRecursiveByPatternCompleted(this, new GetFilesRecursiveByPatternCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFileBinaryContent", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
- public byte[] GetFileBinaryContent(string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFileBinaryContent", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ [return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
+ public byte[] GetFileBinaryContent(string path) {
object[] results = this.Invoke("GetFileBinaryContent", new object[] {
path});
return ((byte[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetFileBinaryContent(string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetFileBinaryContent(string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFileBinaryContent", new object[] {
path}, callback, asyncState);
}
-
+
///
- public byte[] EndGetFileBinaryContent(System.IAsyncResult asyncResult)
- {
+ public byte[] EndGetFileBinaryContent(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((byte[])(results[0]));
}
-
+
///
- public void GetFileBinaryContentAsync(string path)
- {
+ public void GetFileBinaryContentAsync(string path) {
this.GetFileBinaryContentAsync(path, null);
}
-
+
///
- public void GetFileBinaryContentAsync(string path, object userState)
- {
- if ((this.GetFileBinaryContentOperationCompleted == null))
- {
+ public void GetFileBinaryContentAsync(string path, object userState) {
+ if ((this.GetFileBinaryContentOperationCompleted == null)) {
this.GetFileBinaryContentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFileBinaryContentOperationCompleted);
}
this.InvokeAsync("GetFileBinaryContent", new object[] {
path}, this.GetFileBinaryContentOperationCompleted, userState);
}
-
- private void OnGetFileBinaryContentOperationCompleted(object arg)
- {
- if ((this.GetFileBinaryContentCompleted != null))
- {
+
+ private void OnGetFileBinaryContentOperationCompleted(object arg) {
+ if ((this.GetFileBinaryContentCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFileBinaryContentCompleted(this, new GetFileBinaryContentCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFileBinaryContentUsingEncoding", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
- public byte[] GetFileBinaryContentUsingEncoding(string path, string encoding)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFileBinaryContentUsingEncoding", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ [return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
+ public byte[] GetFileBinaryContentUsingEncoding(string path, string encoding) {
object[] results = this.Invoke("GetFileBinaryContentUsingEncoding", new object[] {
path,
encoding});
return ((byte[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetFileBinaryContentUsingEncoding(string path, string encoding, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetFileBinaryContentUsingEncoding(string path, string encoding, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFileBinaryContentUsingEncoding", new object[] {
path,
encoding}, callback, asyncState);
}
-
+
///
- public byte[] EndGetFileBinaryContentUsingEncoding(System.IAsyncResult asyncResult)
- {
+ public byte[] EndGetFileBinaryContentUsingEncoding(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((byte[])(results[0]));
}
-
+
///
- public void GetFileBinaryContentUsingEncodingAsync(string path, string encoding)
- {
+ public void GetFileBinaryContentUsingEncodingAsync(string path, string encoding) {
this.GetFileBinaryContentUsingEncodingAsync(path, encoding, null);
}
-
+
///
- public void GetFileBinaryContentUsingEncodingAsync(string path, string encoding, object userState)
- {
- if ((this.GetFileBinaryContentUsingEncodingOperationCompleted == null))
- {
+ public void GetFileBinaryContentUsingEncodingAsync(string path, string encoding, object userState) {
+ if ((this.GetFileBinaryContentUsingEncodingOperationCompleted == null)) {
this.GetFileBinaryContentUsingEncodingOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFileBinaryContentUsingEncodingOperationCompleted);
}
this.InvokeAsync("GetFileBinaryContentUsingEncoding", new object[] {
path,
encoding}, this.GetFileBinaryContentUsingEncodingOperationCompleted, userState);
}
-
- private void OnGetFileBinaryContentUsingEncodingOperationCompleted(object arg)
- {
- if ((this.GetFileBinaryContentUsingEncodingCompleted != null))
- {
+
+ private void OnGetFileBinaryContentUsingEncodingOperationCompleted(object arg) {
+ if ((this.GetFileBinaryContentUsingEncodingCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFileBinaryContentUsingEncodingCompleted(this, new GetFileBinaryContentUsingEncodingCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFileBinaryChunk", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
- public byte[] GetFileBinaryChunk(string path, int offset, int length)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFileBinaryChunk", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ [return: System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
+ public byte[] GetFileBinaryChunk(string path, int offset, int length) {
object[] results = this.Invoke("GetFileBinaryChunk", new object[] {
path,
offset,
length});
return ((byte[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetFileBinaryChunk(string path, int offset, int length, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetFileBinaryChunk(string path, int offset, int length, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFileBinaryChunk", new object[] {
path,
offset,
length}, callback, asyncState);
}
-
+
///
- public byte[] EndGetFileBinaryChunk(System.IAsyncResult asyncResult)
- {
+ public byte[] EndGetFileBinaryChunk(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((byte[])(results[0]));
}
-
+
///
- public void GetFileBinaryChunkAsync(string path, int offset, int length)
- {
+ public void GetFileBinaryChunkAsync(string path, int offset, int length) {
this.GetFileBinaryChunkAsync(path, offset, length, null);
}
-
+
///
- public void GetFileBinaryChunkAsync(string path, int offset, int length, object userState)
- {
- if ((this.GetFileBinaryChunkOperationCompleted == null))
- {
+ public void GetFileBinaryChunkAsync(string path, int offset, int length, object userState) {
+ if ((this.GetFileBinaryChunkOperationCompleted == null)) {
this.GetFileBinaryChunkOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFileBinaryChunkOperationCompleted);
}
this.InvokeAsync("GetFileBinaryChunk", new object[] {
@@ -807,199 +718,167 @@ namespace WebsitePanel.Providers.OS
offset,
length}, this.GetFileBinaryChunkOperationCompleted, userState);
}
-
- private void OnGetFileBinaryChunkOperationCompleted(object arg)
- {
- if ((this.GetFileBinaryChunkCompleted != null))
- {
+
+ private void OnGetFileBinaryChunkOperationCompleted(object arg) {
+ if ((this.GetFileBinaryChunkCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFileBinaryChunkCompleted(this, new GetFileBinaryChunkCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFileTextContent", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public string GetFileTextContent(string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFileTextContent", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public string GetFileTextContent(string path) {
object[] results = this.Invoke("GetFileTextContent", new object[] {
path});
return ((string)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetFileTextContent(string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetFileTextContent(string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFileTextContent", new object[] {
path}, callback, asyncState);
}
-
+
///
- public string EndGetFileTextContent(System.IAsyncResult asyncResult)
- {
+ public string EndGetFileTextContent(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
-
+
///
- public void GetFileTextContentAsync(string path)
- {
+ public void GetFileTextContentAsync(string path) {
this.GetFileTextContentAsync(path, null);
}
-
+
///
- public void GetFileTextContentAsync(string path, object userState)
- {
- if ((this.GetFileTextContentOperationCompleted == null))
- {
+ public void GetFileTextContentAsync(string path, object userState) {
+ if ((this.GetFileTextContentOperationCompleted == null)) {
this.GetFileTextContentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFileTextContentOperationCompleted);
}
this.InvokeAsync("GetFileTextContent", new object[] {
path}, this.GetFileTextContentOperationCompleted, userState);
}
-
- private void OnGetFileTextContentOperationCompleted(object arg)
- {
- if ((this.GetFileTextContentCompleted != null))
- {
+
+ private void OnGetFileTextContentOperationCompleted(object arg) {
+ if ((this.GetFileTextContentCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFileTextContentCompleted(this, new GetFileTextContentCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateFile", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void CreateFile(string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateFile", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void CreateFile(string path) {
this.Invoke("CreateFile", new object[] {
path});
}
-
+
///
- public System.IAsyncResult BeginCreateFile(string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreateFile(string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateFile", new object[] {
path}, callback, asyncState);
}
-
+
///
- public void EndCreateFile(System.IAsyncResult asyncResult)
- {
+ public void EndCreateFile(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void CreateFileAsync(string path)
- {
+ public void CreateFileAsync(string path) {
this.CreateFileAsync(path, null);
}
-
+
///
- public void CreateFileAsync(string path, object userState)
- {
- if ((this.CreateFileOperationCompleted == null))
- {
+ public void CreateFileAsync(string path, object userState) {
+ if ((this.CreateFileOperationCompleted == null)) {
this.CreateFileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateFileOperationCompleted);
}
this.InvokeAsync("CreateFile", new object[] {
path}, this.CreateFileOperationCompleted, userState);
}
-
- private void OnCreateFileOperationCompleted(object arg)
- {
- if ((this.CreateFileCompleted != null))
- {
+
+ private void OnCreateFileOperationCompleted(object arg) {
+ if ((this.CreateFileCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateFileCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateDirectory", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void CreateDirectory(string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateDirectory", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void CreateDirectory(string path) {
this.Invoke("CreateDirectory", new object[] {
path});
}
-
+
///
- public System.IAsyncResult BeginCreateDirectory(string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreateDirectory(string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateDirectory", new object[] {
path}, callback, asyncState);
}
-
+
///
- public void EndCreateDirectory(System.IAsyncResult asyncResult)
- {
+ public void EndCreateDirectory(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void CreateDirectoryAsync(string path)
- {
+ public void CreateDirectoryAsync(string path) {
this.CreateDirectoryAsync(path, null);
}
-
+
///
- public void CreateDirectoryAsync(string path, object userState)
- {
- if ((this.CreateDirectoryOperationCompleted == null))
- {
+ public void CreateDirectoryAsync(string path, object userState) {
+ if ((this.CreateDirectoryOperationCompleted == null)) {
this.CreateDirectoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateDirectoryOperationCompleted);
}
this.InvokeAsync("CreateDirectory", new object[] {
path}, this.CreateDirectoryOperationCompleted, userState);
}
-
- private void OnCreateDirectoryOperationCompleted(object arg)
- {
- if ((this.CreateDirectoryCompleted != null))
- {
+
+ private void OnCreateDirectoryOperationCompleted(object arg) {
+ if ((this.CreateDirectoryCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateDirectoryCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeFileAttributes", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void ChangeFileAttributes(string path, System.DateTime createdTime, System.DateTime changedTime)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ChangeFileAttributes", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void ChangeFileAttributes(string path, System.DateTime createdTime, System.DateTime changedTime) {
this.Invoke("ChangeFileAttributes", new object[] {
path,
createdTime,
changedTime});
}
-
+
///
- public System.IAsyncResult BeginChangeFileAttributes(string path, System.DateTime createdTime, System.DateTime changedTime, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginChangeFileAttributes(string path, System.DateTime createdTime, System.DateTime changedTime, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ChangeFileAttributes", new object[] {
path,
createdTime,
changedTime}, callback, asyncState);
}
-
+
///
- public void EndChangeFileAttributes(System.IAsyncResult asyncResult)
- {
+ public void EndChangeFileAttributes(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void ChangeFileAttributesAsync(string path, System.DateTime createdTime, System.DateTime changedTime)
- {
+ public void ChangeFileAttributesAsync(string path, System.DateTime createdTime, System.DateTime changedTime) {
this.ChangeFileAttributesAsync(path, createdTime, changedTime, null);
}
-
+
///
- public void ChangeFileAttributesAsync(string path, System.DateTime createdTime, System.DateTime changedTime, object userState)
- {
- if ((this.ChangeFileAttributesOperationCompleted == null))
- {
+ public void ChangeFileAttributesAsync(string path, System.DateTime createdTime, System.DateTime changedTime, object userState) {
+ if ((this.ChangeFileAttributesOperationCompleted == null)) {
this.ChangeFileAttributesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeFileAttributesOperationCompleted);
}
this.InvokeAsync("ChangeFileAttributes", new object[] {
@@ -1007,248 +886,208 @@ namespace WebsitePanel.Providers.OS
createdTime,
changedTime}, this.ChangeFileAttributesOperationCompleted, userState);
}
-
- private void OnChangeFileAttributesOperationCompleted(object arg)
- {
- if ((this.ChangeFileAttributesCompleted != null))
- {
+
+ private void OnChangeFileAttributesOperationCompleted(object arg) {
+ if ((this.ChangeFileAttributesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ChangeFileAttributesCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteFile", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteFile(string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteFile", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteFile(string path) {
this.Invoke("DeleteFile", new object[] {
path});
}
-
+
///
- public System.IAsyncResult BeginDeleteFile(string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteFile(string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteFile", new object[] {
path}, callback, asyncState);
}
-
+
///
- public void EndDeleteFile(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteFile(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteFileAsync(string path)
- {
+ public void DeleteFileAsync(string path) {
this.DeleteFileAsync(path, null);
}
-
+
///
- public void DeleteFileAsync(string path, object userState)
- {
- if ((this.DeleteFileOperationCompleted == null))
- {
+ public void DeleteFileAsync(string path, object userState) {
+ if ((this.DeleteFileOperationCompleted == null)) {
this.DeleteFileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteFileOperationCompleted);
}
this.InvokeAsync("DeleteFile", new object[] {
path}, this.DeleteFileOperationCompleted, userState);
}
-
- private void OnDeleteFileOperationCompleted(object arg)
- {
- if ((this.DeleteFileCompleted != null))
- {
+
+ private void OnDeleteFileOperationCompleted(object arg) {
+ if ((this.DeleteFileCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteFileCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteFiles", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteFiles(string[] files)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteFiles", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteFiles(string[] files) {
this.Invoke("DeleteFiles", new object[] {
files});
}
-
+
///
- public System.IAsyncResult BeginDeleteFiles(string[] files, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteFiles(string[] files, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteFiles", new object[] {
files}, callback, asyncState);
}
-
+
///
- public void EndDeleteFiles(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteFiles(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteFilesAsync(string[] files)
- {
+ public void DeleteFilesAsync(string[] files) {
this.DeleteFilesAsync(files, null);
}
-
+
///
- public void DeleteFilesAsync(string[] files, object userState)
- {
- if ((this.DeleteFilesOperationCompleted == null))
- {
+ public void DeleteFilesAsync(string[] files, object userState) {
+ if ((this.DeleteFilesOperationCompleted == null)) {
this.DeleteFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteFilesOperationCompleted);
}
this.InvokeAsync("DeleteFiles", new object[] {
files}, this.DeleteFilesOperationCompleted, userState);
}
-
- private void OnDeleteFilesOperationCompleted(object arg)
- {
- if ((this.DeleteFilesCompleted != null))
- {
+
+ private void OnDeleteFilesOperationCompleted(object arg) {
+ if ((this.DeleteFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteFilesCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteEmptyDirectories", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteEmptyDirectories(string[] directories)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteEmptyDirectories", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteEmptyDirectories(string[] directories) {
this.Invoke("DeleteEmptyDirectories", new object[] {
directories});
}
-
+
///
- public System.IAsyncResult BeginDeleteEmptyDirectories(string[] directories, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteEmptyDirectories(string[] directories, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteEmptyDirectories", new object[] {
directories}, callback, asyncState);
}
-
+
///
- public void EndDeleteEmptyDirectories(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteEmptyDirectories(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteEmptyDirectoriesAsync(string[] directories)
- {
+ public void DeleteEmptyDirectoriesAsync(string[] directories) {
this.DeleteEmptyDirectoriesAsync(directories, null);
}
-
+
///
- public void DeleteEmptyDirectoriesAsync(string[] directories, object userState)
- {
- if ((this.DeleteEmptyDirectoriesOperationCompleted == null))
- {
+ public void DeleteEmptyDirectoriesAsync(string[] directories, object userState) {
+ if ((this.DeleteEmptyDirectoriesOperationCompleted == null)) {
this.DeleteEmptyDirectoriesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteEmptyDirectoriesOperationCompleted);
}
this.InvokeAsync("DeleteEmptyDirectories", new object[] {
directories}, this.DeleteEmptyDirectoriesOperationCompleted, userState);
}
-
- private void OnDeleteEmptyDirectoriesOperationCompleted(object arg)
- {
- if ((this.DeleteEmptyDirectoriesCompleted != null))
- {
+
+ private void OnDeleteEmptyDirectoriesOperationCompleted(object arg) {
+ if ((this.DeleteEmptyDirectoriesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteEmptyDirectoriesCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateFileBinaryContent", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void UpdateFileBinaryContent(string path, [System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")] byte[] content)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateFileBinaryContent", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void UpdateFileBinaryContent(string path, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] content) {
this.Invoke("UpdateFileBinaryContent", new object[] {
path,
content});
}
-
+
///
- public System.IAsyncResult BeginUpdateFileBinaryContent(string path, byte[] content, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginUpdateFileBinaryContent(string path, byte[] content, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UpdateFileBinaryContent", new object[] {
path,
content}, callback, asyncState);
}
-
+
///
- public void EndUpdateFileBinaryContent(System.IAsyncResult asyncResult)
- {
+ public void EndUpdateFileBinaryContent(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void UpdateFileBinaryContentAsync(string path, byte[] content)
- {
+ public void UpdateFileBinaryContentAsync(string path, byte[] content) {
this.UpdateFileBinaryContentAsync(path, content, null);
}
-
+
///
- public void UpdateFileBinaryContentAsync(string path, byte[] content, object userState)
- {
- if ((this.UpdateFileBinaryContentOperationCompleted == null))
- {
+ public void UpdateFileBinaryContentAsync(string path, byte[] content, object userState) {
+ if ((this.UpdateFileBinaryContentOperationCompleted == null)) {
this.UpdateFileBinaryContentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateFileBinaryContentOperationCompleted);
}
this.InvokeAsync("UpdateFileBinaryContent", new object[] {
path,
content}, this.UpdateFileBinaryContentOperationCompleted, userState);
}
-
- private void OnUpdateFileBinaryContentOperationCompleted(object arg)
- {
- if ((this.UpdateFileBinaryContentCompleted != null))
- {
+
+ private void OnUpdateFileBinaryContentOperationCompleted(object arg) {
+ if ((this.UpdateFileBinaryContentCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UpdateFileBinaryContentCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateFileBinaryContentUsingEncoding", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void UpdateFileBinaryContentUsingEncoding(string path, [System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")] byte[] content, string encoding)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateFileBinaryContentUsingEncoding", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void UpdateFileBinaryContentUsingEncoding(string path, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] content, string encoding) {
this.Invoke("UpdateFileBinaryContentUsingEncoding", new object[] {
path,
content,
encoding});
}
-
+
///
- public System.IAsyncResult BeginUpdateFileBinaryContentUsingEncoding(string path, byte[] content, string encoding, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginUpdateFileBinaryContentUsingEncoding(string path, byte[] content, string encoding, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UpdateFileBinaryContentUsingEncoding", new object[] {
path,
content,
encoding}, callback, asyncState);
}
-
+
///
- public void EndUpdateFileBinaryContentUsingEncoding(System.IAsyncResult asyncResult)
- {
+ public void EndUpdateFileBinaryContentUsingEncoding(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void UpdateFileBinaryContentUsingEncodingAsync(string path, byte[] content, string encoding)
- {
+ public void UpdateFileBinaryContentUsingEncodingAsync(string path, byte[] content, string encoding) {
this.UpdateFileBinaryContentUsingEncodingAsync(path, content, encoding, null);
}
-
+
///
- public void UpdateFileBinaryContentUsingEncodingAsync(string path, byte[] content, string encoding, object userState)
- {
- if ((this.UpdateFileBinaryContentUsingEncodingOperationCompleted == null))
- {
+ public void UpdateFileBinaryContentUsingEncodingAsync(string path, byte[] content, string encoding, object userState) {
+ if ((this.UpdateFileBinaryContentUsingEncodingOperationCompleted == null)) {
this.UpdateFileBinaryContentUsingEncodingOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateFileBinaryContentUsingEncodingOperationCompleted);
}
this.InvokeAsync("UpdateFileBinaryContentUsingEncoding", new object[] {
@@ -1256,257 +1095,217 @@ namespace WebsitePanel.Providers.OS
content,
encoding}, this.UpdateFileBinaryContentUsingEncodingOperationCompleted, userState);
}
-
- private void OnUpdateFileBinaryContentUsingEncodingOperationCompleted(object arg)
- {
- if ((this.UpdateFileBinaryContentUsingEncodingCompleted != null))
- {
+
+ private void OnUpdateFileBinaryContentUsingEncodingOperationCompleted(object arg) {
+ if ((this.UpdateFileBinaryContentUsingEncodingCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UpdateFileBinaryContentUsingEncodingCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AppendFileBinaryContent", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void AppendFileBinaryContent(string path, [System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")] byte[] chunk)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AppendFileBinaryContent", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void AppendFileBinaryContent(string path, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] chunk) {
this.Invoke("AppendFileBinaryContent", new object[] {
path,
chunk});
}
-
+
///
- public System.IAsyncResult BeginAppendFileBinaryContent(string path, byte[] chunk, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAppendFileBinaryContent(string path, byte[] chunk, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AppendFileBinaryContent", new object[] {
path,
chunk}, callback, asyncState);
}
-
+
///
- public void EndAppendFileBinaryContent(System.IAsyncResult asyncResult)
- {
+ public void EndAppendFileBinaryContent(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void AppendFileBinaryContentAsync(string path, byte[] chunk)
- {
+ public void AppendFileBinaryContentAsync(string path, byte[] chunk) {
this.AppendFileBinaryContentAsync(path, chunk, null);
}
-
+
///
- public void AppendFileBinaryContentAsync(string path, byte[] chunk, object userState)
- {
- if ((this.AppendFileBinaryContentOperationCompleted == null))
- {
+ public void AppendFileBinaryContentAsync(string path, byte[] chunk, object userState) {
+ if ((this.AppendFileBinaryContentOperationCompleted == null)) {
this.AppendFileBinaryContentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAppendFileBinaryContentOperationCompleted);
}
this.InvokeAsync("AppendFileBinaryContent", new object[] {
path,
chunk}, this.AppendFileBinaryContentOperationCompleted, userState);
}
-
- private void OnAppendFileBinaryContentOperationCompleted(object arg)
- {
- if ((this.AppendFileBinaryContentCompleted != null))
- {
+
+ private void OnAppendFileBinaryContentOperationCompleted(object arg) {
+ if ((this.AppendFileBinaryContentCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AppendFileBinaryContentCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateFileTextContent", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void UpdateFileTextContent(string path, string content)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateFileTextContent", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void UpdateFileTextContent(string path, string content) {
this.Invoke("UpdateFileTextContent", new object[] {
path,
content});
}
-
+
///
- public System.IAsyncResult BeginUpdateFileTextContent(string path, string content, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginUpdateFileTextContent(string path, string content, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UpdateFileTextContent", new object[] {
path,
content}, callback, asyncState);
}
-
+
///
- public void EndUpdateFileTextContent(System.IAsyncResult asyncResult)
- {
+ public void EndUpdateFileTextContent(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void UpdateFileTextContentAsync(string path, string content)
- {
+ public void UpdateFileTextContentAsync(string path, string content) {
this.UpdateFileTextContentAsync(path, content, null);
}
-
+
///
- public void UpdateFileTextContentAsync(string path, string content, object userState)
- {
- if ((this.UpdateFileTextContentOperationCompleted == null))
- {
+ public void UpdateFileTextContentAsync(string path, string content, object userState) {
+ if ((this.UpdateFileTextContentOperationCompleted == null)) {
this.UpdateFileTextContentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateFileTextContentOperationCompleted);
}
this.InvokeAsync("UpdateFileTextContent", new object[] {
path,
content}, this.UpdateFileTextContentOperationCompleted, userState);
}
-
- private void OnUpdateFileTextContentOperationCompleted(object arg)
- {
- if ((this.UpdateFileTextContentCompleted != null))
- {
+
+ private void OnUpdateFileTextContentOperationCompleted(object arg) {
+ if ((this.UpdateFileTextContentCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UpdateFileTextContentCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/MoveFile", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void MoveFile(string sourcePath, string destinationPath)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/MoveFile", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void MoveFile(string sourcePath, string destinationPath) {
this.Invoke("MoveFile", new object[] {
sourcePath,
destinationPath});
}
-
+
///
- public System.IAsyncResult BeginMoveFile(string sourcePath, string destinationPath, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginMoveFile(string sourcePath, string destinationPath, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("MoveFile", new object[] {
sourcePath,
destinationPath}, callback, asyncState);
}
-
+
///
- public void EndMoveFile(System.IAsyncResult asyncResult)
- {
+ public void EndMoveFile(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void MoveFileAsync(string sourcePath, string destinationPath)
- {
+ public void MoveFileAsync(string sourcePath, string destinationPath) {
this.MoveFileAsync(sourcePath, destinationPath, null);
}
-
+
///
- public void MoveFileAsync(string sourcePath, string destinationPath, object userState)
- {
- if ((this.MoveFileOperationCompleted == null))
- {
+ public void MoveFileAsync(string sourcePath, string destinationPath, object userState) {
+ if ((this.MoveFileOperationCompleted == null)) {
this.MoveFileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnMoveFileOperationCompleted);
}
this.InvokeAsync("MoveFile", new object[] {
sourcePath,
destinationPath}, this.MoveFileOperationCompleted, userState);
}
-
- private void OnMoveFileOperationCompleted(object arg)
- {
- if ((this.MoveFileCompleted != null))
- {
+
+ private void OnMoveFileOperationCompleted(object arg) {
+ if ((this.MoveFileCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.MoveFileCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CopyFile", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void CopyFile(string sourcePath, string destinationPath)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CopyFile", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void CopyFile(string sourcePath, string destinationPath) {
this.Invoke("CopyFile", new object[] {
sourcePath,
destinationPath});
}
-
+
///
- public System.IAsyncResult BeginCopyFile(string sourcePath, string destinationPath, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCopyFile(string sourcePath, string destinationPath, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CopyFile", new object[] {
sourcePath,
destinationPath}, callback, asyncState);
}
-
+
///
- public void EndCopyFile(System.IAsyncResult asyncResult)
- {
+ public void EndCopyFile(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void CopyFileAsync(string sourcePath, string destinationPath)
- {
+ public void CopyFileAsync(string sourcePath, string destinationPath) {
this.CopyFileAsync(sourcePath, destinationPath, null);
}
-
+
///
- public void CopyFileAsync(string sourcePath, string destinationPath, object userState)
- {
- if ((this.CopyFileOperationCompleted == null))
- {
+ public void CopyFileAsync(string sourcePath, string destinationPath, object userState) {
+ if ((this.CopyFileOperationCompleted == null)) {
this.CopyFileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCopyFileOperationCompleted);
}
this.InvokeAsync("CopyFile", new object[] {
sourcePath,
destinationPath}, this.CopyFileOperationCompleted, userState);
}
-
- private void OnCopyFileOperationCompleted(object arg)
- {
- if ((this.CopyFileCompleted != null))
- {
+
+ private void OnCopyFileOperationCompleted(object arg) {
+ if ((this.CopyFileCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CopyFileCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ZipFiles", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void ZipFiles(string zipFile, string rootPath, string[] files)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ZipFiles", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void ZipFiles(string zipFile, string rootPath, string[] files) {
this.Invoke("ZipFiles", new object[] {
zipFile,
rootPath,
files});
}
-
+
///
- public System.IAsyncResult BeginZipFiles(string zipFile, string rootPath, string[] files, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginZipFiles(string zipFile, string rootPath, string[] files, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ZipFiles", new object[] {
zipFile,
rootPath,
files}, callback, asyncState);
}
-
+
///
- public void EndZipFiles(System.IAsyncResult asyncResult)
- {
+ public void EndZipFiles(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void ZipFilesAsync(string zipFile, string rootPath, string[] files)
- {
+ public void ZipFilesAsync(string zipFile, string rootPath, string[] files) {
this.ZipFilesAsync(zipFile, rootPath, files, null);
}
-
+
///
- public void ZipFilesAsync(string zipFile, string rootPath, string[] files, object userState)
- {
- if ((this.ZipFilesOperationCompleted == null))
- {
+ public void ZipFilesAsync(string zipFile, string rootPath, string[] files, object userState) {
+ if ((this.ZipFilesOperationCompleted == null)) {
this.ZipFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnZipFilesOperationCompleted);
}
this.InvokeAsync("ZipFiles", new object[] {
@@ -1514,156 +1313,132 @@ namespace WebsitePanel.Providers.OS
rootPath,
files}, this.ZipFilesOperationCompleted, userState);
}
-
- private void OnZipFilesOperationCompleted(object arg)
- {
- if ((this.ZipFilesCompleted != null))
- {
+
+ private void OnZipFilesOperationCompleted(object arg) {
+ if ((this.ZipFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ZipFilesCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UnzipFiles", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public string[] UnzipFiles(string zipFile, string destFolder)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UnzipFiles", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public string[] UnzipFiles(string zipFile, string destFolder) {
object[] results = this.Invoke("UnzipFiles", new object[] {
zipFile,
destFolder});
return ((string[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginUnzipFiles(string zipFile, string destFolder, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginUnzipFiles(string zipFile, string destFolder, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UnzipFiles", new object[] {
zipFile,
destFolder}, callback, asyncState);
}
-
+
///
- public string[] EndUnzipFiles(System.IAsyncResult asyncResult)
- {
+ public string[] EndUnzipFiles(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string[])(results[0]));
}
-
+
///
- public void UnzipFilesAsync(string zipFile, string destFolder)
- {
+ public void UnzipFilesAsync(string zipFile, string destFolder) {
this.UnzipFilesAsync(zipFile, destFolder, null);
}
-
+
///
- public void UnzipFilesAsync(string zipFile, string destFolder, object userState)
- {
- if ((this.UnzipFilesOperationCompleted == null))
- {
+ public void UnzipFilesAsync(string zipFile, string destFolder, object userState) {
+ if ((this.UnzipFilesOperationCompleted == null)) {
this.UnzipFilesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUnzipFilesOperationCompleted);
}
this.InvokeAsync("UnzipFiles", new object[] {
zipFile,
destFolder}, this.UnzipFilesOperationCompleted, userState);
}
-
- private void OnUnzipFilesOperationCompleted(object arg)
- {
- if ((this.UnzipFilesCompleted != null))
- {
+
+ private void OnUnzipFilesOperationCompleted(object arg) {
+ if ((this.UnzipFilesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UnzipFilesCompleted(this, new UnzipFilesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateAccessDatabase", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void CreateAccessDatabase(string databasePath)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateAccessDatabase", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void CreateAccessDatabase(string databasePath) {
this.Invoke("CreateAccessDatabase", new object[] {
databasePath});
}
-
+
///
- public System.IAsyncResult BeginCreateAccessDatabase(string databasePath, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreateAccessDatabase(string databasePath, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateAccessDatabase", new object[] {
databasePath}, callback, asyncState);
}
-
+
///
- public void EndCreateAccessDatabase(System.IAsyncResult asyncResult)
- {
+ public void EndCreateAccessDatabase(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void CreateAccessDatabaseAsync(string databasePath)
- {
+ public void CreateAccessDatabaseAsync(string databasePath) {
this.CreateAccessDatabaseAsync(databasePath, null);
}
-
+
///
- public void CreateAccessDatabaseAsync(string databasePath, object userState)
- {
- if ((this.CreateAccessDatabaseOperationCompleted == null))
- {
+ public void CreateAccessDatabaseAsync(string databasePath, object userState) {
+ if ((this.CreateAccessDatabaseOperationCompleted == null)) {
this.CreateAccessDatabaseOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateAccessDatabaseOperationCompleted);
}
this.InvokeAsync("CreateAccessDatabase", new object[] {
databasePath}, this.CreateAccessDatabaseOperationCompleted, userState);
}
-
- private void OnCreateAccessDatabaseOperationCompleted(object arg)
- {
- if ((this.CreateAccessDatabaseCompleted != null))
- {
+
+ private void OnCreateAccessDatabaseOperationCompleted(object arg) {
+ if ((this.CreateAccessDatabaseCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateAccessDatabaseCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGroupNtfsPermissions", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public UserPermission[] GetGroupNtfsPermissions(string path, UserPermission[] users, string usersOU)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetGroupNtfsPermissions", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public UserPermission[] GetGroupNtfsPermissions(string path, UserPermission[] users, string usersOU) {
object[] results = this.Invoke("GetGroupNtfsPermissions", new object[] {
path,
users,
usersOU});
return ((UserPermission[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetGroupNtfsPermissions(string path, UserPermission[] users, string usersOU, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetGroupNtfsPermissions(string path, UserPermission[] users, string usersOU, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetGroupNtfsPermissions", new object[] {
path,
users,
usersOU}, callback, asyncState);
}
-
+
///
- public UserPermission[] EndGetGroupNtfsPermissions(System.IAsyncResult asyncResult)
- {
+ public UserPermission[] EndGetGroupNtfsPermissions(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((UserPermission[])(results[0]));
}
-
+
///
- public void GetGroupNtfsPermissionsAsync(string path, UserPermission[] users, string usersOU)
- {
+ public void GetGroupNtfsPermissionsAsync(string path, UserPermission[] users, string usersOU) {
this.GetGroupNtfsPermissionsAsync(path, users, usersOU, null);
}
-
+
///
- public void GetGroupNtfsPermissionsAsync(string path, UserPermission[] users, string usersOU, object userState)
- {
- if ((this.GetGroupNtfsPermissionsOperationCompleted == null))
- {
+ public void GetGroupNtfsPermissionsAsync(string path, UserPermission[] users, string usersOU, object userState) {
+ if ((this.GetGroupNtfsPermissionsOperationCompleted == null)) {
this.GetGroupNtfsPermissionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGroupNtfsPermissionsOperationCompleted);
}
this.InvokeAsync("GetGroupNtfsPermissions", new object[] {
@@ -1671,55 +1446,47 @@ namespace WebsitePanel.Providers.OS
users,
usersOU}, this.GetGroupNtfsPermissionsOperationCompleted, userState);
}
-
- private void OnGetGroupNtfsPermissionsOperationCompleted(object arg)
- {
- if ((this.GetGroupNtfsPermissionsCompleted != null))
- {
+
+ private void OnGetGroupNtfsPermissionsOperationCompleted(object arg) {
+ if ((this.GetGroupNtfsPermissionsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetGroupNtfsPermissionsCompleted(this, new GetGroupNtfsPermissionsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GrantGroupNtfsPermissions", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void GrantGroupNtfsPermissions(string path, UserPermission[] users, string usersOU, bool resetChildPermissions)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GrantGroupNtfsPermissions", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void GrantGroupNtfsPermissions(string path, UserPermission[] users, string usersOU, bool resetChildPermissions) {
this.Invoke("GrantGroupNtfsPermissions", new object[] {
path,
users,
usersOU,
resetChildPermissions});
}
-
+
///
- public System.IAsyncResult BeginGrantGroupNtfsPermissions(string path, UserPermission[] users, string usersOU, bool resetChildPermissions, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGrantGroupNtfsPermissions(string path, UserPermission[] users, string usersOU, bool resetChildPermissions, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GrantGroupNtfsPermissions", new object[] {
path,
users,
usersOU,
resetChildPermissions}, callback, asyncState);
}
-
+
///
- public void EndGrantGroupNtfsPermissions(System.IAsyncResult asyncResult)
- {
+ public void EndGrantGroupNtfsPermissions(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void GrantGroupNtfsPermissionsAsync(string path, UserPermission[] users, string usersOU, bool resetChildPermissions)
- {
+ public void GrantGroupNtfsPermissionsAsync(string path, UserPermission[] users, string usersOU, bool resetChildPermissions) {
this.GrantGroupNtfsPermissionsAsync(path, users, usersOU, resetChildPermissions, null);
}
-
+
///
- public void GrantGroupNtfsPermissionsAsync(string path, UserPermission[] users, string usersOU, bool resetChildPermissions, object userState)
- {
- if ((this.GrantGroupNtfsPermissionsOperationCompleted == null))
- {
+ public void GrantGroupNtfsPermissionsAsync(string path, UserPermission[] users, string usersOU, bool resetChildPermissions, object userState) {
+ if ((this.GrantGroupNtfsPermissionsOperationCompleted == null)) {
this.GrantGroupNtfsPermissionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGrantGroupNtfsPermissionsOperationCompleted);
}
this.InvokeAsync("GrantGroupNtfsPermissions", new object[] {
@@ -1728,21 +1495,18 @@ namespace WebsitePanel.Providers.OS
usersOU,
resetChildPermissions}, this.GrantGroupNtfsPermissionsOperationCompleted, userState);
}
-
- private void OnGrantGroupNtfsPermissionsOperationCompleted(object arg)
- {
- if ((this.GrantGroupNtfsPermissionsCompleted != null))
- {
+
+ private void OnGrantGroupNtfsPermissionsOperationCompleted(object arg) {
+ if ((this.GrantGroupNtfsPermissionsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GrantGroupNtfsPermissionsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetQuotaLimitOnFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void SetQuotaLimitOnFolder(string folderPath, string shareNameDrive, QuotaType quotaType, string quotaLimit, int mode, string wmiUserName, string wmiPassword)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetQuotaLimitOnFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void SetQuotaLimitOnFolder(string folderPath, string shareNameDrive, QuotaType quotaType, string quotaLimit, int mode, string wmiUserName, string wmiPassword) {
this.Invoke("SetQuotaLimitOnFolder", new object[] {
folderPath,
shareNameDrive,
@@ -1752,10 +1516,9 @@ namespace WebsitePanel.Providers.OS
wmiUserName,
wmiPassword});
}
-
+
///
- public System.IAsyncResult BeginSetQuotaLimitOnFolder(string folderPath, string shareNameDrive, QuotaType quotaType, string quotaLimit, int mode, string wmiUserName, string wmiPassword, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginSetQuotaLimitOnFolder(string folderPath, string shareNameDrive, QuotaType quotaType, string quotaLimit, int mode, string wmiUserName, string wmiPassword, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetQuotaLimitOnFolder", new object[] {
folderPath,
shareNameDrive,
@@ -1765,24 +1528,20 @@ namespace WebsitePanel.Providers.OS
wmiUserName,
wmiPassword}, callback, asyncState);
}
-
+
///
- public void EndSetQuotaLimitOnFolder(System.IAsyncResult asyncResult)
- {
+ public void EndSetQuotaLimitOnFolder(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void SetQuotaLimitOnFolderAsync(string folderPath, string shareNameDrive, QuotaType quotaType, string quotaLimit, int mode, string wmiUserName, string wmiPassword)
- {
+ public void SetQuotaLimitOnFolderAsync(string folderPath, string shareNameDrive, QuotaType quotaType, string quotaLimit, int mode, string wmiUserName, string wmiPassword) {
this.SetQuotaLimitOnFolderAsync(folderPath, shareNameDrive, quotaType, quotaLimit, mode, wmiUserName, wmiPassword, null);
}
-
+
///
- public void SetQuotaLimitOnFolderAsync(string folderPath, string shareNameDrive, QuotaType quotaType, string quotaLimit, int mode, string wmiUserName, string wmiPassword, object userState)
- {
- if ((this.SetQuotaLimitOnFolderOperationCompleted == null))
- {
+ public void SetQuotaLimitOnFolderAsync(string folderPath, string shareNameDrive, QuotaType quotaType, string quotaLimit, int mode, string wmiUserName, string wmiPassword, object userState) {
+ if ((this.SetQuotaLimitOnFolderOperationCompleted == null)) {
this.SetQuotaLimitOnFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetQuotaLimitOnFolderOperationCompleted);
}
this.InvokeAsync("SetQuotaLimitOnFolder", new object[] {
@@ -1794,1241 +1553,1070 @@ namespace WebsitePanel.Providers.OS
wmiUserName,
wmiPassword}, this.SetQuotaLimitOnFolderOperationCompleted, userState);
}
-
- private void OnSetQuotaLimitOnFolderOperationCompleted(object arg)
- {
- if ((this.SetQuotaLimitOnFolderCompleted != null))
- {
+
+ private void OnSetQuotaLimitOnFolderOperationCompleted(object arg) {
+ if ((this.SetQuotaLimitOnFolderCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetQuotaLimitOnFolderCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetQuotaLimitOnFolder", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public int GetQuotaLimitOnFolder(string folderPath, string wmiUserName, string wmiPassword)
- {
- object[] results = this.Invoke("GetQuotaLimitOnFolder", new object[] {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetQuotaOnFolder", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public Quota GetQuotaOnFolder(string folderPath, string wmiUserName, string wmiPassword) {
+ object[] results = this.Invoke("GetQuotaOnFolder", new object[] {
folderPath,
wmiUserName,
wmiPassword});
- return ((int)(results[0]));
+ return ((Quota)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetQuotaLimitOnFolder(string folderPath, string wmiUserName, string wmiPassword, System.AsyncCallback callback, object asyncState)
- {
- return this.BeginInvoke("GetQuotaLimitOnFolder", new object[] {
+ public System.IAsyncResult BeginGetQuotaOnFolder(string folderPath, string wmiUserName, string wmiPassword, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("GetQuotaOnFolder", new object[] {
folderPath,
wmiUserName,
wmiPassword}, callback, asyncState);
}
-
+
///
- public int EndGetQuotaLimitOnFolder(System.IAsyncResult asyncResult)
- {
+ public Quota EndGetQuotaOnFolder(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
- return ((int)(results[0]));
+ return ((Quota)(results[0]));
}
-
+
///
- public void GetQuotaLimitOnFolderAsync(string folderPath, string wmiUserName, string wmiPassword)
- {
- this.GetQuotaLimitOnFolderAsync(folderPath, wmiUserName, wmiPassword, null);
+ public void GetQuotaOnFolderAsync(string folderPath, string wmiUserName, string wmiPassword) {
+ this.GetQuotaOnFolderAsync(folderPath, wmiUserName, wmiPassword, null);
}
-
+
///
- public void GetQuotaLimitOnFolderAsync(string folderPath, string wmiUserName, string wmiPassword, object userState)
- {
- if ((this.GetQuotaLimitOnFolderOperationCompleted == null))
- {
- this.GetQuotaLimitOnFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetQuotaLimitOnFolderOperationCompleted);
+ public void GetQuotaOnFolderAsync(string folderPath, string wmiUserName, string wmiPassword, object userState) {
+ if ((this.GetQuotaOnFolderOperationCompleted == null)) {
+ this.GetQuotaOnFolderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetQuotaOnFolderOperationCompleted);
}
- this.InvokeAsync("GetQuotaLimitOnFolder", new object[] {
+ this.InvokeAsync("GetQuotaOnFolder", new object[] {
folderPath,
wmiUserName,
- wmiPassword}, this.GetQuotaLimitOnFolderOperationCompleted, userState);
+ wmiPassword}, this.GetQuotaOnFolderOperationCompleted, userState);
}
-
- private void OnGetQuotaLimitOnFolderOperationCompleted(object arg)
- {
- if ((this.GetQuotaLimitOnFolderCompleted != null))
- {
+
+ private void OnGetQuotaOnFolderOperationCompleted(object arg) {
+ if ((this.GetQuotaOnFolderCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
- this.GetQuotaLimitOnFolderCompleted(this, new GetQuotaLimitOnFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ this.GetQuotaOnFolderCompleted(this, new GetQuotaOnFolderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteDirectoryRecursive", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteDirectoryRecursive(string rootPath)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteDirectoryRecursive", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteDirectoryRecursive(string rootPath) {
this.Invoke("DeleteDirectoryRecursive", new object[] {
rootPath});
}
-
+
///
- public System.IAsyncResult BeginDeleteDirectoryRecursive(string rootPath, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteDirectoryRecursive(string rootPath, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteDirectoryRecursive", new object[] {
rootPath}, callback, asyncState);
}
-
+
///
- public void EndDeleteDirectoryRecursive(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteDirectoryRecursive(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteDirectoryRecursiveAsync(string rootPath)
- {
+ public void DeleteDirectoryRecursiveAsync(string rootPath) {
this.DeleteDirectoryRecursiveAsync(rootPath, null);
}
-
+
///
- public void DeleteDirectoryRecursiveAsync(string rootPath, object userState)
- {
- if ((this.DeleteDirectoryRecursiveOperationCompleted == null))
- {
+ public void DeleteDirectoryRecursiveAsync(string rootPath, object userState) {
+ if ((this.DeleteDirectoryRecursiveOperationCompleted == null)) {
this.DeleteDirectoryRecursiveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteDirectoryRecursiveOperationCompleted);
}
this.InvokeAsync("DeleteDirectoryRecursive", new object[] {
rootPath}, this.DeleteDirectoryRecursiveOperationCompleted, userState);
}
-
- private void OnDeleteDirectoryRecursiveOperationCompleted(object arg)
- {
- if ((this.DeleteDirectoryRecursiveCompleted != null))
- {
+
+ private void OnDeleteDirectoryRecursiveOperationCompleted(object arg) {
+ if ((this.DeleteDirectoryRecursiveCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteDirectoryRecursiveCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckFileServicesInstallation", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool CheckFileServicesInstallation()
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckFileServicesInstallation", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool CheckFileServicesInstallation() {
object[] results = this.Invoke("CheckFileServicesInstallation", new object[0]);
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginCheckFileServicesInstallation(System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCheckFileServicesInstallation(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CheckFileServicesInstallation", new object[0], callback, asyncState);
}
-
+
///
- public bool EndCheckFileServicesInstallation(System.IAsyncResult asyncResult)
- {
+ public bool EndCheckFileServicesInstallation(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void CheckFileServicesInstallationAsync()
- {
+ public void CheckFileServicesInstallationAsync() {
this.CheckFileServicesInstallationAsync(null);
}
-
+
///
- public void CheckFileServicesInstallationAsync(object userState)
- {
- if ((this.CheckFileServicesInstallationOperationCompleted == null))
- {
+ public void CheckFileServicesInstallationAsync(object userState) {
+ if ((this.CheckFileServicesInstallationOperationCompleted == null)) {
this.CheckFileServicesInstallationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckFileServicesInstallationOperationCompleted);
}
this.InvokeAsync("CheckFileServicesInstallation", new object[0], this.CheckFileServicesInstallationOperationCompleted, userState);
}
-
- private void OnCheckFileServicesInstallationOperationCompleted(object arg)
- {
- if ((this.CheckFileServicesInstallationCompleted != null))
- {
+
+ private void OnCheckFileServicesInstallationOperationCompleted(object arg) {
+ if ((this.CheckFileServicesInstallationCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CheckFileServicesInstallationCompleted(this, new CheckFileServicesInstallationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolderGraph", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public FolderGraph GetFolderGraph(string path)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetFolderGraph", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public FolderGraph GetFolderGraph(string path) {
object[] results = this.Invoke("GetFolderGraph", new object[] {
path});
return ((FolderGraph)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetFolderGraph(string path, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetFolderGraph(string path, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFolderGraph", new object[] {
path}, callback, asyncState);
}
-
+
///
- public FolderGraph EndGetFolderGraph(System.IAsyncResult asyncResult)
- {
+ public FolderGraph EndGetFolderGraph(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FolderGraph)(results[0]));
}
-
+
///
- public void GetFolderGraphAsync(string path)
- {
+ public void GetFolderGraphAsync(string path) {
this.GetFolderGraphAsync(path, null);
}
-
+
///
- public void GetFolderGraphAsync(string path, object userState)
- {
- if ((this.GetFolderGraphOperationCompleted == null))
- {
+ public void GetFolderGraphAsync(string path, object userState) {
+ if ((this.GetFolderGraphOperationCompleted == null)) {
this.GetFolderGraphOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFolderGraphOperationCompleted);
}
this.InvokeAsync("GetFolderGraph", new object[] {
path}, this.GetFolderGraphOperationCompleted, userState);
}
-
- private void OnGetFolderGraphOperationCompleted(object arg)
- {
- if ((this.GetFolderGraphCompleted != null))
- {
+
+ private void OnGetFolderGraphOperationCompleted(object arg) {
+ if ((this.GetFolderGraphCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetFolderGraphCompleted(this, new GetFolderGraphCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ExecuteSyncActions", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void ExecuteSyncActions(FileSyncAction[] actions)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/ExecuteSyncActions", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void ExecuteSyncActions(FileSyncAction[] actions) {
this.Invoke("ExecuteSyncActions", new object[] {
actions});
}
-
+
///
- public System.IAsyncResult BeginExecuteSyncActions(FileSyncAction[] actions, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginExecuteSyncActions(FileSyncAction[] actions, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ExecuteSyncActions", new object[] {
actions}, callback, asyncState);
}
-
+
///
- public void EndExecuteSyncActions(System.IAsyncResult asyncResult)
- {
+ public void EndExecuteSyncActions(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void ExecuteSyncActionsAsync(FileSyncAction[] actions)
- {
+ public void ExecuteSyncActionsAsync(FileSyncAction[] actions) {
this.ExecuteSyncActionsAsync(actions, null);
}
-
+
///
- public void ExecuteSyncActionsAsync(FileSyncAction[] actions, object userState)
- {
- if ((this.ExecuteSyncActionsOperationCompleted == null))
- {
+ public void ExecuteSyncActionsAsync(FileSyncAction[] actions, object userState) {
+ if ((this.ExecuteSyncActionsOperationCompleted == null)) {
this.ExecuteSyncActionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnExecuteSyncActionsOperationCompleted);
}
this.InvokeAsync("ExecuteSyncActions", new object[] {
actions}, this.ExecuteSyncActionsOperationCompleted, userState);
}
-
- private void OnExecuteSyncActionsOperationCompleted(object arg)
- {
- if ((this.ExecuteSyncActionsCompleted != null))
- {
+
+ private void OnExecuteSyncActionsOperationCompleted(object arg) {
+ if ((this.ExecuteSyncActionsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ExecuteSyncActionsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetInstalledOdbcDrivers", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public string[] GetInstalledOdbcDrivers()
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetInstalledOdbcDrivers", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public string[] GetInstalledOdbcDrivers() {
object[] results = this.Invoke("GetInstalledOdbcDrivers", new object[0]);
return ((string[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetInstalledOdbcDrivers(System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetInstalledOdbcDrivers(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetInstalledOdbcDrivers", new object[0], callback, asyncState);
}
-
+
///
- public string[] EndGetInstalledOdbcDrivers(System.IAsyncResult asyncResult)
- {
+ public string[] EndGetInstalledOdbcDrivers(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string[])(results[0]));
}
-
+
///
- public void GetInstalledOdbcDriversAsync()
- {
+ public void GetInstalledOdbcDriversAsync() {
this.GetInstalledOdbcDriversAsync(null);
}
-
+
///
- public void GetInstalledOdbcDriversAsync(object userState)
- {
- if ((this.GetInstalledOdbcDriversOperationCompleted == null))
- {
+ public void GetInstalledOdbcDriversAsync(object userState) {
+ if ((this.GetInstalledOdbcDriversOperationCompleted == null)) {
this.GetInstalledOdbcDriversOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetInstalledOdbcDriversOperationCompleted);
}
this.InvokeAsync("GetInstalledOdbcDrivers", new object[0], this.GetInstalledOdbcDriversOperationCompleted, userState);
}
-
- private void OnGetInstalledOdbcDriversOperationCompleted(object arg)
- {
- if ((this.GetInstalledOdbcDriversCompleted != null))
- {
+
+ private void OnGetInstalledOdbcDriversOperationCompleted(object arg) {
+ if ((this.GetInstalledOdbcDriversCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetInstalledOdbcDriversCompleted(this, new GetInstalledOdbcDriversCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetDSNNames", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public string[] GetDSNNames()
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetDSNNames", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public string[] GetDSNNames() {
object[] results = this.Invoke("GetDSNNames", new object[0]);
return ((string[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetDSNNames(System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetDSNNames(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetDSNNames", new object[0], callback, asyncState);
}
-
+
///
- public string[] EndGetDSNNames(System.IAsyncResult asyncResult)
- {
+ public string[] EndGetDSNNames(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string[])(results[0]));
}
-
+
///
- public void GetDSNNamesAsync()
- {
+ public void GetDSNNamesAsync() {
this.GetDSNNamesAsync(null);
}
-
+
///
- public void GetDSNNamesAsync(object userState)
- {
- if ((this.GetDSNNamesOperationCompleted == null))
- {
+ public void GetDSNNamesAsync(object userState) {
+ if ((this.GetDSNNamesOperationCompleted == null)) {
this.GetDSNNamesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDSNNamesOperationCompleted);
}
this.InvokeAsync("GetDSNNames", new object[0], this.GetDSNNamesOperationCompleted, userState);
}
-
- private void OnGetDSNNamesOperationCompleted(object arg)
- {
- if ((this.GetDSNNamesCompleted != null))
- {
+
+ private void OnGetDSNNamesOperationCompleted(object arg) {
+ if ((this.GetDSNNamesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetDSNNamesCompleted(this, new GetDSNNamesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetDSN", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public SystemDSN GetDSN(string dsnName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetDSN", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public SystemDSN GetDSN(string dsnName) {
object[] results = this.Invoke("GetDSN", new object[] {
dsnName});
return ((SystemDSN)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetDSN(string dsnName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetDSN(string dsnName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetDSN", new object[] {
dsnName}, callback, asyncState);
}
-
+
///
- public SystemDSN EndGetDSN(System.IAsyncResult asyncResult)
- {
+ public SystemDSN EndGetDSN(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((SystemDSN)(results[0]));
}
-
+
///
- public void GetDSNAsync(string dsnName)
- {
+ public void GetDSNAsync(string dsnName) {
this.GetDSNAsync(dsnName, null);
}
-
+
///
- public void GetDSNAsync(string dsnName, object userState)
- {
- if ((this.GetDSNOperationCompleted == null))
- {
+ public void GetDSNAsync(string dsnName, object userState) {
+ if ((this.GetDSNOperationCompleted == null)) {
this.GetDSNOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDSNOperationCompleted);
}
this.InvokeAsync("GetDSN", new object[] {
dsnName}, this.GetDSNOperationCompleted, userState);
}
-
- private void OnGetDSNOperationCompleted(object arg)
- {
- if ((this.GetDSNCompleted != null))
- {
+
+ private void OnGetDSNOperationCompleted(object arg) {
+ if ((this.GetDSNCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetDSNCompleted(this, new GetDSNCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateDSN", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void CreateDSN(SystemDSN dsn)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateDSN", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void CreateDSN(SystemDSN dsn) {
this.Invoke("CreateDSN", new object[] {
dsn});
}
-
+
///
- public System.IAsyncResult BeginCreateDSN(SystemDSN dsn, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreateDSN(SystemDSN dsn, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateDSN", new object[] {
dsn}, callback, asyncState);
}
-
+
///
- public void EndCreateDSN(System.IAsyncResult asyncResult)
- {
+ public void EndCreateDSN(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void CreateDSNAsync(SystemDSN dsn)
- {
+ public void CreateDSNAsync(SystemDSN dsn) {
this.CreateDSNAsync(dsn, null);
}
-
+
///
- public void CreateDSNAsync(SystemDSN dsn, object userState)
- {
- if ((this.CreateDSNOperationCompleted == null))
- {
+ public void CreateDSNAsync(SystemDSN dsn, object userState) {
+ if ((this.CreateDSNOperationCompleted == null)) {
this.CreateDSNOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateDSNOperationCompleted);
}
this.InvokeAsync("CreateDSN", new object[] {
dsn}, this.CreateDSNOperationCompleted, userState);
}
-
- private void OnCreateDSNOperationCompleted(object arg)
- {
- if ((this.CreateDSNCompleted != null))
- {
+
+ private void OnCreateDSNOperationCompleted(object arg) {
+ if ((this.CreateDSNCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateDSNCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateDSN", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void UpdateDSN(SystemDSN dsn)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/UpdateDSN", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void UpdateDSN(SystemDSN dsn) {
this.Invoke("UpdateDSN", new object[] {
dsn});
}
-
+
///
- public System.IAsyncResult BeginUpdateDSN(SystemDSN dsn, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginUpdateDSN(SystemDSN dsn, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UpdateDSN", new object[] {
dsn}, callback, asyncState);
}
-
+
///
- public void EndUpdateDSN(System.IAsyncResult asyncResult)
- {
+ public void EndUpdateDSN(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void UpdateDSNAsync(SystemDSN dsn)
- {
+ public void UpdateDSNAsync(SystemDSN dsn) {
this.UpdateDSNAsync(dsn, null);
}
-
+
///
- public void UpdateDSNAsync(SystemDSN dsn, object userState)
- {
- if ((this.UpdateDSNOperationCompleted == null))
- {
+ public void UpdateDSNAsync(SystemDSN dsn, object userState) {
+ if ((this.UpdateDSNOperationCompleted == null)) {
this.UpdateDSNOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateDSNOperationCompleted);
}
this.InvokeAsync("UpdateDSN", new object[] {
dsn}, this.UpdateDSNOperationCompleted, userState);
}
-
- private void OnUpdateDSNOperationCompleted(object arg)
- {
- if ((this.UpdateDSNCompleted != null))
- {
+
+ private void OnUpdateDSNOperationCompleted(object arg) {
+ if ((this.UpdateDSNCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UpdateDSNCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteDSN", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void DeleteDSN(string dsnName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/DeleteDSN", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void DeleteDSN(string dsnName) {
this.Invoke("DeleteDSN", new object[] {
dsnName});
}
-
+
///
- public System.IAsyncResult BeginDeleteDSN(string dsnName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginDeleteDSN(string dsnName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteDSN", new object[] {
dsnName}, callback, asyncState);
}
-
+
///
- public void EndDeleteDSN(System.IAsyncResult asyncResult)
- {
+ public void EndDeleteDSN(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void DeleteDSNAsync(string dsnName)
- {
+ public void DeleteDSNAsync(string dsnName) {
this.DeleteDSNAsync(dsnName, null);
}
-
+
///
- public void DeleteDSNAsync(string dsnName, object userState)
- {
- if ((this.DeleteDSNOperationCompleted == null))
- {
+ public void DeleteDSNAsync(string dsnName, object userState) {
+ if ((this.DeleteDSNOperationCompleted == null)) {
this.DeleteDSNOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteDSNOperationCompleted);
}
this.InvokeAsync("DeleteDSN", new object[] {
dsnName}, this.DeleteDSNOperationCompleted, userState);
}
-
- private void OnDeleteDSNOperationCompleted(object arg)
- {
- if ((this.DeleteDSNCompleted != null))
- {
+
+ private void OnDeleteDSNOperationCompleted(object arg) {
+ if ((this.DeleteDSNCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DeleteDSNCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- public new void CancelAsync(object userState)
- {
+ public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreatePackageFolderCompletedEventHandler(object sender, CreatePackageFolderCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class CreatePackageFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class CreatePackageFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal CreatePackageFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal CreatePackageFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public string Result
- {
- get
- {
+ public string Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void FileExistsCompletedEventHandler(object sender, FileExistsCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class FileExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class FileExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal FileExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal FileExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DirectoryExistsCompletedEventHandler(object sender, DirectoryExistsCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class DirectoryExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class DirectoryExistsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal DirectoryExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal DirectoryExistsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetFileCompletedEventHandler(object sender, GetFileCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetFileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetFileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetFileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetFileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public SystemFile Result
- {
- get
- {
+ public SystemFile Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((SystemFile)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetFilesCompletedEventHandler(object sender, GetFilesCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public SystemFile[] Result
- {
- get
- {
+ public SystemFile[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((SystemFile[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDirectoriesRecursiveCompletedEventHandler(object sender, GetDirectoriesRecursiveCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetDirectoriesRecursiveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetDirectoriesRecursiveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetDirectoriesRecursiveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetDirectoriesRecursiveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public SystemFile[] Result
- {
- get
- {
+ public SystemFile[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((SystemFile[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetFilesRecursiveCompletedEventHandler(object sender, GetFilesRecursiveCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetFilesRecursiveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetFilesRecursiveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetFilesRecursiveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetFilesRecursiveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public SystemFile[] Result
- {
- get
- {
+ public SystemFile[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((SystemFile[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetFilesRecursiveByPatternCompletedEventHandler(object sender, GetFilesRecursiveByPatternCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetFilesRecursiveByPatternCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetFilesRecursiveByPatternCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetFilesRecursiveByPatternCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetFilesRecursiveByPatternCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public SystemFile[] Result
- {
- get
- {
+ public SystemFile[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((SystemFile[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetFileBinaryContentCompletedEventHandler(object sender, GetFileBinaryContentCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetFileBinaryContentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetFileBinaryContentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetFileBinaryContentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetFileBinaryContentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public byte[] Result
- {
- get
- {
+ public byte[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((byte[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetFileBinaryContentUsingEncodingCompletedEventHandler(object sender, GetFileBinaryContentUsingEncodingCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetFileBinaryContentUsingEncodingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetFileBinaryContentUsingEncodingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetFileBinaryContentUsingEncodingCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetFileBinaryContentUsingEncodingCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public byte[] Result
- {
- get
- {
+ public byte[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((byte[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetFileBinaryChunkCompletedEventHandler(object sender, GetFileBinaryChunkCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetFileBinaryChunkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetFileBinaryChunkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetFileBinaryChunkCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetFileBinaryChunkCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public byte[] Result
- {
- get
- {
+ public byte[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((byte[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetFileTextContentCompletedEventHandler(object sender, GetFileTextContentCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetFileTextContentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetFileTextContentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetFileTextContentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetFileTextContentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public string Result
- {
- get
- {
+ public string Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateFileCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateDirectoryCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void ChangeFileAttributesCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteFileCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteFilesCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteEmptyDirectoriesCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateFileBinaryContentCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateFileBinaryContentUsingEncodingCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AppendFileBinaryContentCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateFileTextContentCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void MoveFileCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CopyFileCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void ZipFilesCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UnzipFilesCompletedEventHandler(object sender, UnzipFilesCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class UnzipFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class UnzipFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal UnzipFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal UnzipFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public string[] Result
- {
- get
- {
+ public string[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateAccessDatabaseCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetGroupNtfsPermissionsCompletedEventHandler(object sender, GetGroupNtfsPermissionsCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetGroupNtfsPermissionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetGroupNtfsPermissionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetGroupNtfsPermissionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetGroupNtfsPermissionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public UserPermission[] Result
- {
- get
- {
+ public UserPermission[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((UserPermission[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GrantGroupNtfsPermissionsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void SetQuotaLimitOnFolderCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
- public delegate void GetQuotaLimitOnFolderCompletedEventHandler(object sender, GetQuotaLimitOnFolderCompletedEventArgs e);
-
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void GetQuotaOnFolderCompletedEventHandler(object sender, GetQuotaOnFolderCompletedEventArgs e);
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetQuotaLimitOnFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetQuotaOnFolderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetQuotaLimitOnFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetQuotaOnFolderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public int Result
- {
- get
- {
+ public Quota Result {
+ get {
this.RaiseExceptionIfNecessary();
- return ((int)(this.results[0]));
+ return ((Quota)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteDirectoryRecursiveCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CheckFileServicesInstallationCompletedEventHandler(object sender, CheckFileServicesInstallationCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class CheckFileServicesInstallationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class CheckFileServicesInstallationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal CheckFileServicesInstallationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal CheckFileServicesInstallationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetFolderGraphCompletedEventHandler(object sender, GetFolderGraphCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetFolderGraphCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetFolderGraphCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetFolderGraphCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetFolderGraphCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public FolderGraph Result
- {
- get
- {
+ public FolderGraph Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((FolderGraph)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void ExecuteSyncActionsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetInstalledOdbcDriversCompletedEventHandler(object sender, GetInstalledOdbcDriversCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetInstalledOdbcDriversCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetInstalledOdbcDriversCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetInstalledOdbcDriversCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetInstalledOdbcDriversCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public string[] Result
- {
- get
- {
+ public string[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDSNNamesCompletedEventHandler(object sender, GetDSNNamesCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetDSNNamesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetDSNNamesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetDSNNamesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetDSNNamesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public string[] Result
- {
- get
- {
+ public string[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((string[])(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetDSNCompletedEventHandler(object sender, GetDSNCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetDSNCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetDSNCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetDSNCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetDSNCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public SystemDSN Result
- {
- get
- {
+ public SystemDSN Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((SystemDSN)(this.results[0]));
}
}
}
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateDSNCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void UpdateDSNCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void DeleteDSNCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Server.Client/RemoteDesktopServicesProxy.cs b/WebsitePanel/Sources/WebsitePanel.Server.Client/RemoteDesktopServicesProxy.cs
index 699cb445..79bd1a40 100644
--- a/WebsitePanel/Sources/WebsitePanel.Server.Client/RemoteDesktopServicesProxy.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Server.Client/RemoteDesktopServicesProxy.cs
@@ -1,35 +1,7 @@
-// Copyright (c) 2014, 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.6400
+// Runtime Version:2.0.50727.7905
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -39,1330 +11,1502 @@
//
// This source code was auto-generated by wsdl, Version=2.0.50727.3038.
//
-
-using WebsitePanel.Providers.HostedSolution;
-
namespace WebsitePanel.Providers.RemoteDesktopServices {
- using System;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Web.Services;
- using System.Web.Services.Protocols;
using System.Xml.Serialization;
-
+ using System.Web.Services;
+ using System.ComponentModel;
+ using System.Web.Services.Protocols;
+ using System;
+ using System.Diagnostics;
+
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Web.Services.WebServiceBindingAttribute(Name = "RemoteDesktopServicesSoap", Namespace = "http://smbsaas/websitepanel/server/")]
- public partial class RemoteDesktopServices : Microsoft.Web.Services3.WebServicesClientProtocol
- {
+ [System.Web.Services.WebServiceBindingAttribute(Name="RemoteDesktopServicesSoap", Namespace="http://smbsaas/websitepanel/server/")]
+ public partial class RemoteDesktopServices : Microsoft.Web.Services3.WebServicesClientProtocol {
+
public ServiceProviderSettingsSoapHeader ServiceProviderSettingsSoapHeaderValue;
-
+
private System.Threading.SendOrPostCallback CreateCollectionOperationCompleted;
-
+
+ private System.Threading.SendOrPostCallback AddRdsServersToDeploymentOperationCompleted;
+
private System.Threading.SendOrPostCallback GetCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback RemoveCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback SetUsersInCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddSessionHostServerToCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddSessionHostServersToCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback RemoveSessionHostServerFromCollectionOperationCompleted;
-
+
private System.Threading.SendOrPostCallback RemoveSessionHostServersFromCollectionOperationCompleted;
-
+
+ private System.Threading.SendOrPostCallback SetRDServerNewConnectionAllowedOperationCompleted;
+
private System.Threading.SendOrPostCallback GetAvailableRemoteApplicationsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback GetCollectionRemoteApplicationsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddRemoteApplicationOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddRemoteApplicationsOperationCompleted;
-
+
private System.Threading.SendOrPostCallback RemoveRemoteApplicationOperationCompleted;
-
+
private System.Threading.SendOrPostCallback AddSessionHostFeatureToServerOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CheckSessionHostFeatureInstallationOperationCompleted;
-
+
private System.Threading.SendOrPostCallback CheckServerAvailabilityOperationCompleted;
-
+
+ private System.Threading.SendOrPostCallback GetApplicationUsersOperationCompleted;
+
+ private System.Threading.SendOrPostCallback SetApplicationUsersOperationCompleted;
+
+ private System.Threading.SendOrPostCallback CheckRDSServerAvaliableOperationCompleted;
+
///
- public RemoteDesktopServices()
- {
- this.Url = "http://127.0.0.1:9003/RemoteDesktopServices.asmx";
+ public RemoteDesktopServices() {
+ this.Url = "http://localhost:9003/RemoteDesktopServices.asmx";
}
-
+
///
public event CreateCollectionCompletedEventHandler CreateCollectionCompleted;
-
+
+ ///
+ public event AddRdsServersToDeploymentCompletedEventHandler AddRdsServersToDeploymentCompleted;
+
///
public event GetCollectionCompletedEventHandler GetCollectionCompleted;
-
+
///
public event RemoveCollectionCompletedEventHandler RemoveCollectionCompleted;
-
+
///
public event SetUsersInCollectionCompletedEventHandler SetUsersInCollectionCompleted;
-
+
///
public event AddSessionHostServerToCollectionCompletedEventHandler AddSessionHostServerToCollectionCompleted;
-
+
///
public event AddSessionHostServersToCollectionCompletedEventHandler AddSessionHostServersToCollectionCompleted;
-
+
///
public event RemoveSessionHostServerFromCollectionCompletedEventHandler RemoveSessionHostServerFromCollectionCompleted;
-
+
///
public event RemoveSessionHostServersFromCollectionCompletedEventHandler RemoveSessionHostServersFromCollectionCompleted;
-
+
+ ///
+ public event SetRDServerNewConnectionAllowedCompletedEventHandler SetRDServerNewConnectionAllowedCompleted;
+
///
public event GetAvailableRemoteApplicationsCompletedEventHandler GetAvailableRemoteApplicationsCompleted;
-
+
///
public event GetCollectionRemoteApplicationsCompletedEventHandler GetCollectionRemoteApplicationsCompleted;
-
+
///
public event AddRemoteApplicationCompletedEventHandler AddRemoteApplicationCompleted;
-
+
///
public event AddRemoteApplicationsCompletedEventHandler AddRemoteApplicationsCompleted;
-
+
///
public event RemoveRemoteApplicationCompletedEventHandler RemoveRemoteApplicationCompleted;
-
+
///
public event AddSessionHostFeatureToServerCompletedEventHandler AddSessionHostFeatureToServerCompleted;
-
+
///
public event CheckSessionHostFeatureInstallationCompletedEventHandler CheckSessionHostFeatureInstallationCompleted;
-
+
///
public event CheckServerAvailabilityCompletedEventHandler CheckServerAvailabilityCompleted;
-
+
+ ///
+ public event GetApplicationUsersCompletedEventHandler GetApplicationUsersCompleted;
+
+ ///
+ public event SetApplicationUsersCompletedEventHandler SetApplicationUsersCompleted;
+
+ ///
+ public event CheckRDSServerAvaliableCompletedEventHandler CheckRDSServerAvaliableCompleted;
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool CreateCollection(string organizationId, RdsCollection collection)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool CreateCollection(string organizationId, RdsCollection collection) {
object[] results = this.Invoke("CreateCollection", new object[] {
- organizationId,
- collection});
+ organizationId,
+ collection});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginCreateCollection(string organizationId, RdsCollection collection, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCreateCollection(string organizationId, RdsCollection collection, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateCollection", new object[] {
- organizationId,
- collection}, callback, asyncState);
+ organizationId,
+ collection}, callback, asyncState);
}
-
+
///
- public bool EndCreateCollection(System.IAsyncResult asyncResult)
- {
+ public bool EndCreateCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void CreateCollectionAsync(string organizationId, RdsCollection collection)
- {
+ public void CreateCollectionAsync(string organizationId, RdsCollection collection) {
this.CreateCollectionAsync(organizationId, collection, null);
}
-
+
///
- public void CreateCollectionAsync(string organizationId, RdsCollection collection, object userState)
- {
- if ((this.CreateCollectionOperationCompleted == null))
- {
+ public void CreateCollectionAsync(string organizationId, RdsCollection collection, object userState) {
+ if ((this.CreateCollectionOperationCompleted == null)) {
this.CreateCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateCollectionOperationCompleted);
}
this.InvokeAsync("CreateCollection", new object[] {
- organizationId,
- collection}, this.CreateCollectionOperationCompleted, userState);
+ organizationId,
+ collection}, this.CreateCollectionOperationCompleted, userState);
}
-
- private void OnCreateCollectionOperationCompleted(object arg)
- {
- if ((this.CreateCollectionCompleted != null))
- {
+
+ private void OnCreateCollectionOperationCompleted(object arg) {
+ if ((this.CreateCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateCollectionCompleted(this, new CreateCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RdsCollection GetCollection(string collectionName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddRdsServersToDeployment", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool AddRdsServersToDeployment(RdsServer[] servers) {
+ object[] results = this.Invoke("AddRdsServersToDeployment", new object[] {
+ servers});
+ return ((bool)(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginAddRdsServersToDeployment(RdsServer[] servers, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("AddRdsServersToDeployment", new object[] {
+ servers}, callback, asyncState);
+ }
+
+ ///
+ public bool EndAddRdsServersToDeployment(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((bool)(results[0]));
+ }
+
+ ///
+ public void AddRdsServersToDeploymentAsync(RdsServer[] servers) {
+ this.AddRdsServersToDeploymentAsync(servers, null);
+ }
+
+ ///
+ public void AddRdsServersToDeploymentAsync(RdsServer[] servers, object userState) {
+ if ((this.AddRdsServersToDeploymentOperationCompleted == null)) {
+ this.AddRdsServersToDeploymentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRdsServersToDeploymentOperationCompleted);
+ }
+ this.InvokeAsync("AddRdsServersToDeployment", new object[] {
+ servers}, this.AddRdsServersToDeploymentOperationCompleted, userState);
+ }
+
+ private void OnAddRdsServersToDeploymentOperationCompleted(object arg) {
+ if ((this.AddRdsServersToDeploymentCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.AddRdsServersToDeploymentCompleted(this, new AddRdsServersToDeploymentCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RdsCollection GetCollection(string collectionName) {
object[] results = this.Invoke("GetCollection", new object[] {
- collectionName});
+ collectionName});
return ((RdsCollection)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetCollection(string collectionName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetCollection(string collectionName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCollection", new object[] {
- collectionName}, callback, asyncState);
+ collectionName}, callback, asyncState);
}
-
+
///
- public RdsCollection EndGetCollection(System.IAsyncResult asyncResult)
- {
+ public RdsCollection EndGetCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RdsCollection)(results[0]));
}
-
+
///
- public void GetCollectionAsync(string collectionName)
- {
+ public void GetCollectionAsync(string collectionName) {
this.GetCollectionAsync(collectionName, null);
}
-
+
///
- public void GetCollectionAsync(string collectionName, object userState)
- {
- if ((this.GetCollectionOperationCompleted == null))
- {
+ public void GetCollectionAsync(string collectionName, object userState) {
+ if ((this.GetCollectionOperationCompleted == null)) {
this.GetCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCollectionOperationCompleted);
}
this.InvokeAsync("GetCollection", new object[] {
- collectionName}, this.GetCollectionOperationCompleted, userState);
+ collectionName}, this.GetCollectionOperationCompleted, userState);
}
-
- private void OnGetCollectionOperationCompleted(object arg)
- {
- if ((this.GetCollectionCompleted != null))
- {
+
+ private void OnGetCollectionOperationCompleted(object arg) {
+ if ((this.GetCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetCollectionCompleted(this, new GetCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool RemoveCollection(string organizationId, string collectionName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool RemoveCollection(string organizationId, string collectionName) {
object[] results = this.Invoke("RemoveCollection", new object[] {
- organizationId,
- collectionName});
+ organizationId,
+ collectionName});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginRemoveCollection(string organizationId, string collectionName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginRemoveCollection(string organizationId, string collectionName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveCollection", new object[] {
- organizationId,
- collectionName}, callback, asyncState);
+ organizationId,
+ collectionName}, callback, asyncState);
}
-
+
///
- public bool EndRemoveCollection(System.IAsyncResult asyncResult)
- {
+ public bool EndRemoveCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void RemoveCollectionAsync(string organizationId, string collectionName)
- {
+ public void RemoveCollectionAsync(string organizationId, string collectionName) {
this.RemoveCollectionAsync(organizationId, collectionName, null);
}
-
+
///
- public void RemoveCollectionAsync(string organizationId, string collectionName, object userState)
- {
- if ((this.RemoveCollectionOperationCompleted == null))
- {
+ public void RemoveCollectionAsync(string organizationId, string collectionName, object userState) {
+ if ((this.RemoveCollectionOperationCompleted == null)) {
this.RemoveCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveCollectionOperationCompleted);
}
this.InvokeAsync("RemoveCollection", new object[] {
- organizationId,
- collectionName}, this.RemoveCollectionOperationCompleted, userState);
+ organizationId,
+ collectionName}, this.RemoveCollectionOperationCompleted, userState);
}
-
- private void OnRemoveCollectionOperationCompleted(object arg)
- {
- if ((this.RemoveCollectionCompleted != null))
- {
+
+ private void OnRemoveCollectionOperationCompleted(object arg) {
+ if ((this.RemoveCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RemoveCollectionCompleted(this, new RemoveCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetUsersInCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool SetUsersInCollection(string organizationId, string collectionName, string[] users)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetUsersInCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool SetUsersInCollection(string organizationId, string collectionName, string[] users) {
object[] results = this.Invoke("SetUsersInCollection", new object[] {
- organizationId,
- collectionName,
- users});
+ organizationId,
+ collectionName,
+ users});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginSetUsersInCollection(string organizationId, string collectionName, string[] users, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginSetUsersInCollection(string organizationId, string collectionName, string[] users, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SetUsersInCollection", new object[] {
- organizationId,
- collectionName,
- users}, callback, asyncState);
+ organizationId,
+ collectionName,
+ users}, callback, asyncState);
}
-
+
///
- public bool EndSetUsersInCollection(System.IAsyncResult asyncResult)
- {
+ public bool EndSetUsersInCollection(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void SetUsersInCollectionAsync(string organizationId, string collectionName, string[] users)
- {
+ public void SetUsersInCollectionAsync(string organizationId, string collectionName, string[] users) {
this.SetUsersInCollectionAsync(organizationId, collectionName, users, null);
}
-
+
///
- public void SetUsersInCollectionAsync(string organizationId, string collectionName, string[] users, object userState)
- {
- if ((this.SetUsersInCollectionOperationCompleted == null))
- {
+ public void SetUsersInCollectionAsync(string organizationId, string collectionName, string[] users, object userState) {
+ if ((this.SetUsersInCollectionOperationCompleted == null)) {
this.SetUsersInCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetUsersInCollectionOperationCompleted);
}
this.InvokeAsync("SetUsersInCollection", new object[] {
- organizationId,
- collectionName,
- users}, this.SetUsersInCollectionOperationCompleted, userState);
+ organizationId,
+ collectionName,
+ users}, this.SetUsersInCollectionOperationCompleted, userState);
}
-
- private void OnSetUsersInCollectionOperationCompleted(object arg)
- {
- if ((this.SetUsersInCollectionCompleted != null))
- {
+
+ private void OnSetUsersInCollectionOperationCompleted(object arg) {
+ if ((this.SetUsersInCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetUsersInCollectionCompleted(this, new SetUsersInCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddSessionHostServerToCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void AddSessionHostServerToCollection(string organizationId, string collectionName, RdsServer server)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddSessionHostServerToCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void AddSessionHostServerToCollection(string organizationId, string collectionName, RdsServer server) {
this.Invoke("AddSessionHostServerToCollection", new object[] {
- organizationId,
- collectionName,
- server});
+ organizationId,
+ collectionName,
+ server});
}
-
+
///
- public System.IAsyncResult BeginAddSessionHostServerToCollection(string organizationId, string collectionName, RdsServer server, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddSessionHostServerToCollection(string organizationId, string collectionName, RdsServer server, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddSessionHostServerToCollection", new object[] {
- organizationId,
- collectionName,
- server}, callback, asyncState);
+ organizationId,
+ collectionName,
+ server}, callback, asyncState);
}
-
+
///
- public void EndAddSessionHostServerToCollection(System.IAsyncResult asyncResult)
- {
+ public void EndAddSessionHostServerToCollection(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void AddSessionHostServerToCollectionAsync(string organizationId, string collectionName, RdsServer server)
- {
+ public void AddSessionHostServerToCollectionAsync(string organizationId, string collectionName, RdsServer server) {
this.AddSessionHostServerToCollectionAsync(organizationId, collectionName, server, null);
}
-
+
///
- public void AddSessionHostServerToCollectionAsync(string organizationId, string collectionName, RdsServer server, object userState)
- {
- if ((this.AddSessionHostServerToCollectionOperationCompleted == null))
- {
+ public void AddSessionHostServerToCollectionAsync(string organizationId, string collectionName, RdsServer server, object userState) {
+ if ((this.AddSessionHostServerToCollectionOperationCompleted == null)) {
this.AddSessionHostServerToCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSessionHostServerToCollectionOperationCompleted);
}
this.InvokeAsync("AddSessionHostServerToCollection", new object[] {
- organizationId,
- collectionName,
- server}, this.AddSessionHostServerToCollectionOperationCompleted, userState);
+ organizationId,
+ collectionName,
+ server}, this.AddSessionHostServerToCollectionOperationCompleted, userState);
}
-
- private void OnAddSessionHostServerToCollectionOperationCompleted(object arg)
- {
- if ((this.AddSessionHostServerToCollectionCompleted != null))
- {
+
+ private void OnAddSessionHostServerToCollectionOperationCompleted(object arg) {
+ if ((this.AddSessionHostServerToCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddSessionHostServerToCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddSessionHostServersToCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void AddSessionHostServersToCollection(string organizationId, string collectionName, RdsServer[] servers)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddSessionHostServersToCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void AddSessionHostServersToCollection(string organizationId, string collectionName, RdsServer[] servers) {
this.Invoke("AddSessionHostServersToCollection", new object[] {
- organizationId,
- collectionName,
- servers});
+ organizationId,
+ collectionName,
+ servers});
}
-
+
///
- public System.IAsyncResult BeginAddSessionHostServersToCollection(string organizationId, string collectionName, RdsServer[] servers, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddSessionHostServersToCollection(string organizationId, string collectionName, RdsServer[] servers, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddSessionHostServersToCollection", new object[] {
- organizationId,
- collectionName,
- servers}, callback, asyncState);
+ organizationId,
+ collectionName,
+ servers}, callback, asyncState);
}
-
+
///
- public void EndAddSessionHostServersToCollection(System.IAsyncResult asyncResult)
- {
+ public void EndAddSessionHostServersToCollection(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void AddSessionHostServersToCollectionAsync(string organizationId, string collectionName, RdsServer[] servers)
- {
+ public void AddSessionHostServersToCollectionAsync(string organizationId, string collectionName, RdsServer[] servers) {
this.AddSessionHostServersToCollectionAsync(organizationId, collectionName, servers, null);
}
-
+
///
- public void AddSessionHostServersToCollectionAsync(string organizationId, string collectionName, RdsServer[] servers, object userState)
- {
- if ((this.AddSessionHostServersToCollectionOperationCompleted == null))
- {
+ public void AddSessionHostServersToCollectionAsync(string organizationId, string collectionName, RdsServer[] servers, object userState) {
+ if ((this.AddSessionHostServersToCollectionOperationCompleted == null)) {
this.AddSessionHostServersToCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSessionHostServersToCollectionOperationCompleted);
}
this.InvokeAsync("AddSessionHostServersToCollection", new object[] {
- organizationId,
- collectionName,
- servers}, this.AddSessionHostServersToCollectionOperationCompleted, userState);
+ organizationId,
+ collectionName,
+ servers}, this.AddSessionHostServersToCollectionOperationCompleted, userState);
}
-
- private void OnAddSessionHostServersToCollectionOperationCompleted(object arg)
- {
- if ((this.AddSessionHostServersToCollectionCompleted != null))
- {
+
+ private void OnAddSessionHostServersToCollectionOperationCompleted(object arg) {
+ if ((this.AddSessionHostServersToCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddSessionHostServersToCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveSessionHostServerFromCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void RemoveSessionHostServerFromCollection(string organizationId, string collectionName, RdsServer server)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveSessionHostServerFromCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void RemoveSessionHostServerFromCollection(string organizationId, string collectionName, RdsServer server) {
this.Invoke("RemoveSessionHostServerFromCollection", new object[] {
- organizationId,
- collectionName,
- server});
+ organizationId,
+ collectionName,
+ server});
}
-
+
///
- public System.IAsyncResult BeginRemoveSessionHostServerFromCollection(string organizationId, string collectionName, RdsServer server, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginRemoveSessionHostServerFromCollection(string organizationId, string collectionName, RdsServer server, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveSessionHostServerFromCollection", new object[] {
- organizationId,
- collectionName,
- server}, callback, asyncState);
+ organizationId,
+ collectionName,
+ server}, callback, asyncState);
}
-
+
///
- public void EndRemoveSessionHostServerFromCollection(System.IAsyncResult asyncResult)
- {
+ public void EndRemoveSessionHostServerFromCollection(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void RemoveSessionHostServerFromCollectionAsync(string organizationId, string collectionName, RdsServer server)
- {
+ public void RemoveSessionHostServerFromCollectionAsync(string organizationId, string collectionName, RdsServer server) {
this.RemoveSessionHostServerFromCollectionAsync(organizationId, collectionName, server, null);
}
-
+
///
- public void RemoveSessionHostServerFromCollectionAsync(string organizationId, string collectionName, RdsServer server, object userState)
- {
- if ((this.RemoveSessionHostServerFromCollectionOperationCompleted == null))
- {
+ public void RemoveSessionHostServerFromCollectionAsync(string organizationId, string collectionName, RdsServer server, object userState) {
+ if ((this.RemoveSessionHostServerFromCollectionOperationCompleted == null)) {
this.RemoveSessionHostServerFromCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveSessionHostServerFromCollectionOperationCompleted);
}
this.InvokeAsync("RemoveSessionHostServerFromCollection", new object[] {
- organizationId,
- collectionName,
- server}, this.RemoveSessionHostServerFromCollectionOperationCompleted, userState);
+ organizationId,
+ collectionName,
+ server}, this.RemoveSessionHostServerFromCollectionOperationCompleted, userState);
}
-
- private void OnRemoveSessionHostServerFromCollectionOperationCompleted(object arg)
- {
- if ((this.RemoveSessionHostServerFromCollectionCompleted != null))
- {
+
+ private void OnRemoveSessionHostServerFromCollectionOperationCompleted(object arg) {
+ if ((this.RemoveSessionHostServerFromCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RemoveSessionHostServerFromCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveSessionHostServersFromCollection", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public void RemoveSessionHostServersFromCollection(string organizationId, string collectionName, RdsServer[] servers)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveSessionHostServersFromCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void RemoveSessionHostServersFromCollection(string organizationId, string collectionName, RdsServer[] servers) {
this.Invoke("RemoveSessionHostServersFromCollection", new object[] {
- organizationId,
- collectionName,
- servers});
+ organizationId,
+ collectionName,
+ servers});
}
-
+
///
- public System.IAsyncResult BeginRemoveSessionHostServersFromCollection(string organizationId, string collectionName, RdsServer[] servers, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginRemoveSessionHostServersFromCollection(string organizationId, string collectionName, RdsServer[] servers, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveSessionHostServersFromCollection", new object[] {
- organizationId,
- collectionName,
- servers}, callback, asyncState);
+ organizationId,
+ collectionName,
+ servers}, callback, asyncState);
}
-
+
///
- public void EndRemoveSessionHostServersFromCollection(System.IAsyncResult asyncResult)
- {
+ public void EndRemoveSessionHostServersFromCollection(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
-
+
///
- public void RemoveSessionHostServersFromCollectionAsync(string organizationId, string collectionName, RdsServer[] servers)
- {
+ public void RemoveSessionHostServersFromCollectionAsync(string organizationId, string collectionName, RdsServer[] servers) {
this.RemoveSessionHostServersFromCollectionAsync(organizationId, collectionName, servers, null);
}
-
+
///
- public void RemoveSessionHostServersFromCollectionAsync(string organizationId, string collectionName, RdsServer[] servers, object userState)
- {
- if ((this.RemoveSessionHostServersFromCollectionOperationCompleted == null))
- {
+ public void RemoveSessionHostServersFromCollectionAsync(string organizationId, string collectionName, RdsServer[] servers, object userState) {
+ if ((this.RemoveSessionHostServersFromCollectionOperationCompleted == null)) {
this.RemoveSessionHostServersFromCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveSessionHostServersFromCollectionOperationCompleted);
}
this.InvokeAsync("RemoveSessionHostServersFromCollection", new object[] {
- organizationId,
- collectionName,
- servers}, this.RemoveSessionHostServersFromCollectionOperationCompleted, userState);
+ organizationId,
+ collectionName,
+ servers}, this.RemoveSessionHostServersFromCollectionOperationCompleted, userState);
}
-
- private void OnRemoveSessionHostServersFromCollectionOperationCompleted(object arg)
- {
- if ((this.RemoveSessionHostServersFromCollectionCompleted != null))
- {
+
+ private void OnRemoveSessionHostServersFromCollectionOperationCompleted(object arg) {
+ if ((this.RemoveSessionHostServersFromCollectionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RemoveSessionHostServersFromCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetAvailableRemoteApplications", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public StartMenuApp[] GetAvailableRemoteApplications(string collectionName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetRDServerNewConnectionAllowed", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public void SetRDServerNewConnectionAllowed(bool newConnectionAllowed, RdsServer server) {
+ this.Invoke("SetRDServerNewConnectionAllowed", new object[] {
+ newConnectionAllowed,
+ server});
+ }
+
+ ///
+ public System.IAsyncResult BeginSetRDServerNewConnectionAllowed(bool newConnectionAllowed, RdsServer server, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("SetRDServerNewConnectionAllowed", new object[] {
+ newConnectionAllowed,
+ server}, callback, asyncState);
+ }
+
+ ///
+ public void EndSetRDServerNewConnectionAllowed(System.IAsyncResult asyncResult) {
+ this.EndInvoke(asyncResult);
+ }
+
+ ///
+ public void SetRDServerNewConnectionAllowedAsync(bool newConnectionAllowed, RdsServer server) {
+ this.SetRDServerNewConnectionAllowedAsync(newConnectionAllowed, server, null);
+ }
+
+ ///
+ public void SetRDServerNewConnectionAllowedAsync(bool newConnectionAllowed, RdsServer server, object userState) {
+ if ((this.SetRDServerNewConnectionAllowedOperationCompleted == null)) {
+ this.SetRDServerNewConnectionAllowedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetRDServerNewConnectionAllowedOperationCompleted);
+ }
+ this.InvokeAsync("SetRDServerNewConnectionAllowed", new object[] {
+ newConnectionAllowed,
+ server}, this.SetRDServerNewConnectionAllowedOperationCompleted, userState);
+ }
+
+ private void OnSetRDServerNewConnectionAllowedOperationCompleted(object arg) {
+ if ((this.SetRDServerNewConnectionAllowedCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.SetRDServerNewConnectionAllowedCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetAvailableRemoteApplications", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public StartMenuApp[] GetAvailableRemoteApplications(string collectionName) {
object[] results = this.Invoke("GetAvailableRemoteApplications", new object[] {
- collectionName});
+ collectionName});
return ((StartMenuApp[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetAvailableRemoteApplications(string collectionName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetAvailableRemoteApplications(string collectionName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetAvailableRemoteApplications", new object[] {
- collectionName}, callback, asyncState);
+ collectionName}, callback, asyncState);
}
-
+
///
- public StartMenuApp[] EndGetAvailableRemoteApplications(System.IAsyncResult asyncResult)
- {
+ public StartMenuApp[] EndGetAvailableRemoteApplications(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((StartMenuApp[])(results[0]));
}
-
+
///
- public void GetAvailableRemoteApplicationsAsync(string collectionName)
- {
+ public void GetAvailableRemoteApplicationsAsync(string collectionName) {
this.GetAvailableRemoteApplicationsAsync(collectionName, null);
}
-
+
///
- public void GetAvailableRemoteApplicationsAsync(string collectionName, object userState)
- {
- if ((this.GetAvailableRemoteApplicationsOperationCompleted == null))
- {
+ public void GetAvailableRemoteApplicationsAsync(string collectionName, object userState) {
+ if ((this.GetAvailableRemoteApplicationsOperationCompleted == null)) {
this.GetAvailableRemoteApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAvailableRemoteApplicationsOperationCompleted);
}
this.InvokeAsync("GetAvailableRemoteApplications", new object[] {
- collectionName}, this.GetAvailableRemoteApplicationsOperationCompleted, userState);
+ collectionName}, this.GetAvailableRemoteApplicationsOperationCompleted, userState);
}
-
- private void OnGetAvailableRemoteApplicationsOperationCompleted(object arg)
- {
- if ((this.GetAvailableRemoteApplicationsCompleted != null))
- {
+
+ private void OnGetAvailableRemoteApplicationsOperationCompleted(object arg) {
+ if ((this.GetAvailableRemoteApplicationsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetAvailableRemoteApplicationsCompleted(this, new GetAvailableRemoteApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetCollectionRemoteApplications", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public RemoteApplication[] GetCollectionRemoteApplications(string collectionName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetCollectionRemoteApplications", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public RemoteApplication[] GetCollectionRemoteApplications(string collectionName) {
object[] results = this.Invoke("GetCollectionRemoteApplications", new object[] {
- collectionName});
+ collectionName});
return ((RemoteApplication[])(results[0]));
}
-
+
///
- public System.IAsyncResult BeginGetCollectionRemoteApplications(string collectionName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginGetCollectionRemoteApplications(string collectionName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCollectionRemoteApplications", new object[] {
- collectionName}, callback, asyncState);
+ collectionName}, callback, asyncState);
}
-
+
///
- public RemoteApplication[] EndGetCollectionRemoteApplications(System.IAsyncResult asyncResult)
- {
+ public RemoteApplication[] EndGetCollectionRemoteApplications(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RemoteApplication[])(results[0]));
}
-
+
///
- public void GetCollectionRemoteApplicationsAsync(string collectionName)
- {
+ public void GetCollectionRemoteApplicationsAsync(string collectionName) {
this.GetCollectionRemoteApplicationsAsync(collectionName, null);
}
-
+
///
- public void GetCollectionRemoteApplicationsAsync(string collectionName, object userState)
- {
- if ((this.GetCollectionRemoteApplicationsOperationCompleted == null))
- {
+ public void GetCollectionRemoteApplicationsAsync(string collectionName, object userState) {
+ if ((this.GetCollectionRemoteApplicationsOperationCompleted == null)) {
this.GetCollectionRemoteApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCollectionRemoteApplicationsOperationCompleted);
}
this.InvokeAsync("GetCollectionRemoteApplications", new object[] {
- collectionName}, this.GetCollectionRemoteApplicationsOperationCompleted, userState);
+ collectionName}, this.GetCollectionRemoteApplicationsOperationCompleted, userState);
}
-
- private void OnGetCollectionRemoteApplicationsOperationCompleted(object arg)
- {
- if ((this.GetCollectionRemoteApplicationsCompleted != null))
- {
+
+ private void OnGetCollectionRemoteApplicationsOperationCompleted(object arg) {
+ if ((this.GetCollectionRemoteApplicationsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetCollectionRemoteApplicationsCompleted(this, new GetCollectionRemoteApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddRemoteApplication", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool AddRemoteApplication(string collectionName, RemoteApplication remoteApp)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddRemoteApplication", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool AddRemoteApplication(string collectionName, RemoteApplication remoteApp) {
object[] results = this.Invoke("AddRemoteApplication", new object[] {
- collectionName,
- remoteApp});
+ collectionName,
+ remoteApp});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginAddRemoteApplication(string collectionName, RemoteApplication remoteApp, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddRemoteApplication(string collectionName, RemoteApplication remoteApp, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddRemoteApplication", new object[] {
- collectionName,
- remoteApp}, callback, asyncState);
+ collectionName,
+ remoteApp}, callback, asyncState);
}
-
+
///
- public bool EndAddRemoteApplication(System.IAsyncResult asyncResult)
- {
+ public bool EndAddRemoteApplication(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void AddRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp)
- {
+ public void AddRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp) {
this.AddRemoteApplicationAsync(collectionName, remoteApp, null);
}
-
+
///
- public void AddRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp, object userState)
- {
- if ((this.AddRemoteApplicationOperationCompleted == null))
- {
+ public void AddRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp, object userState) {
+ if ((this.AddRemoteApplicationOperationCompleted == null)) {
this.AddRemoteApplicationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRemoteApplicationOperationCompleted);
}
this.InvokeAsync("AddRemoteApplication", new object[] {
- collectionName,
- remoteApp}, this.AddRemoteApplicationOperationCompleted, userState);
+ collectionName,
+ remoteApp}, this.AddRemoteApplicationOperationCompleted, userState);
}
-
- private void OnAddRemoteApplicationOperationCompleted(object arg)
- {
- if ((this.AddRemoteApplicationCompleted != null))
- {
+
+ private void OnAddRemoteApplicationOperationCompleted(object arg) {
+ if ((this.AddRemoteApplicationCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddRemoteApplicationCompleted(this, new AddRemoteApplicationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddRemoteApplications", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool AddRemoteApplications(string collectionName, RemoteApplication[] remoteApps)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddRemoteApplications", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool AddRemoteApplications(string collectionName, RemoteApplication[] remoteApps) {
object[] results = this.Invoke("AddRemoteApplications", new object[] {
- collectionName,
- remoteApps});
+ collectionName,
+ remoteApps});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginAddRemoteApplications(string collectionName, RemoteApplication[] remoteApps, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddRemoteApplications(string collectionName, RemoteApplication[] remoteApps, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddRemoteApplications", new object[] {
- collectionName,
- remoteApps}, callback, asyncState);
+ collectionName,
+ remoteApps}, callback, asyncState);
}
-
+
///
- public bool EndAddRemoteApplications(System.IAsyncResult asyncResult)
- {
+ public bool EndAddRemoteApplications(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void AddRemoteApplicationsAsync(string collectionName, RemoteApplication[] remoteApps)
- {
+ public void AddRemoteApplicationsAsync(string collectionName, RemoteApplication[] remoteApps) {
this.AddRemoteApplicationsAsync(collectionName, remoteApps, null);
}
-
+
///
- public void AddRemoteApplicationsAsync(string collectionName, RemoteApplication[] remoteApps, object userState)
- {
- if ((this.AddRemoteApplicationsOperationCompleted == null))
- {
+ public void AddRemoteApplicationsAsync(string collectionName, RemoteApplication[] remoteApps, object userState) {
+ if ((this.AddRemoteApplicationsOperationCompleted == null)) {
this.AddRemoteApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRemoteApplicationsOperationCompleted);
}
this.InvokeAsync("AddRemoteApplications", new object[] {
- collectionName,
- remoteApps}, this.AddRemoteApplicationsOperationCompleted, userState);
+ collectionName,
+ remoteApps}, this.AddRemoteApplicationsOperationCompleted, userState);
}
-
- private void OnAddRemoteApplicationsOperationCompleted(object arg)
- {
- if ((this.AddRemoteApplicationsCompleted != null))
- {
+
+ private void OnAddRemoteApplicationsOperationCompleted(object arg) {
+ if ((this.AddRemoteApplicationsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddRemoteApplicationsCompleted(this, new AddRemoteApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveRemoteApplication", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool RemoveRemoteApplication(string collectionName, RemoteApplication remoteApp)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveRemoteApplication", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool RemoveRemoteApplication(string collectionName, RemoteApplication remoteApp) {
object[] results = this.Invoke("RemoveRemoteApplication", new object[] {
- collectionName,
- remoteApp});
+ collectionName,
+ remoteApp});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginRemoveRemoteApplication(string collectionName, RemoteApplication remoteApp, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginRemoveRemoteApplication(string collectionName, RemoteApplication remoteApp, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RemoveRemoteApplication", new object[] {
- collectionName,
- remoteApp}, callback, asyncState);
+ collectionName,
+ remoteApp}, callback, asyncState);
}
-
+
///
- public bool EndRemoveRemoteApplication(System.IAsyncResult asyncResult)
- {
+ public bool EndRemoveRemoteApplication(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void RemoveRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp)
- {
+ public void RemoveRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp) {
this.RemoveRemoteApplicationAsync(collectionName, remoteApp, null);
}
-
+
///
- public void RemoveRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp, object userState)
- {
- if ((this.RemoveRemoteApplicationOperationCompleted == null))
- {
+ public void RemoveRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp, object userState) {
+ if ((this.RemoveRemoteApplicationOperationCompleted == null)) {
this.RemoveRemoteApplicationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveRemoteApplicationOperationCompleted);
}
this.InvokeAsync("RemoveRemoteApplication", new object[] {
- collectionName,
- remoteApp}, this.RemoveRemoteApplicationOperationCompleted, userState);
+ collectionName,
+ remoteApp}, this.RemoveRemoteApplicationOperationCompleted, userState);
}
-
- private void OnRemoveRemoteApplicationOperationCompleted(object arg)
- {
- if ((this.RemoveRemoteApplicationCompleted != null))
- {
+
+ private void OnRemoveRemoteApplicationOperationCompleted(object arg) {
+ if ((this.RemoveRemoteApplicationCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RemoveRemoteApplicationCompleted(this, new RemoveRemoteApplicationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddSessionHostFeatureToServer", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool AddSessionHostFeatureToServer(string hostName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddSessionHostFeatureToServer", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool AddSessionHostFeatureToServer(string hostName) {
object[] results = this.Invoke("AddSessionHostFeatureToServer", new object[] {
- hostName});
+ hostName});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginAddSessionHostFeatureToServer(string hostName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginAddSessionHostFeatureToServer(string hostName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddSessionHostFeatureToServer", new object[] {
- hostName}, callback, asyncState);
+ hostName}, callback, asyncState);
}
-
+
///
- public bool EndAddSessionHostFeatureToServer(System.IAsyncResult asyncResult)
- {
+ public bool EndAddSessionHostFeatureToServer(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void AddSessionHostFeatureToServerAsync(string hostName)
- {
+ public void AddSessionHostFeatureToServerAsync(string hostName) {
this.AddSessionHostFeatureToServerAsync(hostName, null);
}
-
+
///
- public void AddSessionHostFeatureToServerAsync(string hostName, object userState)
- {
- if ((this.AddSessionHostFeatureToServerOperationCompleted == null))
- {
+ public void AddSessionHostFeatureToServerAsync(string hostName, object userState) {
+ if ((this.AddSessionHostFeatureToServerOperationCompleted == null)) {
this.AddSessionHostFeatureToServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSessionHostFeatureToServerOperationCompleted);
}
this.InvokeAsync("AddSessionHostFeatureToServer", new object[] {
- hostName}, this.AddSessionHostFeatureToServerOperationCompleted, userState);
+ hostName}, this.AddSessionHostFeatureToServerOperationCompleted, userState);
}
-
- private void OnAddSessionHostFeatureToServerOperationCompleted(object arg)
- {
- if ((this.AddSessionHostFeatureToServerCompleted != null))
- {
+
+ private void OnAddSessionHostFeatureToServerOperationCompleted(object arg) {
+ if ((this.AddSessionHostFeatureToServerCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddSessionHostFeatureToServerCompleted(this, new AddSessionHostFeatureToServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckSessionHostFeatureInstallation", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool CheckSessionHostFeatureInstallation(string hostName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckSessionHostFeatureInstallation", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool CheckSessionHostFeatureInstallation(string hostName) {
object[] results = this.Invoke("CheckSessionHostFeatureInstallation", new object[] {
- hostName});
+ hostName});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginCheckSessionHostFeatureInstallation(string hostName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCheckSessionHostFeatureInstallation(string hostName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CheckSessionHostFeatureInstallation", new object[] {
- hostName}, callback, asyncState);
+ hostName}, callback, asyncState);
}
-
+
///
- public bool EndCheckSessionHostFeatureInstallation(System.IAsyncResult asyncResult)
- {
+ public bool EndCheckSessionHostFeatureInstallation(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void CheckSessionHostFeatureInstallationAsync(string hostName)
- {
+ public void CheckSessionHostFeatureInstallationAsync(string hostName) {
this.CheckSessionHostFeatureInstallationAsync(hostName, null);
}
-
+
///
- public void CheckSessionHostFeatureInstallationAsync(string hostName, object userState)
- {
- if ((this.CheckSessionHostFeatureInstallationOperationCompleted == null))
- {
+ public void CheckSessionHostFeatureInstallationAsync(string hostName, object userState) {
+ if ((this.CheckSessionHostFeatureInstallationOperationCompleted == null)) {
this.CheckSessionHostFeatureInstallationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckSessionHostFeatureInstallationOperationCompleted);
}
this.InvokeAsync("CheckSessionHostFeatureInstallation", new object[] {
- hostName}, this.CheckSessionHostFeatureInstallationOperationCompleted, userState);
+ hostName}, this.CheckSessionHostFeatureInstallationOperationCompleted, userState);
}
-
- private void OnCheckSessionHostFeatureInstallationOperationCompleted(object arg)
- {
- if ((this.CheckSessionHostFeatureInstallationCompleted != null))
- {
+
+ private void OnCheckSessionHostFeatureInstallationOperationCompleted(object arg) {
+ if ((this.CheckSessionHostFeatureInstallationCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CheckSessionHostFeatureInstallationCompleted(this, new CheckSessionHostFeatureInstallationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckServerAvailability", RequestNamespace = "http://smbsaas/websitepanel/server/", ResponseNamespace = "http://smbsaas/websitepanel/server/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public bool CheckServerAvailability(string hostName)
- {
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckServerAvailability", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool CheckServerAvailability(string hostName) {
object[] results = this.Invoke("CheckServerAvailability", new object[] {
- hostName});
+ hostName});
return ((bool)(results[0]));
}
-
+
///
- public System.IAsyncResult BeginCheckServerAvailability(string hostName, System.AsyncCallback callback, object asyncState)
- {
+ public System.IAsyncResult BeginCheckServerAvailability(string hostName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CheckServerAvailability", new object[] {
- hostName}, callback, asyncState);
+ hostName}, callback, asyncState);
}
-
+
///
- public bool EndCheckServerAvailability(System.IAsyncResult asyncResult)
- {
+ public bool EndCheckServerAvailability(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
-
+
///
- public void CheckServerAvailabilityAsync(string hostName)
- {
+ public void CheckServerAvailabilityAsync(string hostName) {
this.CheckServerAvailabilityAsync(hostName, null);
}
-
+
///
- public void CheckServerAvailabilityAsync(string hostName, object userState)
- {
- if ((this.CheckServerAvailabilityOperationCompleted == null))
- {
+ public void CheckServerAvailabilityAsync(string hostName, object userState) {
+ if ((this.CheckServerAvailabilityOperationCompleted == null)) {
this.CheckServerAvailabilityOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckServerAvailabilityOperationCompleted);
}
this.InvokeAsync("CheckServerAvailability", new object[] {
- hostName}, this.CheckServerAvailabilityOperationCompleted, userState);
+ hostName}, this.CheckServerAvailabilityOperationCompleted, userState);
}
-
- private void OnCheckServerAvailabilityOperationCompleted(object arg)
- {
- if ((this.CheckServerAvailabilityCompleted != null))
- {
+
+ private void OnCheckServerAvailabilityOperationCompleted(object arg) {
+ if ((this.CheckServerAvailabilityCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CheckServerAvailabilityCompleted(this, new CheckServerAvailabilityCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
-
+
///
- public new void CancelAsync(object userState)
- {
+ [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetApplicationUsers", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public string[] GetApplicationUsers(string collectionName, string applicationName) {
+ object[] results = this.Invoke("GetApplicationUsers", new object[] {
+ collectionName,
+ applicationName});
+ return ((string[])(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginGetApplicationUsers(string collectionName, string applicationName, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("GetApplicationUsers", new object[] {
+ collectionName,
+ applicationName}, callback, asyncState);
+ }
+
+ ///
+ public string[] EndGetApplicationUsers(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((string[])(results[0]));
+ }
+
+ ///
+ public void GetApplicationUsersAsync(string collectionName, string applicationName) {
+ this.GetApplicationUsersAsync(collectionName, applicationName, null);
+ }
+
+ ///
+ public void GetApplicationUsersAsync(string collectionName, string applicationName, object userState) {
+ if ((this.GetApplicationUsersOperationCompleted == null)) {
+ this.GetApplicationUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetApplicationUsersOperationCompleted);
+ }
+ this.InvokeAsync("GetApplicationUsers", new object[] {
+ collectionName,
+ applicationName}, this.GetApplicationUsersOperationCompleted, userState);
+ }
+
+ private void OnGetApplicationUsersOperationCompleted(object arg) {
+ if ((this.GetApplicationUsersCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.GetApplicationUsersCompleted(this, new GetApplicationUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetApplicationUsers", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool SetApplicationUsers(string collectionName, RemoteApplication remoteApp, string[] users) {
+ object[] results = this.Invoke("SetApplicationUsers", new object[] {
+ collectionName,
+ remoteApp,
+ users});
+ return ((bool)(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginSetApplicationUsers(string collectionName, RemoteApplication remoteApp, string[] users, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("SetApplicationUsers", new object[] {
+ collectionName,
+ remoteApp,
+ users}, callback, asyncState);
+ }
+
+ ///
+ public bool EndSetApplicationUsers(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((bool)(results[0]));
+ }
+
+ ///
+ public void SetApplicationUsersAsync(string collectionName, RemoteApplication remoteApp, string[] users) {
+ this.SetApplicationUsersAsync(collectionName, remoteApp, users, null);
+ }
+
+ ///
+ public void SetApplicationUsersAsync(string collectionName, RemoteApplication remoteApp, string[] users, object userState) {
+ if ((this.SetApplicationUsersOperationCompleted == null)) {
+ this.SetApplicationUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetApplicationUsersOperationCompleted);
+ }
+ this.InvokeAsync("SetApplicationUsers", new object[] {
+ collectionName,
+ remoteApp,
+ users}, this.SetApplicationUsersOperationCompleted, userState);
+ }
+
+ private void OnSetApplicationUsersOperationCompleted(object arg) {
+ if ((this.SetApplicationUsersCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.SetApplicationUsersCompleted(this, new SetApplicationUsersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ [System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
+ [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckRDSServerAvaliable", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+ public bool CheckRDSServerAvaliable(string hostname) {
+ object[] results = this.Invoke("CheckRDSServerAvaliable", new object[] {
+ hostname});
+ return ((bool)(results[0]));
+ }
+
+ ///
+ public System.IAsyncResult BeginCheckRDSServerAvaliable(string hostname, System.AsyncCallback callback, object asyncState) {
+ return this.BeginInvoke("CheckRDSServerAvaliable", new object[] {
+ hostname}, callback, asyncState);
+ }
+
+ ///
+ public bool EndCheckRDSServerAvaliable(System.IAsyncResult asyncResult) {
+ object[] results = this.EndInvoke(asyncResult);
+ return ((bool)(results[0]));
+ }
+
+ ///
+ public void CheckRDSServerAvaliableAsync(string hostname) {
+ this.CheckRDSServerAvaliableAsync(hostname, null);
+ }
+
+ ///
+ public void CheckRDSServerAvaliableAsync(string hostname, object userState) {
+ if ((this.CheckRDSServerAvaliableOperationCompleted == null)) {
+ this.CheckRDSServerAvaliableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckRDSServerAvaliableOperationCompleted);
+ }
+ this.InvokeAsync("CheckRDSServerAvaliable", new object[] {
+ hostname}, this.CheckRDSServerAvaliableOperationCompleted, userState);
+ }
+
+ private void OnCheckRDSServerAvaliableOperationCompleted(object arg) {
+ if ((this.CheckRDSServerAvaliableCompleted != null)) {
+ System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+ this.CheckRDSServerAvaliableCompleted(this, new CheckRDSServerAvaliableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+ }
+ }
+
+ ///
+ public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CreateCollectionCompletedEventHandler(object sender, CreateCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class CreateCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class CreateCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal CreateCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal CreateCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
- public delegate void GetCollectionCompletedEventHandler(object sender, GetCollectionCompletedEventArgs e);
-
+ public delegate void AddRdsServersToDeploymentCompletedEventHandler(object sender, AddRdsServersToDeploymentCompletedEventArgs e);
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class AddRdsServersToDeploymentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal AddRdsServersToDeploymentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RdsCollection Result
- {
- get
- {
+ public bool Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((bool)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void GetCollectionCompletedEventHandler(object sender, GetCollectionCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class GetCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal GetCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ ///
+ public RdsCollection Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RdsCollection)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void RemoveCollectionCompletedEventHandler(object sender, RemoveCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class RemoveCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class RemoveCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal RemoveCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal RemoveCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void SetUsersInCollectionCompletedEventHandler(object sender, SetUsersInCollectionCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class SetUsersInCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class SetUsersInCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal SetUsersInCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal SetUsersInCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddSessionHostServerToCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddSessionHostServersToCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void RemoveSessionHostServerFromCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void RemoveSessionHostServersFromCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
-
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void SetRDServerNewConnectionAllowedCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetAvailableRemoteApplicationsCompletedEventHandler(object sender, GetAvailableRemoteApplicationsCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetAvailableRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetAvailableRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetAvailableRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetAvailableRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public StartMenuApp[] Result
- {
- get
- {
+ public StartMenuApp[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((StartMenuApp[])(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetCollectionRemoteApplicationsCompletedEventHandler(object sender, GetCollectionRemoteApplicationsCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class GetCollectionRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class GetCollectionRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal GetCollectionRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal GetCollectionRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public RemoteApplication[] Result
- {
- get
- {
+ public RemoteApplication[] Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((RemoteApplication[])(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddRemoteApplicationCompletedEventHandler(object sender, AddRemoteApplicationCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class AddRemoteApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class AddRemoteApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal AddRemoteApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal AddRemoteApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddRemoteApplicationsCompletedEventHandler(object sender, AddRemoteApplicationsCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class AddRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class AddRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal AddRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal AddRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void RemoveRemoteApplicationCompletedEventHandler(object sender, RemoveRemoteApplicationCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class RemoveRemoteApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class RemoveRemoteApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal RemoveRemoteApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal RemoveRemoteApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddSessionHostFeatureToServerCompletedEventHandler(object sender, AddSessionHostFeatureToServerCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class AddSessionHostFeatureToServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class AddSessionHostFeatureToServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal AddSessionHostFeatureToServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal AddSessionHostFeatureToServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CheckSessionHostFeatureInstallationCompletedEventHandler(object sender, CheckSessionHostFeatureInstallationCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class CheckSessionHostFeatureInstallationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class CheckSessionHostFeatureInstallationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal CheckSessionHostFeatureInstallationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal CheckSessionHostFeatureInstallationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
this.RaiseExceptionIfNecessary();
return ((bool)(this.results[0]));
}
}
}
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void CheckServerAvailabilityCompletedEventHandler(object sender, CheckServerAvailabilityCompletedEventArgs e);
-
+
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class CheckServerAvailabilityCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
- {
-
+ public partial class CheckServerAvailabilityCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
private object[] results;
-
- internal CheckServerAvailabilityCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState)
- {
+
+ internal CheckServerAvailabilityCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
this.results = results;
}
-
+
///
- public bool Result
- {
- get
- {
+ public bool Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((bool)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void GetApplicationUsersCompletedEventHandler(object sender, GetApplicationUsersCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class GetApplicationUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal GetApplicationUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ ///
+ public string[] Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string[])(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void SetApplicationUsersCompletedEventHandler(object sender, SetApplicationUsersCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class SetApplicationUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal SetApplicationUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
+ base(exception, cancelled, userState) {
+ this.results = results;
+ }
+
+ ///
+ public bool Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((bool)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ public delegate void CheckRDSServerAvaliableCompletedEventHandler(object sender, CheckRDSServerAvaliableCompletedEventArgs e);
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class CheckRDSServerAvaliableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+
+ private object[] results;
+
+ internal CheckRDSServerAvaliableCompletedEventArgs(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]));
}
}
}
-
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Server/DNSServer.asmx.cs b/WebsitePanel/Sources/WebsitePanel.Server/DNSServer.asmx.cs
index 89c6574a..7c15bdf7 100644
--- a/WebsitePanel/Sources/WebsitePanel.Server/DNSServer.asmx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Server/DNSServer.asmx.cs
@@ -28,6 +28,7 @@
using System;
using System.ComponentModel;
+using System.Globalization;
using System.Web.Services;
using System.Web.Services.Protocols;
using WebsitePanel.Providers;
@@ -51,6 +52,13 @@ namespace WebsitePanel.Server
get { return (IDnsServer)Provider; }
}
+ private string GetAsciiZoneName(string zoneName)
+ {
+ if (string.IsNullOrEmpty(zoneName)) return zoneName;
+ var idn = new IdnMapping();
+ return idn.GetAscii(zoneName);
+ }
+
#region Zones
[WebMethod, SoapHeader("settings")]
public bool ZoneExists(string zoneName)
@@ -58,7 +66,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' ZoneExists", ProviderSettings.ProviderName);
- bool result = DnsProvider.ZoneExists(zoneName);
+ bool result = DnsProvider.ZoneExists(GetAsciiZoneName(zoneName));
Log.WriteEnd("'{0}' ZoneExists", ProviderSettings.ProviderName);
return result;
}
@@ -92,7 +100,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' AddPrimaryZone", ProviderSettings.ProviderName);
- DnsProvider.AddPrimaryZone(zoneName, secondaryServers);
+ DnsProvider.AddPrimaryZone(GetAsciiZoneName(zoneName), secondaryServers);
Log.WriteEnd("'{0}' AddPrimaryZone", ProviderSettings.ProviderName);
}
catch (Exception ex)
@@ -108,7 +116,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' AddSecondaryZone", ProviderSettings.ProviderName);
- DnsProvider.AddSecondaryZone(zoneName, masterServers);
+ DnsProvider.AddSecondaryZone(GetAsciiZoneName(zoneName), masterServers);
Log.WriteEnd("'{0}' AddSecondaryZone", ProviderSettings.ProviderName);
}
catch (Exception ex)
@@ -124,7 +132,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' DeleteZone", ProviderSettings.ProviderName);
- DnsProvider.DeleteZone(zoneName);
+ DnsProvider.DeleteZone(GetAsciiZoneName(zoneName));
Log.WriteEnd("'{0}' DeleteZone", ProviderSettings.ProviderName);
}
catch (Exception ex)
@@ -140,7 +148,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' UpdateSoaRecord", ProviderSettings.ProviderName);
- DnsProvider.UpdateSoaRecord(zoneName, host, primaryNsServer, primaryPerson);
+ DnsProvider.UpdateSoaRecord(GetAsciiZoneName(zoneName), host, primaryNsServer, primaryPerson);
Log.WriteEnd("'{0}' UpdateSoaRecord", ProviderSettings.ProviderName);
}
catch (Exception ex)
@@ -158,7 +166,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' GetZoneRecords", ProviderSettings.ProviderName);
- DnsRecord[] result = DnsProvider.GetZoneRecords(zoneName);
+ DnsRecord[] result = DnsProvider.GetZoneRecords(GetAsciiZoneName(zoneName));
Log.WriteEnd("'{0}' GetZoneRecords", ProviderSettings.ProviderName);
return result;
}
@@ -175,7 +183,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' AddZoneRecord", ProviderSettings.ProviderName);
- DnsProvider.AddZoneRecord(zoneName, record);
+ DnsProvider.AddZoneRecord(GetAsciiZoneName(zoneName), record);
Log.WriteEnd("'{0}' AddZoneRecord", ProviderSettings.ProviderName);
}
catch (Exception ex)
@@ -191,7 +199,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' DeleteZoneRecord", ProviderSettings.ProviderName);
- DnsProvider.DeleteZoneRecord(zoneName, record);
+ DnsProvider.DeleteZoneRecord(GetAsciiZoneName(zoneName), record);
Log.WriteEnd("'{0}' DeleteZoneRecord", ProviderSettings.ProviderName);
}
catch (Exception ex)
@@ -207,7 +215,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' AddZoneRecords", ProviderSettings.ProviderName);
- DnsProvider.AddZoneRecords(zoneName, records);
+ DnsProvider.AddZoneRecords(GetAsciiZoneName(zoneName), records);
Log.WriteEnd("'{0}' AddZoneRecords", ProviderSettings.ProviderName);
}
catch (Exception ex)
@@ -223,7 +231,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' DeleteZoneRecords", ProviderSettings.ProviderName);
- DnsProvider.DeleteZoneRecords(zoneName, records);
+ DnsProvider.DeleteZoneRecords(GetAsciiZoneName(zoneName), records);
Log.WriteEnd("'{0}' DeleteZoneRecords", ProviderSettings.ProviderName);
}
catch (Exception ex)
diff --git a/WebsitePanel/Sources/WebsitePanel.Server/OperatingSystem.asmx.cs b/WebsitePanel/Sources/WebsitePanel.Server/OperatingSystem.asmx.cs
index c082133e..fbc692cb 100644
--- a/WebsitePanel/Sources/WebsitePanel.Server/OperatingSystem.asmx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Server/OperatingSystem.asmx.cs
@@ -38,6 +38,9 @@ using Microsoft.Web.Services3;
using WebsitePanel.Providers;
using WebsitePanel.Providers.OS;
using WebsitePanel.Server.Utils;
+using WebsitePanel.Providers.DNS;
+using WebsitePanel.Providers.DomainLookup;
+using System.Collections.Generic;
namespace WebsitePanel.Server
{
@@ -737,5 +740,6 @@ namespace WebsitePanel.Server
}
}
#endregion
+
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Server/RemoteDesktopServices.asmx.cs b/WebsitePanel/Sources/WebsitePanel.Server/RemoteDesktopServices.asmx.cs
index 96836db9..facdb011 100644
--- a/WebsitePanel/Sources/WebsitePanel.Server/RemoteDesktopServices.asmx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Server/RemoteDesktopServices.asmx.cs
@@ -76,6 +76,23 @@ namespace WebsitePanel.Server
}
}
+ [WebMethod, SoapHeader("settings")]
+ public bool AddRdsServersToDeployment(RdsServer[] servers)
+ {
+ try
+ {
+ Log.WriteStart("'{0}' AddRdsServersToDeployment", ProviderSettings.ProviderName);
+ var result = RDSProvider.AddRdsServersToDeployment(servers);
+ Log.WriteEnd("'{0}' AddRdsServersToDeployment", ProviderSettings.ProviderName);
+ return result;
+ }
+ catch (Exception ex)
+ {
+ Log.WriteError(String.Format("'{0}' AddRdsServersToDeployment", ProviderSettings.ProviderName), ex);
+ throw;
+ }
+ }
+
[WebMethod, SoapHeader("settings")]
public RdsCollection GetCollection(string collectionName)
{
@@ -99,7 +116,7 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' RemoveCollection", ProviderSettings.ProviderName);
- var result = RDSProvider.RemoveCollection(organizationId,collectionName);
+ var result = RDSProvider.RemoveCollection(organizationId, collectionName);
Log.WriteEnd("'{0}' RemoveCollection", ProviderSettings.ProviderName);
return result;
}
@@ -191,6 +208,22 @@ namespace WebsitePanel.Server
}
}
+ [WebMethod, SoapHeader("settings")]
+ public void SetRDServerNewConnectionAllowed(bool newConnectionAllowed, RdsServer server)
+ {
+ try
+ {
+ Log.WriteStart("'{0}' SetRDServerNewConnectionAllowed", ProviderSettings.ProviderName);
+ RDSProvider.SetRDServerNewConnectionAllowed(newConnectionAllowed, server);
+ Log.WriteEnd("'{0}' SetRDServerNewConnectionAllowed", ProviderSettings.ProviderName);
+ }
+ catch (Exception ex)
+ {
+ Log.WriteError(String.Format("'{0}' SetRDServerNewConnectionAllowed", ProviderSettings.ProviderName), ex);
+ throw;
+ }
+ }
+
[WebMethod, SoapHeader("settings")]
public List GetAvailableRemoteApplications(string collectionName)
{
@@ -326,6 +359,56 @@ namespace WebsitePanel.Server
throw;
}
}
- }
+ [WebMethod, SoapHeader("settings")]
+ public string[] GetApplicationUsers(string collectionName, string applicationName)
+ {
+ try
+ {
+ Log.WriteStart("'{0}' GetApplicationUsers", ProviderSettings.ProviderName);
+ var result = RDSProvider.GetApplicationUsers(collectionName, applicationName);
+ Log.WriteEnd("'{0}' GetApplicationUsers", ProviderSettings.ProviderName);
+ return result;
+ }
+ catch (Exception ex)
+ {
+ Log.WriteError(String.Format("'{0}' GetApplicationUsers", ProviderSettings.ProviderName), ex);
+ throw;
+ }
+ }
+
+ [WebMethod, SoapHeader("settings")]
+ public bool SetApplicationUsers(string collectionName, RemoteApplication remoteApp, string[] users)
+ {
+ try
+ {
+ Log.WriteStart("'{0}' SetApplicationUsers", ProviderSettings.ProviderName);
+ var result = RDSProvider.SetApplicationUsers(collectionName, remoteApp, users);
+ Log.WriteEnd("'{0}' SetApplicationUsers", ProviderSettings.ProviderName);
+ return result;
+ }
+ catch (Exception ex)
+ {
+ Log.WriteError(String.Format("'{0}' SetApplicationUsers", ProviderSettings.ProviderName), ex);
+ throw;
+ }
+ }
+
+ [WebMethod, SoapHeader("settings")]
+ public bool CheckRDSServerAvaliable(string hostname)
+ {
+ try
+ {
+ Log.WriteStart("'{0}' CheckRDSServerAvaliable", ProviderSettings.ProviderName);
+ var result = RDSProvider.CheckRDSServerAvaliable(hostname);
+ Log.WriteEnd("'{0}' CheckRDSServerAvaliable", ProviderSettings.ProviderName);
+ return result;
+ }
+ catch (Exception ex)
+ {
+ Log.WriteError(String.Format("'{0}' CheckRDSServerAvaliable", ProviderSettings.ProviderName), ex);
+ throw;
+ }
+ }
+ }
}
diff --git a/WebsitePanel/Sources/WebsitePanel.Server/ServiceProvider.asmx.cs b/WebsitePanel/Sources/WebsitePanel.Server/ServiceProvider.asmx.cs
index bf915d30..c517c6aa 100644
--- a/WebsitePanel/Sources/WebsitePanel.Server/ServiceProvider.asmx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Server/ServiceProvider.asmx.cs
@@ -160,6 +160,8 @@ namespace WebsitePanel.Server
try
{
Log.WriteStart("'{0}' GetServiceItemsDiskSpace", ProviderSettings.ProviderName);
+
+ if (items.Length == 0) return new ServiceProviderItemDiskSpace[] {};
return Provider.GetServiceItemsDiskSpace(UnwrapServiceProviderItems(items));
}
catch (Exception ex)
diff --git a/WebsitePanel/Sources/WebsitePanel.Server/Web.config b/WebsitePanel/Sources/WebsitePanel.Server/Web.config
index f50b8202..d9d1bde5 100644
--- a/WebsitePanel/Sources/WebsitePanel.Server/Web.config
+++ b/WebsitePanel/Sources/WebsitePanel.Server/Web.config
@@ -1,46 +1,51 @@
-
+
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
@@ -48,85 +53,85 @@
-
+
-
+
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
-
-
-
+
+
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -135,40 +140,40 @@
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.Server/WebsitePanel.Server.csproj b/WebsitePanel/Sources/WebsitePanel.Server/WebsitePanel.Server.csproj
index b21aac2d..8b1d2bb6 100644
--- a/WebsitePanel/Sources/WebsitePanel.Server/WebsitePanel.Server.csproj
+++ b/WebsitePanel/Sources/WebsitePanel.Server/WebsitePanel.Server.csproj
@@ -17,7 +17,7 @@
4.0
- v4.0
+ v3.5
false
@@ -79,7 +79,6 @@
-
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/ESModule_ControlsHierarchy.config b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/ESModule_ControlsHierarchy.config
index f2f41087..11cfba06 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/ESModule_ControlsHierarchy.config
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/ESModule_ControlsHierarchy.config
@@ -64,6 +64,7 @@
+
@@ -141,4 +142,6 @@
+
+
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/WebsitePanel_Modules.config b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/WebsitePanel_Modules.config
index b43e286a..bbdf5c2d 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/WebsitePanel_Modules.config
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/WebsitePanel_Modules.config
@@ -513,6 +513,7 @@
+
@@ -574,6 +575,8 @@
+
+
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx
index f7a9f87f..f3dc6d89 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx
@@ -5593,4 +5593,37 @@
Error creating rds collection. You need to add at least 1 rds server to collection
+
+ Resource Mailboxes per Organization
+
+
+ Shared Mailboxes per Organization
+
+
+ (room mailbox)
+
+
+ (shared mailbox)
+
+
+ (equipment mailbox)
+
+
+ Domain information has been successfully updated.
+
+
+ Web site has been successfully updated.
+
+
+ Check MX and NS on DNS servers
+
+
+ Check domain expiration date
+
+
+ You cannot use a IDN domain name for mail
+
+
+ You cannot use a IDN domain name for organizations
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Images/Exchange/shared_16.gif b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Images/Exchange/shared_16.gif
new file mode 100644
index 00000000..17af30c4
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Images/Exchange/shared_16.gif differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Styles/Skin.css b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Styles/Skin.css
index 68a8e7e1..36f2ac89 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Styles/Skin.css
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Styles/Skin.css
@@ -237,6 +237,7 @@ A.Black {color: Black !important; text-decoration: none !important;}
.RedStatus {background-image: url(error_bkg.gif); background-repeat: repeat-x;font-size: 8pt; font-weight: bold; color: White; background-color: #ff3300; text-align: center; padding: 6px;}
.MessageBox SPAN.description {font-weight: normal !important;}
.MessageBox .TechnicalDetails {padding-top: 4px; font-weight: normal !important;}
+.TechnicalDetailsTable {background-color: #FFFFFF; color: #222; }
.MessageBoxSection {font-size: 8pt; font-weight: bold;}
.popupHint {border: 2px solid #C4D6BB;padding: 3px; background-color: #F1F1FF;}
.popupComments {border: 2px solid #C4D6BB;font-size: 9px; padding: 3px; background-color: #F1F1FF;}
@@ -291,4 +292,5 @@ UL.ActionButtons LI {margin-bottom: 12px;}
.enabled {width:20px; height:20px; background: transparent url(../Icons/ok.png) left center no-repeat; border:medium none;}
p.warningText {font-size:14px; color:Red; text-align:center;}
.Hidden {display: none;}
-.LinkText {color:#428bca;}
\ No newline at end of file
+.LinkText {color:#428bca;}
+.WrapText { white-space: normal;}
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/Domains.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/Domains.ascx.resx
index c48860e6..e6e8c79a 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/Domains.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/Domains.ascx.resx
@@ -112,10 +112,10 @@
2.0
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Add New Domain
@@ -198,4 +198,25 @@
Type
+
+ Expired
+
+
+ Unknown
+
+
+ Expiration Date
+
+
+ Not Checked
+
+
+ Non-Existent
+
+
+ Current Real DNS Values
+
+
+ Registrar:
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/DomainsAddDomain.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/DomainsAddDomain.ascx.resx
index 2389512c..c05e907e 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/DomainsAddDomain.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/DomainsAddDomain.ascx.resx
@@ -144,18 +144,6 @@
Tick this checkbox if DNS zone for this domain will be located on name servers of your hosting provider. Make sure you changed name servers in the domain registrar control panel.
-
- Please, enter correct domain name, for example "mydomain.com" or "sub.mydomain.com".
-
-
- *
-
-
- Please enter domain name
-
-
- *
-
Enable DNS
@@ -168,18 +156,6 @@
Assign to existing Web Site
-
- Please, enter correct sub-domain name, for example "subdomain" or "sub.subdomain".
-
-
- *
-
-
- Please enter sub-domain name
-
-
- *
-
Hostname:
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/DomainsEditDomain.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/DomainsEditDomain.ascx.resx
index f9ef6f4f..72437c36 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/DomainsEditDomain.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/DomainsEditDomain.ascx.resx
@@ -112,24 +112,18 @@
2.0
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- Save
-
-
- Cancel
-
Delete
if(!confirm('Do you really want to delete this domain?')) return false;ShowProgressDialog('Deleting domain...');
-
+
ShowProgressDialog('Updating Domain...');
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsDomainExpirationLetter.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsDomainExpirationLetter.ascx.resx
new file mode 100644
index 00000000..c0e9bcb8
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsDomainExpirationLetter.ascx.resx
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ High
+
+
+ Low
+
+
+ Normal
+
+
+ CC:
+
+
+ From:
+
+
+ HTML Body:
+
+
+ Priority:
+
+
+ Subject:
+
+
+ Text Body:
+
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsDomainLookupLetter.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsDomainLookupLetter.ascx.resx
new file mode 100644
index 00000000..ba4e8616
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsDomainLookupLetter.ascx.resx
@@ -0,0 +1,153 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ High
+
+
+ Low
+
+
+ Normal
+
+
+ CC:
+
+
+ From:
+
+
+ HTML Body:
+
+
+ No Changes HTML Body:
+
+
+ No Changes Text Body:
+
+
+ Priority:
+
+
+ Subject:
+
+
+ Text Body:
+
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserAccountMailTemplateSettings.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserAccountMailTemplateSettings.ascx.resx
index 61f11639..fddd4fbc 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserAccountMailTemplateSettings.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserAccountMailTemplateSettings.ascx.resx
@@ -112,10 +112,10 @@
2.0
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Cancel
@@ -141,4 +141,10 @@
VPS Summary Letter
+
+ Domain Expiration Letter
+
+
+ Domain MX and NS Letter
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/WebSitesEditSite.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/WebSitesEditSite.ascx.resx
index 7ef313a2..21e1cb0e 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/WebSitesEditSite.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/WebSitesEditSite.ascx.resx
@@ -132,9 +132,6 @@
Create Directory
-
- Cancel
-
Change Password
@@ -150,12 +147,9 @@
Uninstall
-
+
ShowProgressDialog('Updating web site...');
-
- Update
-
Continue Web Site
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Framework/Utils.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Framework/Utils.cs
index 0a33b5a7..186614a1 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Framework/Utils.cs
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Framework/Utils.cs
@@ -159,7 +159,7 @@ namespace WebsitePanel.Portal
foreach (string part in parts)
if (part.Trim() != "" && !list.Contains(part.Trim()))
list.Add(part);
- return (string[])list.ToArray(typeof(string));
+ return (string[]) list.ToArray(typeof (string));
}
public static string ReplaceStringVariable(string str, string variable, string value)
@@ -172,7 +172,7 @@ namespace WebsitePanel.Portal
{
long length = stream.Length;
byte[] content = new byte[length];
- stream.Read(content, 0, (int)length);
+ stream.Read(content, 0, (int) length);
stream.Close();
return content;
}
@@ -231,7 +231,7 @@ namespace WebsitePanel.Portal
selValues.Add(item.Value);
}
- string cookieVal = String.Join(",", (string[])selValues.ToArray(typeof(string)));
+ string cookieVal = String.Join(",", (string[]) selValues.ToArray(typeof (string)));
// create cookie
HttpCookie cookie = new HttpCookie(ctrl.UniqueID, cookieVal);
@@ -251,7 +251,7 @@ namespace WebsitePanel.Portal
foreach (ListItem item in ctrl.Items)
item.Selected = false;
- string[] vals = cookie.Value.Split(new char[] { ',' });
+ string[] vals = cookie.Value.Split(new char[] {','});
foreach (string val in vals)
{
ListItem item = ctrl.Items.FindByValue(val);
@@ -278,9 +278,9 @@ namespace WebsitePanel.Portal
// Convert 4 bytes into a 32-bit integer value.
int seed = (randomBytes[0] & 0x7f) << 24 |
- randomBytes[1] << 16 |
- randomBytes[2] << 8 |
- randomBytes[3];
+ randomBytes[1] << 16 |
+ randomBytes[2] << 8 |
+ randomBytes[3];
Random rnd = new Random(seed);
@@ -294,17 +294,38 @@ namespace WebsitePanel.Portal
public static bool CheckQouta(string key, PackageContext cntx)
{
return cntx.Quotas.ContainsKey(key) &&
- ((cntx.Quotas[key].QuotaAllocatedValue == 1 && cntx.Quotas[key].QuotaTypeId == 1) ||
- (cntx.Quotas[key].QuotaTypeId != 1 && (cntx.Quotas[key].QuotaAllocatedValue > 0 || cntx.Quotas[key].QuotaAllocatedValue == -1)));
+ ((cntx.Quotas[key].QuotaAllocatedValue == 1 && cntx.Quotas[key].QuotaTypeId == 1) ||
+ (cntx.Quotas[key].QuotaTypeId != 1 && (cntx.Quotas[key].QuotaAllocatedValue > 0 || cntx.Quotas[key].QuotaAllocatedValue == -1)));
}
public static bool CheckQouta(string key, HostingPlanContext cntx)
{
return cntx.Quotas.ContainsKey(key) &&
- ((cntx.Quotas[key].QuotaAllocatedValue == 1 && cntx.Quotas[key].QuotaTypeId == 1) ||
- (cntx.Quotas[key].QuotaTypeId != 1 && (cntx.Quotas[key].QuotaAllocatedValue > 0 || cntx.Quotas[key].QuotaAllocatedValue == -1)));
+ ((cntx.Quotas[key].QuotaAllocatedValue == 1 && cntx.Quotas[key].QuotaTypeId == 1) ||
+ (cntx.Quotas[key].QuotaTypeId != 1 && (cntx.Quotas[key].QuotaAllocatedValue > 0 || cntx.Quotas[key].QuotaAllocatedValue == -1)));
}
+ public static bool IsIdnDomain(string domainName)
+ {
+ if (string.IsNullOrEmpty(domainName))
+ {
+ return false;
+ }
+
+ var idn = new IdnMapping();
+ return idn.GetAscii(domainName) != domainName;
+ }
+
+ public static string UnicodeToAscii(string domainName)
+ {
+ if (string.IsNullOrEmpty(domainName))
+ {
+ return string.Empty;
+ }
+
+ var idn = new IdnMapping();
+ return idn.GetAscii(domainName);
+ }
}
}
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/RDSHelper.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/RDSHelper.cs
index f8197414..8b8f8f72 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/RDSHelper.cs
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/Helpers/RDSHelper.cs
@@ -66,7 +66,7 @@ namespace WebsitePanel.Portal
public RdsServer[] GetOrganizationRdsServersPaged(int itemId, int maximumRows, int startRowIndex, string sortColumn, string filterValue)
{
- rdsServers = ES.Services.RDS.GetOrganizationRdsServersPaged(itemId, "", filterValue, sortColumn, startRowIndex, maximumRows);
+ rdsServers = ES.Services.RDS.GetOrganizationRdsServersPaged(itemId, null, "", filterValue, sortColumn, startRowIndex, maximumRows);
return rdsServers.Servers;
}
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/DnsZoneRecords.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/DnsZoneRecords.ascx.cs
index 1f323332..d9b78d01 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/DnsZoneRecords.ascx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/DnsZoneRecords.ascx.cs
@@ -30,6 +30,7 @@ using System;
using System.Data;
using System.Configuration;
using System.Collections;
+using System.Globalization;
using System.Web;
using System.Web.Security;
using System.Web.UI;
@@ -57,6 +58,10 @@ namespace WebsitePanel.Portal
// domain name
DomainInfo domain = ES.Services.Servers.GetDomain(PanelRequest.DomainID);
litDomainName.Text = domain.DomainName;
+ if (Utils.IsIdnDomain(domain.DomainName))
+ {
+ litDomainName.Text = string.Format("{0} ({1})", Utils.UnicodeToAscii(domain.DomainName), domain.DomainName);
+ }
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Domains.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Domains.ascx
index 30250fd8..fd5adb81 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Domains.ascx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Domains.ascx
@@ -25,7 +25,7 @@
CssSelectorClass="NormalGridView" AllowPaging="True" OnRowCommand="gvDomains_RowCommand">
-
+
@@ -37,6 +37,20 @@