File tree 3 files changed +9
-8
lines changed
3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ public class ServerResource : Resource
14
14
15
15
public string Product
16
16
{
17
- // Azure SQL DB and Azure SQL DW don't support the ' Product' property
17
+ // Azure SQL DB and Azure SQL DW don't support the SMO Product' property
18
18
get
19
19
{
20
- string retVal = "Unknown " ;
20
+ string retVal = "Not Available " ;
21
21
if ( this . SmoServer . ServerType == SMOCommon . DatabaseEngineType . Standalone )
22
22
{
23
23
retVal = this . SmoServer . Product ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public static int Main(string[] args)
27
27
28
28
try
29
29
{
30
- Log . Information ( "*** REST API middle-tier for SQL Server" ) ;
30
+ Log . Information ( "*** REST API for SQL Server, Azure SQL Database and Azure SQL Data Warehouse. " ) ;
31
31
TestSqlServerConnection ( ) ;
32
32
StartWebHost ( ) ;
33
33
return 0 ;
Original file line number Diff line number Diff line change 15
15
16
16
docker pull sanagama/mssql-restapi
17
17
18
- MSSQL_HOST=" <server>.database.windows.net" \
19
- MSSQL_PORT=" 1433" \
20
- MSSQL_USERNAME=" <username>" \
21
- MSSQL_PASSWORD=" <password>" \
22
- docker run -it --name ' mssql-restapi' -p 5000:5000 sanagama/mssql-restapi
18
+ docker run -it -p 5000:5000 \
19
+ -e MSSQL_HOST=" <server>.database.windows.net" \
20
+ -e MSSQL_PORT=" 1433" \
21
+ -e MSSQL_USERNAME=" <username>" \
22
+ -e MSSQL_PASSWORD=" <password>" \
23
+ sanagama/mssql-restapi
You can’t perform that action at this time.
0 commit comments