merge commit, remote desktop services adjusted to new code structure
This commit is contained in:
parent
03e9c7f3b6
commit
09bd65878e
4 changed files with 2003 additions and 1891 deletions
|
@ -1440,3 +1440,39 @@ WHERE T.Guid = (
|
|||
WHERE ScheduleID = @ScheduleID
|
||||
AND Completed = 0 AND Status IN (1, 3))
|
||||
GO
|
||||
|
||||
|
||||
-------------------------------- Remote Desktop Services ------------------------------------------------------
|
||||
|
||||
IF NOT EXISTS (SELECT * FROM [dbo].[ResourceGroups] WHERE [GroupName] = 'Remote Desktop Services')
|
||||
BEGIN
|
||||
INSERT [dbo].[ResourceGroups] ([GroupID], [GroupName], [GroupOrder], [GroupController], [ShowGroup]) VALUES (43, N'RemoteDesktopServices', 24, N'WebsitePanel.EnterpriseServer.RemoteDesktopServicesController', 1)
|
||||
END
|
||||
GO
|
||||
|
||||
IF NOT EXISTS (SELECT * FROM [dbo].[Providers] WHERE [DisplayName] = 'Remote Desktop Windows 2012')
|
||||
BEGIN
|
||||
INSERT [dbo].[Providers] ([ProviderId], [GroupId], [ProviderName], [DisplayName], [ProviderType], [EditorControl], [DisableAutoDiscovery]) VALUES(500, 43, N'RemoteDesktop2012', N'Remote Desktop Services Windows 2012', N'WebsitePanel.Providers.RemoteDesktopServices.Windows2012, WebsitePanel.Providers.RemoteDesktopServices.Windows2012', N'RemoteDesktopServices', 1)
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
UPDATE [dbo].[Providers] SET [DisableAutoDiscovery] = NULL WHERE [DisplayName] = 'Remote Desktop Windows 2012'
|
||||
END
|
||||
GO
|
||||
|
||||
IF NOT EXISTS (SELECT * FROM [dbo].[ResourceGroups] WHERE [GroupName] = 'Enterprise Storage')
|
||||
BEGIN
|
||||
INSERT [dbo].[ResourceGroups] ([GroupID], [GroupName], [GroupOrder], [GroupController], [ShowGroup]) VALUES (44, N'EnterpriseStorage', 25, N'WebsitePanel.EnterpriseServer.EnterpriseStorageController', 1)
|
||||
END
|
||||
GO
|
||||
|
||||
IF NOT EXISTS (SELECT * FROM [dbo].[Providers] WHERE [DisplayName] = 'Enterprise Storage Windows 2012')
|
||||
BEGIN
|
||||
INSERT [dbo].[Providers] ([ProviderId], [GroupId], [ProviderName], [DisplayName], [ProviderType], [EditorControl], [DisableAutoDiscovery]) VALUES(600, 44, N'EnterpriseStorage2012', N'Enterprise Storage Windows 2012', N'WebsitePanel.Providers.EnterpriseStorage.Windows2012, WebsitePanel.Providers.EnterpriseStorage.Windows2012', N'EnterpriseStorage', 1)
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
UPDATE [dbo].[Providers] SET [DisableAutoDiscovery] = NULL WHERE [DisplayName] = 'Enterprise Storage Windows 2012'
|
||||
END
|
||||
GO
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -129,6 +129,7 @@
|
|||
<Compile Include="Provisioning\IImportController.cs" />
|
||||
<Compile Include="Provisioning\ImportAsyncWorker.cs" />
|
||||
<Compile Include="Provisioning\ImportController.cs" />
|
||||
<Compile Include="RemoteDesktopServices\RemoteDesktopServicesController.cs" />
|
||||
<Compile Include="SchedulerTasks\ActivatePaidInvoicesTask.cs" />
|
||||
<Compile Include="SchedulerTasks\BackupDatabaseTask.cs" />
|
||||
<Compile Include="SchedulerTasks\BackupTask.cs" />
|
||||
|
|
|
@ -123,7 +123,6 @@
|
|||
<Compile Include="..\VersionInfo.cs">
|
||||
<Link>VersionInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Code\RemoteDesktopServices\RemoteDesktopServicesController.cs" />
|
||||
<Compile Include="esEnterpriseStorage.asmx.cs">
|
||||
<DependentUpon>esEnterpriseStorage.asmx</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
|
@ -291,6 +290,9 @@
|
|||
<None Include="TaskEventHandlers.config" />
|
||||
<None Include="WsePolicyCache.Config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Code\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue