public static void GetEdgeServerPostAction(DataRow inputRow, DataTable dataTable, DataObjectStore store, PowerShellResults[] results) { inputRow["ServerRole"] = "Edge"; ServerProperties.GetListPostAction(inputRow, dataTable, store); if (dataTable.Rows.Count == 0 && results != null && results.Length == 1 && results[0].Succeeded) { DDIUtil.InsertError(results[0], Strings.NoEdgeServerFound); } }
public static void GetServerListPostAction(DataRow inputRow, DataTable dataTable, DataObjectStore store) { inputRow["MaxMajorVersion"] = "15"; inputRow["MinMajorVersion"] = "15"; inputRow["ServerRole"] = ServerRole.ClientAccess.ToString() + "," + ServerRole.Mailbox.ToString(); store.SetModifiedColumns(new List <string> { "MaxMajorVersion", "MinMajorVersion", "ServerRole" }); ServerProperties.GetListPostAction(inputRow, dataTable, store); }