-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDeployModel.cs
More file actions
41 lines (34 loc) · 971 Bytes
/
DeployModel.cs
File metadata and controls
41 lines (34 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReportDeploy
{
[Serializable]
public class DeployModel
{
public List<Server> Servers { get; set; }
public List<Corp> Corps { get; set; }
}
public class Server
{
public const string ServerPath = "/ReportServer/ReportService2010.asmx";
public string ServerName { get; set; }
private string _serverUrl;
public string ServerUrl
{
get { return _serverUrl; }
set { _serverUrl = "http://" + value + ServerPath; }
}
public string UserName { get; set; }
public string Password { get; set; }
}
public class Corp
{
public string CorpId { get; set; }
public string CorpName { get; set; }
public string ServerName { get; set; }
public string DefaultPath { get; set; }
}
}