Checking RDS servers in existing collections by powershell
This commit is contained in:
parent
11b34629c2
commit
c341c7f58e
11 changed files with 226 additions and 22 deletions
|
@ -410,5 +410,22 @@ namespace WebsitePanel.Server
|
|||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
[WebMethod, SoapHeader("settings")]
|
||||
public List<string> GetServersExistingInCollections()
|
||||
{
|
||||
try
|
||||
{
|
||||
Log.WriteStart("'{0}' GetServersExistingInCollections", ProviderSettings.ProviderName);
|
||||
var result = RDSProvider.GetServersExistingInCollections();
|
||||
Log.WriteEnd("'{0}' GetServersExistingInCollections", ProviderSettings.ProviderName);
|
||||
return result;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.WriteError(String.Format("'{0}' GetServersExistingInCollections", ProviderSettings.ProviderName), ex);
|
||||
throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue